[107284] trunk/dports/python/py-polygon/Portfile
jmr at macports.org
jmr at macports.org
Mon Jun 24 20:02:55 PDT 2013
Revision: 107284
https://trac.macports.org/changeset/107284
Author: jmr at macports.org
Date: 2013-06-24 20:02:55 -0700 (Mon, 24 Jun 2013)
Log Message:
-----------
py-polygon: correct license, remove unused setuptools dep, disable livecheck in subports
Modified Paths:
--------------
trunk/dports/python/py-polygon/Portfile
Modified: trunk/dports/python/py-polygon/Portfile
===================================================================
--- trunk/dports/python/py-polygon/Portfile 2013-06-25 02:52:28 UTC (rev 107283)
+++ trunk/dports/python/py-polygon/Portfile 2013-06-25 03:02:55 UTC (rev 107284)
@@ -8,7 +8,7 @@
version 2.0.5
revision 0
categories-append devel math
-license LGPL
+license LGPL Noncommercial
platforms darwin
maintainers stromnov openmaintainer
@@ -24,18 +24,17 @@
homepage http://www.j-raedler.de/projects/polygon
master_sites https://github.com/jraedler/Polygon2/downloads
distname Polygon-${version}
-use_zip yes
checksums rmd160 6593a9ea0c8b25cab29c9cbaaf5d37230364b32d \
sha256 e0a111559eee27c8aee455cca6a1c5480a593ad5b0c11719a5cf066867d7a465
python.versions 25 26 27
-patchfiles-append patch-setup.py.diff
-
if {$subport != $name} {
- depends_lib-append port:py${python.version}-setuptools
+ use_zip yes
+ patchfiles-append patch-setup.py.diff
+
variant numpy description {Build with NumPy support} {
depends_lib-append port:py${python.version}-numpy
patchfiles-append patch-setup.py-numpy.diff
@@ -47,8 +46,9 @@
Examples.py Polygon.txt testpoly.gpf \
${destroot}${prefix}/share/doc/${subport}
}
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${master_sites}
+ livecheck.regex "Polygon-(2+(?:\\.\\d+)*)${extract.suffix}"
}
-
-livecheck.type regex
-livecheck.url ${master_sites}
-livecheck.regex "Polygon-(2+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130624/839a1084/attachment-0001.html>
More information about the macports-changes
mailing list