[107779] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri Jul 5 10:16:57 PDT 2013
Revision: 107779
https://trac.macports.org/changeset/107779
Author: jmr at macports.org
Date: 2013-07-05 10:16:57 -0700 (Fri, 05 Jul 2013)
Log Message:
-----------
py*-openopt: unify
Modified Paths:
--------------
trunk/dports/python/py-openopt/Portfile
Added Paths:
-----------
trunk/dports/python/py-openopt/
Removed Paths:
-------------
trunk/dports/python/py25-openopt/
trunk/dports/python/py26-openopt/
Modified: trunk/dports/python/py-openopt/Portfile
===================================================================
--- trunk/dports/python/py26-openopt/Portfile 2013-07-05 09:02:37 UTC (rev 107760)
+++ trunk/dports/python/py-openopt/Portfile 2013-07-05 17:16:57 UTC (rev 107779)
@@ -2,9 +2,9 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-openopt
+name py-openopt
version 0.29
categories-append math science
maintainers mnick
@@ -17,16 +17,22 @@
license BSD
homepage http://openopt.org
-master_sites http://openopt.org/images/3/33/
+#the checksums (inevitably) mismatch with upstream as of 2013-07-6
+#master_sites http://openopt.org/images/3/33/
+master_sites http://distfiles.macports.org/python/
distname OpenOpt
-use_zip yes
-worksrcdir OpenOpt
checksums md5 e2cf031a18616c26cdd7d0a4615ef8d8 \
sha1 f60213b5c01e133b3c06a9698b34484fe1948f2e \
rmd160 c7e23f95fdfd4af7c5df960e23641fc1d6a784ba
-depends_lib-append port:py26-numpy
+python.versions 25 26
-livecheck.url ${master_sites}
-livecheck.regex OpenOpt(.*).zip
+if {$subport ne $name} {
+ use_zip yes
+ depends_lib-append port:py${python.version}-numpy
+ livecheck.type none
+} else {
+ livecheck.url ${master_sites}
+ livecheck.regex OpenOpt(.*).zip
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130705/e916f7c4/attachment.html>
More information about the macports-changes
mailing list