[128735] trunk/dports/python/py-ete2/Portfile
larryv at macports.org
larryv at macports.org
Thu Nov 27 00:52:39 PST 2014
Revision: 128735
https://trac.macports.org/changeset/128735
Author: larryv at macports.org
Date: 2014-11-27 00:52:38 -0800 (Thu, 27 Nov 2014)
Log Message:
-----------
py-ete2: Avoid extraneous variables
Modified Paths:
--------------
trunk/dports/python/py-ete2/Portfile
Modified: trunk/dports/python/py-ete2/Portfile
===================================================================
--- trunk/dports/python/py-ete2/Portfile 2014-11-27 08:52:35 UTC (rev 128734)
+++ trunk/dports/python/py-ete2/Portfile 2014-11-27 08:52:38 UTC (rev 128735)
@@ -4,10 +4,7 @@
PortSystem 1.0
PortGroup python 1.0
-set _name ete2
-set _n [string index ${_name} 0]
-
-name py-${_name}
+name py-ete2
version 2.2.1072
categories-append biology science
platforms darwin
@@ -28,8 +25,8 @@
node-specific visualizations.
homepage http://etetoolkit.org/
-master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
-distname ${_name}-${version}
+master_sites https://pypi.python.org/packages/source/e/ete2/
+distname ete2-${version}
checksums md5 2864ed149ac22afbc533199c9f8cb133 \
sha1 84bd7641b07ef5c1f10adf5e263f038771bcdf20 \
@@ -52,5 +49,5 @@
} else {
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
- livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+ livecheck.regex ">ete2-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141127/d68c3ac4/attachment.html>
More information about the macports-changes
mailing list