[125817] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri Sep 26 18:46:35 PDT 2014
Revision: 125817
https://trac.macports.org/changeset/125817
Author: jmr at macports.org
Date: 2014-09-26 18:46:35 -0700 (Fri, 26 Sep 2014)
Log Message:
-----------
py26-scikits-talkbox: use unified python portgroup
Modified Paths:
--------------
trunk/dports/python/py-scikits-talkbox/Portfile
Added Paths:
-----------
trunk/dports/python/py-scikits-talkbox/
Removed Paths:
-------------
trunk/dports/python/py26-scikits-talkbox/
Modified: trunk/dports/python/py-scikits-talkbox/Portfile
===================================================================
--- trunk/dports/python/py26-scikits-talkbox/Portfile 2014-09-26 22:01:25 UTC (rev 125815)
+++ trunk/dports/python/py-scikits-talkbox/Portfile 2014-09-27 01:46:35 UTC (rev 125817)
@@ -2,9 +2,9 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-scikits-talkbox
+name py-scikits-talkbox
version 0.2.5
maintainers nomaintainer
license MIT
@@ -16,23 +16,27 @@
platforms darwin
homepage http://scikits.appspot.com/talkbox
-master_sites http://pypi.python.org/packages/source/s/scikits.talkbox/
+master_sites https://pypi.python.org/packages/source/s/scikits.talkbox/
distname scikits.talkbox-${version}
checksums md5 8d64926345608ed4721bed7e92db2ae8 \
sha1 358a8927611b167bfbbd068789235ba2891eb13b \
rmd160 0cbea977af22611131dd09423a5f7dbb1b9e5a03
-depends_lib port:py26-scipy
+python.versions 26
-# py26-scipy is not universal
-universal_variant no
+if {$subport ne $name} {
+ depends_lib port:py${python.version}-scipy
-livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex <i>version (.*)</i>
+ # py*-scipy is not universal
+ universal_variant no
-post-destroot {
- # scikits/__init__.py is provided by scikits-module
- file delete ${destroot}${python.pkgd}/scikits/__init__.py
+ post-destroot {
+ # scikits/__init__.py is provided by scikits-module
+ file delete ${destroot}${python.pkgd}/scikits/__init__.py
+ }
+} else {
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex <i>version (.*)</i>
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140926/ee17b536/attachment.html>
More information about the macports-changes
mailing list