[106399] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri May 24 15:29:18 PDT 2013
Revision: 106399
https://trac.macports.org/changeset/106399
Author: jmr at macports.org
Date: 2013-05-24 15:29:18 -0700 (Fri, 24 May 2013)
Log Message:
-----------
py*-hypy: unify, set license
Modified Paths:
--------------
trunk/dports/python/py-hypy/Portfile
Added Paths:
-----------
trunk/dports/python/py-hypy/
Removed Paths:
-------------
trunk/dports/python/py25-hypy/
trunk/dports/python/py26-hypy/
Modified: trunk/dports/python/py-hypy/Portfile
===================================================================
--- trunk/dports/python/py25-hypy/Portfile 2013-05-24 20:47:31 UTC (rev 106396)
+++ trunk/dports/python/py-hypy/Portfile 2013-05-24 22:29:18 UTC (rev 106399)
@@ -1,11 +1,12 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python 1.0
-name py25-hypy
+name py-hypy
version 0.8.3
categories-append textproc
+license LGPL-2.1
maintainers nomaintainer
description Fulltext search interface for Python applications
long_description \
@@ -22,21 +23,26 @@
sha1 0dcae455fbc993b4663beb66e32423679fade4cf \
rmd160 5f247d4f410aa0d2dbff0fc6268724865955d9a4
-depends_build port:py25-distribute
-depends_lib-append port:hyperestraier
+python.versions 25 26
-patchfiles patch-setup.py.diff
-post-patch {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
- reinplace "s|VERSION_NOT_FOUND|${version}|" ${worksrcpath}/setup.py
-}
+if {$subport != $name} {
+ depends_build port:py${python.version}-distribute
+ depends_lib-append port:hyperestraier
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} README.txt \
- ${destroot}${prefix}/share/doc/${name}
+ patchfiles patch-setup.py.diff
+ post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+ reinplace "s|VERSION_NOT_FOUND|${version}|" ${worksrcpath}/setup.py
+ }
+
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${master_sites}
+ livecheck.regex {Hypy-([0-9.]+)\.tar\.gz}
}
-
-livecheck.type regex
-livecheck.url ${master_sites}
-livecheck.regex {Hypy-([0-9.]+)\.tar\.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130524/f1ce2738/attachment.html>
More information about the macports-changes
mailing list