[101960] trunk/dports/python/py-google/Portfile
jmr at macports.org
jmr at macports.org
Tue Jan 22 20:11:20 PST 2013
Revision: 101960
https://trac.macports.org/changeset/101960
Author: jmr at macports.org
Date: 2013-01-22 20:11:20 -0800 (Tue, 22 Jan 2013)
Log Message:
-----------
py-google: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-google/Portfile
Modified: trunk/dports/python/py-google/Portfile
===================================================================
--- trunk/dports/python/py-google/Portfile 2013-01-23 04:02:43 UTC (rev 101959)
+++ trunk/dports/python/py-google/Portfile 2013-01-23 04:11:20 UTC (rev 101960)
@@ -1,11 +1,13 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
+
name py-google
version 0.6
revision 1
categories-append devel
+license PSF BSD
maintainers nomaintainer
description Python module to talk to Google through SOAP
long_description \
@@ -14,6 +16,7 @@
API is described at http://www.google.com/apis/ .
platforms darwin
+supported_archs noarch
homepage http://pygoogle.sourceforge.net/
master_sites sourceforge:pygoogle
@@ -21,11 +24,14 @@
checksums md5 334e2d9e5a765ffa9769e2c4cdfcd110
-depends_lib port:py-soappy
+python.versions 24
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- eval file copy [glob ${worksrcpath}/doc/*] \
- ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+ depends_lib port:py${python.version}-soappy
+
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ eval file copy [glob ${worksrcpath}/doc/*] \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130122/bd2f49ee/attachment.html>
More information about the macports-changes
mailing list