[82490] trunk/dports/python
ram at macports.org
ram at macports.org
Sun Aug 14 09:31:46 PDT 2011
Revision: 82490
http://trac.macports.org/changeset/82490
Author: ram at macports.org
Date: 2011-08-14 09:31:44 -0700 (Sun, 14 Aug 2011)
Log Message:
-----------
python/py{31,32}-dateutil: new port
Modified Paths:
--------------
trunk/dports/python/py31-dateutil/Portfile
trunk/dports/python/py32-dateutil/Portfile
Added Paths:
-----------
trunk/dports/python/py31-dateutil/
trunk/dports/python/py32-dateutil/
Modified: trunk/dports/python/py31-dateutil/Portfile
===================================================================
--- trunk/dports/python/py-dateutil/Portfile 2011-08-14 15:15:07 UTC (rev 82487)
+++ trunk/dports/python/py31-dateutil/Portfile 2011-08-14 16:31:44 UTC (rev 82490)
@@ -2,16 +2,15 @@
# $Id$
PortSystem 1.0
-PortGroup python 1.0
+PortGroup python31 1.0
-name py-dateutil
+name py31-dateutil
set my_name python-dateutil
-version 1.5
-revision 1
+version 2.0
categories python
platforms darwin
supported_archs noarch
-maintainers dh ram openmaintainer
+maintainers ram openmaintainer
description powerful extensions to the standard python datetime module
long_description ${description}
@@ -24,28 +23,19 @@
sha1 f489e1a70e415731d401422f711670288571040b \
rmd160 5f7c80ec9bf68f1708213596a994130964e91e52
-python.versions 24 25 26 27
+depends_run port:py31-tz \
+ port:py31-distribute
-if {${subport} == "py24-dateutil"} {
- depends_run port:py-tz \
- port:py-setuptools
-} elseif {${subport} != ${name}} {
- depends_run port:py${python.version}-tz \
- port:py${python.version}-distribute
-}
-
test.run yes
test.cmd ${python.bin} test.py
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
- if {${name} != ${subport}} {
- set docdir ${prefix}/share/doc/${subport}
+ set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE README NEWS ${destroot}${docdir}
- }
}
livecheck.type regex
-livecheck.regex /${my_name}-(1.(\\d+)*)
+livecheck.regex /${my_name}-(\\d+(?:\\.\\d+)*)
Modified: trunk/dports/python/py32-dateutil/Portfile
===================================================================
--- trunk/dports/python/py-dateutil/Portfile 2011-08-14 15:15:07 UTC (rev 82487)
+++ trunk/dports/python/py32-dateutil/Portfile 2011-08-14 16:31:44 UTC (rev 82490)
@@ -2,16 +2,15 @@
# $Id$
PortSystem 1.0
-PortGroup python 1.0
+PortGroup python32 1.0
-name py-dateutil
+name py32-dateutil
set my_name python-dateutil
-version 1.5
-revision 1
+version 2.0
categories python
platforms darwin
supported_archs noarch
-maintainers dh ram openmaintainer
+maintainers ram openmaintainer
description powerful extensions to the standard python datetime module
long_description ${description}
@@ -24,28 +23,19 @@
sha1 f489e1a70e415731d401422f711670288571040b \
rmd160 5f7c80ec9bf68f1708213596a994130964e91e52
-python.versions 24 25 26 27
+depends_run port:py32-tz \
+ port:py32-distribute
-if {${subport} == "py24-dateutil"} {
- depends_run port:py-tz \
- port:py-setuptools
-} elseif {${subport} != ${name}} {
- depends_run port:py${python.version}-tz \
- port:py${python.version}-distribute
-}
-
test.run yes
test.cmd ${python.bin} test.py
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
- if {${name} != ${subport}} {
- set docdir ${prefix}/share/doc/${subport}
+ set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE README NEWS ${destroot}${docdir}
- }
}
livecheck.type regex
-livecheck.regex /${my_name}-(1.(\\d+)*)
+livecheck.regex /${my_name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110814/8530a657/attachment.html>
More information about the macports-changes
mailing list