Skip to content

Commit

Permalink
py-structlog: new port, version 18.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Chih-Hsuan Yen committed Jun 8, 2018
1 parent 37ff64f commit 5a014ec
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions python/py-structlog/Portfile
@@ -0,0 +1,43 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup python 1.0

name py-structlog
version 18.1.0
platforms darwin
license MIT Apache-2
maintainers {yan12125 @yan12125} openmaintainer

description Structured Logging for Python
long_description ${description}

homepage http://www.structlog.org/
master_sites pypi:s/structlog
distname structlog-${version}

checksums rmd160 e726ab73e8ff3a2d985bed89c2cba643ea3a8d98 \
sha256 ff1e7aae015b346060c03b1cc4a1f29d428de7d858eaf06ea93ee35ac51071a0 \
size 317033

python.versions 27 36

if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools

depends_lib-append port:py${python.version}-six

depends_test-append port:py${python.version}-pytest \
port:py${python.version}-freezegun \
port:py${python.version}-pretend \
port:py${python.version}-twisted

test.run yes
test.cmd py.test-${python.branch}
test.target

livecheck.type none
} else {
livecheck.type pypi
}

0 comments on commit 5a014ec

Please sign in to comment.