[126308] trunk/dports/python/py-ete2/Portfile

petr at macports.org petr at macports.org
Tue Oct 7 12:01:38 PDT 2014


Revision: 126308
          https://trac.macports.org/changeset/126308
Author:   petr at macports.org
Date:     2014-10-07 12:01:38 -0700 (Tue, 07 Oct 2014)
Log Message:
-----------
py-ete2: update to 2.2.1072, add py27 subport, closes #34968 (maintainer timeout)

Changes in detail:
* switch to PyPI distribution site
* update to 2.2.1072
* use `*-append` keys
* add license
* homepage
* add py27 subport
* correct dependencies
* add livecheck

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

Modified: trunk/dports/python/py-ete2/Portfile
===================================================================
--- trunk/dports/python/py-ete2/Portfile	2014-10-07 18:31:15 UTC (rev 126307)
+++ trunk/dports/python/py-ete2/Portfile	2014-10-07 19:01:38 UTC (rev 126308)
@@ -4,10 +4,14 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name                py-ete2
-version             2.0rev90
-categories          python biology science
+set _name           ete2
+set _n              [string index ${_name} 0]
+
+name                py-${_name}
+version             2.2.1072
+categories-append   biology science
 platforms           darwin
+license             GPL-3
 maintainers         gmail.com:sopo.dev
 
 description         Python Environment for Tree Exploration (ETE)
@@ -23,24 +27,30 @@
     automatize the graphical rendering of trees  with customized \
     node-specific visualizations.
 
-homepage            http://ete.cgenomics.org/
-master_sites        ${homepage}releases/ete2/
-distname            ete2-${version}
+homepage            http://etetoolkit.org/
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+distname            ${_name}-${version}
 
-checksums           md5     9d57932e343e443e088b22143251e9ac \
-                    sha1    ea83aff7b75eadaf905c99dbbe7c480bbaa7779f \
-                    rmd160  a8f1fb53784340f42fb5dcc0266340c4bcb8e4f6
+checksums           md5     2864ed149ac22afbc533199c9f8cb133 \
+                    sha1    84bd7641b07ef5c1f10adf5e263f038771bcdf20 \
+                    rmd160  948bcc2531a06ba2adb8588a383bc1b172e36a74
 
-python.versions     26
+python.versions     26 27
 
 if {$subport ne $name} {
-    depends_build       port:py${python.version}-setuptools
+    depends_build-append    port:py${python.version}-setuptools
 
     # Can use either py*-pyqt4 or py*-pyqt4-devel.
-    depends_run         port:py${python.version}-mysql \
-                        port:py${python.version}-scipy \
-                        path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4
+    depends_lib-append      port:py${python.version}-mysql \
+                            port:py${python.version}-scipy \
+                            path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4
 
     # py*-scipy is not universal
     universal_variant   no
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   [lindex ${master_sites} 0]
+    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141007/92263425/attachment.html>


More information about the macports-changes mailing list