Permalink
Browse files
py-rfc3339: update to 6.0, add py37
- add noarch
- enable tests
- Loading branch information
Showing
with
21 additions
and
10 deletions.
-
+21
−10
python/py-rfc3339/Portfile
|
|
@@ -4,20 +4,31 @@ PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
|
|
|
name py-rfc3339 |
|
|
set real_name rfc3339 |
|
|
version 5 |
|
|
python.versions 27 |
|
|
version 6.0 |
|
|
revision 0 |
|
|
maintainers nomaintainer |
|
|
license ISCL |
|
|
description Formats dates according to the RFC 3339. |
|
|
long_description \ |
|
|
${description} |
|
|
long_description ${description} |
|
|
|
|
|
platforms darwin |
|
|
supported_archs noarch |
|
|
|
|
|
homepage https://pypi.python.org/pypi/${real_name}/ |
|
|
master_sites pypi:r/${real_name} |
|
|
distname ${real_name}-${version} |
|
|
homepage https://bitbucket.org/henry/rfc3339 |
|
|
master_sites pypi:r/${python.rootname} |
|
|
distname ${python.rootname}-${version} |
|
|
|
|
|
checksums rmd160 0a79a0a39ab859460145ad7823bc4e941c383645 \ |
|
|
sha256 a57c4ca95e1faab2ed717daab7659f9bf3dda9ec80698b41f011211dad58fa21 |
|
|
checksums rmd160 ef533ed00ea11e6a23cfaedda7cebc5821ca5579 \ |
|
|
sha256 589c8b8cab8a35f85313cb80f1b0b0b3ca16a527f354beadb59882fd4473f187 \ |
|
|
size 4096 |
|
|
|
|
|
python.versions 27 37 |
|
|
|
|
|
if {${subport} ne ${name}} { |
|
|
test.run yes |
|
|
test.cmd ${python.bin} rfc3339.py |
|
|
test.target |
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib |
|
|
|
|
|
livecheck.type none |
|
|
} |