[125259] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu Sep 11 13:11:34 PDT 2014


Revision: 125259
          https://trac.macports.org/changeset/125259
Author:   jmr at macports.org
Date:     2014-09-11 13:11:34 -0700 (Thu, 11 Sep 2014)
Log Message:
-----------
py26-cvxmod: use unified python portgroup, correct license, mark noarch

Modified Paths:
--------------
    trunk/dports/python/py-cvxmod/Portfile

Added Paths:
-----------
    trunk/dports/python/py-cvxmod/

Removed Paths:
-------------
    trunk/dports/python/py26-cvxmod/

Modified: trunk/dports/python/py-cvxmod/Portfile
===================================================================
--- trunk/dports/python/py26-cvxmod/Portfile	2014-09-10 06:46:56 UTC (rev 125210)
+++ trunk/dports/python/py-cvxmod/Portfile	2014-09-11 20:11:34 UTC (rev 125259)
@@ -1,15 +1,16 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       python26 1.0
+PortGroup       python 1.0
 
-name            py26-cvxmod
+name            py-cvxmod
 set my_name     cvxmod
 version         0.4.6
 categories-append   math devel
 maintainers     nomaintainer
 platforms       darwin
-license         GPL
+supported_archs noarch
+license         GPL-3+
 description     Python module for convex optimization 
 long_description \
     CVXMOD is a Python-based tool for expressing and solving convex \
@@ -17,18 +18,24 @@
     Jacob Mattingley, as PhD work under Stephen Boyd at Stanford University.
 
 homepage        http://cvxmod.net/
-master_sites    ${homepage}dist/
+# homepage is down as of 2014-09-12
+#master_sites    ${homepage}dist/
+master_sites    http://distfiles.macports.org/python
 distname        ${my_name}-${version}
 
 checksums       md5     e5d859659853809e5c7fc2e2970be88e \
                 sha1    077179644623861f569e2ab7719481eec716ef17 \
                 rmd160  ca87ce7a7073a6896403562f08033b2e057ad37f
 
-depends_lib-append \
-    port:py26-cvxopt
+python.versions 26
 
-universal_variant   no
+if {$subport ne $name} {
+    depends_lib-append \
+        port:py${python.version}-cvxopt
 
-livecheck.type  regex
-livecheck.url   ${homepage}
-livecheck.regex {v(\d+(?:\.\d+)*), released}
+    livecheck.type      none
+} else {
+    livecheck.type  regex
+    livecheck.url   ${homepage}
+    livecheck.regex {v(\d+(?:\.\d+)*), released}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140911/1449506f/attachment.html>


More information about the macports-changes mailing list