[88649] trunk/dports/python

raimue at macports.org raimue at macports.org
Fri Jan 6 08:45:38 PST 2012


Revision: 88649
          http://trac.macports.org/changeset/88649
Author:   raimue at macports.org
Date:     2012-01-06 08:45:35 -0800 (Fri, 06 Jan 2012)
Log Message:
-----------
python/py{,25,26,27}-subvertpy:
Unify ports with python port group

Modified Paths:
--------------
    trunk/dports/python/py-subvertpy/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-subvertpy/
    trunk/dports/python/py26-subvertpy/
    trunk/dports/python/py27-subvertpy/

Modified: trunk/dports/python/py-subvertpy/Portfile
===================================================================
--- trunk/dports/python/py-subvertpy/Portfile	2012-01-06 16:18:09 UTC (rev 88648)
+++ trunk/dports/python/py-subvertpy/Portfile	2012-01-06 16:45:35 UTC (rev 88649)
@@ -1,10 +1,11 @@
 # $Id$
 
 PortSystem        1.0
-PortGroup         python24 1.0
+PortGroup         python 1.0
 
 name              py-subvertpy
 version           0.8.5
+python.versions   24 25 26 27
 categories        python devel
 maintainers       gmail.com:danchr openmaintainer
 platforms         darwin
@@ -21,16 +22,12 @@
 checksums         rmd160  e46d2d43b953e7a277bfe3a0b1216f00f74fcbd1 \
                   sha256  532e494f0ac8107c86da4c92e876a2f5fbdd646cf4b1756e8456b7b0e12fa37b
 
-depends_lib-append  port:subversion
+if {${subport} != ${name}} {
+    depends_lib-append  port:subversion
 
-build.env-append  SVN_PREFIX=${prefix}
+    build.env-append  SVN_PREFIX=${prefix}
 
-destroot.env-append  SVN_PREFIX=${prefix}
-
-post-destroot {
-        foreach f [glob -directory ${destroot}${prefix}/bin *] {
-                file rename ${f} ${f}-${python.branch}
-        }
+    destroot.env-append  SVN_PREFIX=${prefix}
 }
 
 livecheck.type    regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120106/79a293e1/attachment.html>


More information about the macports-changes mailing list