[106114] trunk/dports/python
jmr at macports.org
jmr at macports.org
Wed May 15 05:21:37 PDT 2013
Revision: 106114
https://trac.macports.org/changeset/106114
Author: jmr at macports.org
Date: 2013-05-15 05:21:37 -0700 (Wed, 15 May 2013)
Log Message:
-----------
py*-quadtree: unify, set license
Modified Paths:
--------------
trunk/dports/python/py-quadtree/Portfile
Added Paths:
-----------
trunk/dports/python/py-quadtree/
Removed Paths:
-------------
trunk/dports/python/py25-quadtree/
trunk/dports/python/py26-quadtree/
Modified: trunk/dports/python/py-quadtree/Portfile
===================================================================
--- trunk/dports/python/py25-quadtree/Portfile 2013-05-15 08:26:21 UTC (rev 106113)
+++ trunk/dports/python/py-quadtree/Portfile 2013-05-15 12:21:37 UTC (rev 106114)
@@ -2,11 +2,12 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python 1.0
-name py25-quadtree
+name py-quadtree
version 0.1.2
revision 1
+license BSD MIT
platforms darwin
maintainers mcalhoun openmaintainer
description Quadtree
@@ -29,18 +30,23 @@
sha1 be2cdbe1322e381fd4f333d570462a3767bfeb7c \
rmd160 dd32d7bca2acbd3295a407a7d3f5e40c994821d3
-depends_build port:py25-distribute
+python.versions 25 26
-# See http://trac.gispython.org/lab/ticket/110
-patchfiles patch-quadtree-_treemodule.c.diff
+if {$subport != $name} {
+ depends_build port:py${python.version}-distribute
-post-destroot {
- xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
- eval xinstall -m 644 ${worksrcpath}/PKG-INFO \
- [glob ${worksrcpath}/*.txt] \
- ${destroot}${prefix}/share/doc/${name}
+ # See http://trac.gispython.org/lab/ticket/110
+ patchfiles patch-quadtree-_treemodule.c.diff
+
+ post-destroot {
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}
+ eval xinstall -m 644 ${worksrcpath}/PKG-INFO \
+ [glob ${worksrcpath}/*.txt] \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url "http://pypi.python.org/packages/source/Q/Quadtree/?C=M;O=D"
+ livecheck.regex Quadtree-(\\d+(?:\\.\\d+)*)${extract.suffix}
}
-
-livecheck.type regex
-livecheck.url "http://pypi.python.org/packages/source/Q/Quadtree/?C=M;O=D"
-livecheck.regex Quadtree-(\\d+(?:\\.\\d+)*)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130515/d13db284/attachment.html>
More information about the macports-changes
mailing list