[82301] trunk/dports/python
ram at macports.org
ram at macports.org
Fri Aug 12 06:27:22 PDT 2011
Revision: 82301
http://trac.macports.org/changeset/82301
Author: ram at macports.org
Date: 2011-08-12 06:27:22 -0700 (Fri, 12 Aug 2011)
Log Message:
-----------
python/py*-tz: unify
Modified Paths:
--------------
trunk/dports/python/py-tz/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-tz/
trunk/dports/python/py26-tz/
trunk/dports/python/py27-tz/
trunk/dports/python/py31-tz/
trunk/dports/python/py32-tz/
Modified: trunk/dports/python/py-tz/Portfile
===================================================================
--- trunk/dports/python/py-tz/Portfile 2011-08-12 13:26:32 UTC (rev 82300)
+++ trunk/dports/python/py-tz/Portfile 2011-08-12 13:27:22 UTC (rev 82301)
@@ -1,15 +1,17 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-tz
set my_name pytz
version 2011h
+revision 1
categories python devel
platforms darwin
supported_archs noarch
maintainers ram openmaintainer
+license MIT
description World Timezone Definitions for Python
long_description \
@@ -21,15 +23,19 @@
distname ${my_name}-${version}
#use_zip yes
+python.versions 24 25 26 27 31 32
+
checksums md5 37248de48c28e1ae4ffb5ee47a298e4c \
sha1 46d8c71eb06631bc50fc1671b7a071758655a236 \
rmd160 30fb4fb855615df2ac8ca10cd160b7286a14bd10
post-destroot {
- set docdir ${prefix}/share/doc/${name}-${version}
+ if {${name} != ${subport}} {
+ set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W $worksrcpath CHANGES.txt LICENSE.txt README.txt \
${destroot}${docdir}
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110812/b737570a/attachment.html>
More information about the macports-changes
mailing list