[110062] trunk/dports/python/py-logilab-astng/Portfile
stromnov at macports.org
stromnov at macports.org
Sun Aug 25 13:49:00 PDT 2013
Revision: 110062
https://trac.macports.org/changeset/110062
Author: stromnov at macports.org
Date: 2013-08-25 13:48:59 -0700 (Sun, 25 Aug 2013)
Log Message:
-----------
py-logilab-astng: reformat
Modified Paths:
--------------
trunk/dports/python/py-logilab-astng/Portfile
Modified: trunk/dports/python/py-logilab-astng/Portfile
===================================================================
--- trunk/dports/python/py-logilab-astng/Portfile 2013-08-25 19:58:49 UTC (rev 110061)
+++ trunk/dports/python/py-logilab-astng/Portfile 2013-08-25 20:48:59 UTC (rev 110062)
@@ -5,14 +5,15 @@
PortGroup python 1.0
name py-logilab-astng
-if {$subport != "py24-logilab-astng"} {
- version 0.24.1
-} else {
- epoch 1
- version 0.20.1
-}
+version 0.24.1
+revision 0
+categories-append devel
platforms darwin
+license LGPL-2.1+
+supported_archs noarch
+python.versions 24 25 26 27
+
maintainers dh openmaintainer stromnov
description Python Abstract Syntax Tree New Generation
@@ -27,23 +28,26 @@
master_sites http://ftp.logilab.org/pub/astng \
ftp://ftp.logilab.fr/pub/astng
-license LGPL-2.1+
-
distname logilab-astng-${version}
-if {$subport != "py24-logilab-astng"} {
- checksums md5 b9c80fe2da8c7bfcd684de1cd041ce6e \
- sha1 067922aed15f3d3025c04e6532c65c420ed86497 \
- rmd160 9e7500ffc4a6766aa7ce23bb384cf271ddde7903
-} else {
- checksums md5 bd9612c3d6225346050347ac13b0e4c6 \
- sha1 ac4a7fc9c098393fd207eb2165b470b25ecb6f55 \
- rmd160 add5f8d561617313762f79ddca9728ab8a11eed6
+checksums rmd160 9e7500ffc4a6766aa7ce23bb384cf271ddde7903 \
+ sha256 1a74756df0a8291225f77206dd275c8f309a480eb417b1b99d1aa0ae74571d03
+
+if {$subport == "py24-logilab-astng"} {
+ epoch 1
+ version 0.20.1
+ revision 0
+ distname logilab-astng-${version}
+ checksums rmd160 add5f8d561617313762f79ddca9728ab8a11eed6 \
+ sha256 5483499402e227db5f3d232d6e109605d42a37995032fed43413939b378db31e
}
-python.versions 24 25 26 27
+if {$subport != $name} {
+ depends_build-append \
+ port:py${python.version}-setuptools
-if {$subport != $name} {
+ depends_lib-append port:py${python.version}-logilab-common
+
# Fix files not being world-readable.
post-extract {
foreach f [exec find ${workpath}] {
@@ -51,8 +55,6 @@
}
}
- depends_lib-append port:py${python.version}-logilab-common
-
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} ChangeLog README \
@@ -60,7 +62,7 @@
file delete ${destroot}${python.pkgd}/logilab/__init__.py
}
} else {
+ livecheck.type regex
livecheck.url http://ftp.logilab.org/pub/astng/
- livecheck.type regex
- livecheck.regex {logilab-astng-(\d+(?:\.\d+)*)\.tar\.gz}
+ livecheck.regex {logilab-astng-(\d+(?:\.\d+)*)\.[tz]}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130825/c19bce1d/attachment-0001.html>
More information about the macports-changes
mailing list