Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-structlog: new port, version 18.1.0
- 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |