[128180] trunk/dports/python/py-aniso8601/Portfile
petr at macports.org
petr at macports.org
Sat Nov 15 16:20:07 PST 2014
Revision: 128180
https://trac.macports.org/changeset/128180
Author: petr at macports.org
Date: 2014-11-15 16:20:07 -0800 (Sat, 15 Nov 2014)
Log Message:
-----------
py-aniso8601: fix livecheck for subports
Modified Paths:
--------------
trunk/dports/python/py-aniso8601/Portfile
Modified: trunk/dports/python/py-aniso8601/Portfile
===================================================================
--- trunk/dports/python/py-aniso8601/Portfile 2014-11-15 23:43:46 UTC (rev 128179)
+++ trunk/dports/python/py-aniso8601/Portfile 2014-11-16 00:20:07 UTC (rev 128180)
@@ -5,15 +5,12 @@
PortGroup python 1.0
name py-aniso8601
-python.versions 27 34
version 0.82
-checksums rmd160 309d4f27849d9db327f66f7911bae56b5bea57fa \
- sha256 e33ffc4ff6882e6a318c07844e346cd6160abe2f48cc2e797d2fe5f36364789e
categories-append devel textproc
platforms darwin
+license BSD
maintainers nomaintainer
-license BSD
description A library for parsing ISO 8601 strings
long_description ${description}
@@ -21,13 +18,19 @@
master_sites http://pypi.python.org/packages/source/a/aniso8601/
distname aniso8601-${version}
+checksums rmd160 309d4f27849d9db327f66f7911bae56b5bea57fa \
+ sha256 e33ffc4ff6882e6a318c07844e346cd6160abe2f48cc2e797d2fe5f36364789e
+
+python.versions 27 34
+
if {${name} ne ${subport}} {
- depends_build-append \
- port:py${python.version}-setuptools
+ depends_build-append port:py${python.version}-setuptools
- livecheck.type none
+ livecheck.type none
+ # work-arround for missing homepage
+ livecheck.url
} else {
- livecheck.type regex
- livecheck.url ${master_sites}
- livecheck.regex "aniso8601-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+ livecheck.type regex
+ livecheck.url ${master_sites}
+ livecheck.regex "aniso8601-(\\d+(?:\\.\\d+)*)${extract.suffix}"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141115/ecf02fab/attachment.html>
More information about the macports-changes
mailing list