[99805] trunk/dports/python
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 17 23:54:38 PST 2012
Revision: 99805
https://trac.macports.org/changeset/99805
Author: ryandesign at macports.org
Date: 2012-11-17 23:54:38 -0800 (Sat, 17 Nov 2012)
Log Message:
-----------
py-cssutils: new unified port based on py25-cssutils; update to 0.9.9 (#36878); fix livecheck; license LGPL-3+; supported_archs noarch
Modified Paths:
--------------
trunk/dports/python/py-cssutils/Portfile
Added Paths:
-----------
trunk/dports/python/py-cssutils/
Removed Paths:
-------------
trunk/dports/python/py25-cssutils/
Modified: trunk/dports/python/py-cssutils/Portfile
===================================================================
--- trunk/dports/python/py25-cssutils/Portfile 2012-11-18 07:21:12 UTC (rev 99804)
+++ trunk/dports/python/py-cssutils/Portfile 2012-11-18 07:54:38 UTC (rev 99805)
@@ -2,34 +2,42 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python 1.0
-name py25-cssutils
-version 0.9.5.1
-revision 1
-
+name py-cssutils
+version 0.9.9
categories python www
maintainers gmail.com:billitch
+license LGPL-3+
+supported_archs noarch
+
description CSS parser and library for Python
long_description A Python package to parse and build \
CSS Cascading Style Sheets.
platforms darwin
+python.versions 25 26 27
homepage http://cthedot.de/cssutils/
-master_sites http://cssutils.googlecode.com/files/
+master_sites https://bitbucket.org/cthedot/cssutils/downloads/
distname cssutils-${version}
use_zip yes
-checksums md5 b5ee33892918c6589017cfb318db8190 \
- sha1 bdf53ff8b0417c064daaa585389e99bed79e6bbf \
- rmd160 104246a4a07861236644c010f734b5265fdd797f
+checksums rmd160 0affdb2edc523e4f22d54d7a92ce81bccbeb76a6 \
+ sha256 f7061a591859c025504c7871ef3b843383a025d570128edf1c63a6ef53753e8d
-post-destroot {
- # We should notify upstream not to install tests.
- delete ${destroot}${prefix}/lib/python2.5/site-packages/tests
+if {${name} != ${subport}} {
+ post-destroot {
+ # We should notify upstream not to install tests.
+ delete ${destroot}${python.pkgd}/tests
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} README.txt \
- ${destroot}${prefix}/share/doc/${name}
+ 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 cssutils-(\[0-9.\]+)${extract.suffix}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121117/296a0130/attachment.html>
More information about the macports-changes
mailing list