[106947] trunk/dports/python
jmr at macports.org
jmr at macports.org
Wed Jun 12 06:44:54 PDT 2013
Revision: 106947
https://trac.macports.org/changeset/106947
Author: jmr at macports.org
Date: 2013-06-12 06:44:54 -0700 (Wed, 12 Jun 2013)
Log Message:
-----------
py25-clientcookie: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-clientcookie/Portfile
Added Paths:
-----------
trunk/dports/python/py-clientcookie/
Removed Paths:
-------------
trunk/dports/python/py25-clientcookie/
Modified: trunk/dports/python/py-clientcookie/Portfile
===================================================================
--- trunk/dports/python/py25-clientcookie/Portfile 2013-06-12 06:37:10 UTC (rev 106937)
+++ trunk/dports/python/py-clientcookie/Portfile 2013-06-12 13:44:54 UTC (rev 106947)
@@ -1,12 +1,14 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python 1.0
-name py25-clientcookie
+name py-clientcookie
version 1.3.0
categories-append www
+license {BSD ZPL-2.1}
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description python module for handling HTTP cookies
long_description ClientCookie is a Python module for handling HTTP \
@@ -22,14 +24,18 @@
sha1 fc54adb762618d3a9fdeca9ed45b982c2bde940c \
rmd160 0c557c11efee3ada975235ed72252176c059e5d2
-depends_lib-append port:py25-setuptools
+python.versions 25
-test.run yes
-test.cmd ${python.bin}
-test.target test.py
+if {$subport != $name} {
+ depends_build port:py${python.version}-setuptools
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} COPYING.txt ChangeLog.txt GeneralFAQ.html \
- INSTALL.txt README.html README.txt doc.html \
- ${destroot}${prefix}/share/doc/${name}
+ test.run yes
+ test.cmd ${python.bin}
+ test.target test.py
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} COPYING.txt ChangeLog.txt GeneralFAQ.html \
+ INSTALL.txt README.html README.txt doc.html \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130612/7cafb2f5/attachment.html>
More information about the macports-changes
mailing list