[96169] trunk/dports/python
lightnin at macports.org
lightnin at macports.org
Thu Aug 2 01:02:03 PDT 2012
Revision: 96169
https://trac.macports.org/changeset/96169
Author: lightnin at macports.org
Date: 2012-08-02 01:02:01 -0700 (Thu, 02 Aug 2012)
Log Message:
-----------
py*-beautifulsoup unified into python PortGroup.
Modified Paths:
--------------
trunk/dports/python/py-beautifulsoup/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-beautifulsoup/
trunk/dports/python/py26-beautifulsoup/
trunk/dports/python/py27-beautifulsoup/
Modified: trunk/dports/python/py-beautifulsoup/Portfile
===================================================================
--- trunk/dports/python/py-beautifulsoup/Portfile 2012-08-02 07:53:09 UTC (rev 96168)
+++ trunk/dports/python/py-beautifulsoup/Portfile 2012-08-02 08:02:01 UTC (rev 96169)
@@ -2,7 +2,7 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-beautifulsoup
license BSD
@@ -23,10 +23,18 @@
sha1 b23e78f058240eb8779dbc1b8a8d76bba4916df1 \
rmd160 4e771d39bf89d5cb2f68a04bf6a457ab3324f3ad
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} PKG-INFO \
- ${destroot}${prefix}/share/doc/${name}
-}
+python.versions 24 25 26 27
+python.default_version 27
livecheck.type regex
livecheck.regex BeautifulSoup-(\[0-9.\]+)${extract.suffix}
+
+if {${subport} != ${name}} {
+ post-destroot {
+ set docdir ${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ PKG-INFO \
+ ${destroot}${docdir}
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120802/f3c1bece/attachment-0001.html>
More information about the macports-changes
mailing list