[101170] trunk/dports/python/py-pytools/Portfile
larryv at macports.org
larryv at macports.org
Sat Jan 5 11:47:51 PST 2013
Revision: 101170
https://trac.macports.org/changeset/101170
Author: larryv at macports.org
Date: 2013-01-05 11:47:51 -0800 (Sat, 05 Jan 2013)
Log Message:
-----------
py-pytools: Use "real_name" throughout
Modified Paths:
--------------
trunk/dports/python/py-pytools/Portfile
Modified: trunk/dports/python/py-pytools/Portfile
===================================================================
--- trunk/dports/python/py-pytools/Portfile 2013-01-05 19:44:57 UTC (rev 101169)
+++ trunk/dports/python/py-pytools/Portfile 2013-01-05 19:47:51 UTC (rev 101170)
@@ -4,7 +4,9 @@
PortSystem 1.0
PortGroup python 1.0
-name py-pytools
+set real_name pytools
+
+name py-${real_name}
version 2012.1
platforms darwin
maintainers larryv
@@ -14,9 +16,8 @@
description A collection of tools for Python
long_description Pytools is a big bag of things that are "missing" \
from the Python standard library.
-homepage http://pypi.python.org/pypi/pytools
+homepage http://pypi.python.org/pypi/${real_name}
-set real_name pytools
distname ${real_name}-${version}
master_sites http://pypi.python.org/packages/source/p/${real_name}
@@ -32,5 +33,5 @@
} else {
livecheck.type regex
livecheck.url ${master_sites}
- livecheck.regex "pytools-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+ livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130105/19c8ac17/attachment-0001.html>
More information about the macports-changes
mailing list