[106452] trunk/dports/python
jmr at macports.org
jmr at macports.org
Sun May 26 20:13:20 PDT 2013
Revision: 106452
https://trac.macports.org/changeset/106452
Author: jmr at macports.org
Date: 2013-05-26 20:13:20 -0700 (Sun, 26 May 2013)
Log Message:
-----------
py*-colormath: unify, follow stealth update, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-colormath/Portfile
Added Paths:
-----------
trunk/dports/python/py-colormath/
Removed Paths:
-------------
trunk/dports/python/py25-colormath/
trunk/dports/python/py26-colormath/
Modified: trunk/dports/python/py-colormath/Portfile
===================================================================
--- trunk/dports/python/py26-colormath/Portfile 2013-05-26 22:24:45 UTC (rev 106446)
+++ trunk/dports/python/py-colormath/Portfile 2013-05-27 03:13:20 UTC (rev 106452)
@@ -1,10 +1,12 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
-name py26-colormath
+PortGroup python 1.0
+
+name py-colormath
version 1.0.8
categories-append math
+license BSD
maintainers nomaintainer
description Simplify color math operations in python
long_description \
@@ -12,24 +14,29 @@
operations
platforms darwin
+supported_archs noarch
homepage http://code.google.com/p/python-colormath/
master_sites http://pypi.python.org/packages/source/c/colormath/
distname colormath-${version}
-checksums md5 ab964099bed6de95ea9d1110419cf356 \
- sha1 de2e2119cbc30b04314e547da8702474749d116f \
- rmd160 275c658ef867832a6c4f20697ac854f80e7000dd
+checksums md5 ab44959e09b2634763449fc0d0b303d3 \
+ sha1 f25ab70231ee77e5d81b4367f22b73118cfd82d8 \
+ rmd160 2dd69548feb436e0b90b3fbff30a2d74745bbd4a
-depends_lib-append port:py26-numpy
+python.versions 25 26
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} README.txt \
- ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+ depends_lib-append port:py${python.version}-numpy
+
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url [lindex ${master_sites} 0]
+ livecheck.regex {colormath-([0-9.]+)\.tar\.gz}
}
-
-livecheck.type regex
-livecheck.url [lindex ${master_sites} 0]
-livecheck.regex {colormath-([0-9.]+)\.tar\.gz}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130526/002bfe6b/attachment.html>
More information about the macports-changes
mailing list