[87032] trunk/dports/python
and.damore at macports.org
and.damore at macports.org
Tue Nov 8 02:01:59 PST 2011
Revision: 87032
http://trac.macports.org/changeset/87032
Author: and.damore at macports.org
Date: 2011-11-08 02:01:55 -0800 (Tue, 08 Nov 2011)
Log Message:
-----------
moving py26-mercurial_keyring to py-mercurial_keyring using python portgroup
Modified Paths:
--------------
trunk/dports/python/py-mercurial_keyring/Portfile
Added Paths:
-----------
trunk/dports/python/py-mercurial_keyring/
Removed Paths:
-------------
trunk/dports/python/py26-mercurial_keyring/
Modified: trunk/dports/python/py-mercurial_keyring/Portfile
===================================================================
--- trunk/dports/python/py26-mercurial_keyring/Portfile 2011-11-08 07:56:38 UTC (rev 87030)
+++ trunk/dports/python/py-mercurial_keyring/Portfile 2011-11-08 10:01:55 UTC (rev 87032)
@@ -1,8 +1,8 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
-name py26-mercurial_keyring
+PortGroup python 1.0
+name py-mercurial_keyring
version 0.4.6
categories-append devel
license GPL
@@ -24,15 +24,20 @@
sha1 2bdd6659e10832fabf0ed9bc79bab684b08c6eb0 \
rmd160 4c46a219fb68d04c1e9df4637d6e17dac1ceb91c
-depends_run port:py26-keyring
+#not supporting 3x because py-keyring is broken on python 3.x
+python.versions 24 25 26 27
+#defaulting to 27 to keep in par with mercurial port, check r86604
+python.default_version 27
-depends_build port:py26-distribute
+if {${subport} != ${name}} {
+ depends_run port:py${python.version}-keyring
+ depends_build port:py${python.version}-distribute
-
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} README.txt \
- ${destroot}${prefix}/share/doc/${name}
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
livecheck.url [lindex ${master_sites} 0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111108/4e2b3dd5/attachment.html>
More information about the macports-changes
mailing list