[101486] trunk/dports/python/py-pullparser/Portfile
jmr at macports.org
jmr at macports.org
Fri Jan 11 12:18:35 PST 2013
Revision: 101486
https://trac.macports.org/changeset/101486
Author: jmr at macports.org
Date: 2013-01-11 12:18:35 -0800 (Fri, 11 Jan 2013)
Log Message:
-----------
py-pullparser: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-pullparser/Portfile
Modified: trunk/dports/python/py-pullparser/Portfile
===================================================================
--- trunk/dports/python/py-pullparser/Portfile 2013-01-11 19:58:46 UTC (rev 101485)
+++ trunk/dports/python/py-pullparser/Portfile 2013-01-11 20:18:35 UTC (rev 101486)
@@ -1,12 +1,14 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-pullparser
version 0.0.6
categories python www
+license BSD
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description python module providing a simple pull API for HTML parsing
long_description A simple "pull API" for HTML parsing, after Perl's \
@@ -15,17 +17,21 @@
pullparser.PullParser is a subclass of \
HTMLParser.HTMLParser.
-homepage http://wwwsearch.sourceforge.net/pullparser/
-master_sites ${homepage}/src/
+homepage http://wwwsearch.sourceforge.net/old/pullparser/
+master_sites ${homepage}src/
distname pullparser-${version}
checksums md5 e7074a671ced63ca019d00e1a1b25ca4
-test.run yes
-test.cmd ${python.bin}
-test.target test.py
+python.versions 24
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog \
- INSTALL README.html README.txt \
- ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+ test.run yes
+ test.cmd ${python.bin}
+ test.target test.py
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog \
+ INSTALL README.html README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130111/4375f113/attachment.html>
More information about the macports-changes
mailing list