[89043] trunk/dports/python

jwa at macports.org jwa at macports.org
Wed Jan 18 08:26:08 PST 2012


Revision: 89043
          http://trac.macports.org/changeset/89043
Author:   jwa at macports.org
Date:     2012-01-18 08:26:08 -0800 (Wed, 18 Jan 2012)
Log Message:
-----------
unify paver port, remove the version specific ones, take maintainership

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

Removed Paths:
-------------
    trunk/dports/python/py25-paver/
    trunk/dports/python/py26-paver/

Modified: trunk/dports/python/py-paver/Portfile
===================================================================
--- trunk/dports/python/py-paver/Portfile	2012-01-18 16:24:34 UTC (rev 89042)
+++ trunk/dports/python/py-paver/Portfile	2012-01-18 16:26:08 UTC (rev 89043)
@@ -1,13 +1,14 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
-PortGroup           python24 1.0
+PortGroup           python 1.0
 
 name                py-paver
-version             1.0.4
+version             1.0.5
 platforms           darwin
 categories-append   devel
-maintainers         nomaintainer
+maintainers         jwa openmaintainer
 supported_archs     noarch
 
 description         Easy build, distribution and deployment scripting
@@ -21,22 +22,31 @@
 master_sites        http://pypi.python.org/packages/source/P/Paver/
 distname            Paver-${version}
 
-checksums           sha1    b1d9f5fa7d8bdd2955abd255bd246bc1299a50b3 \
-                    rmd160  2de00b419a44e775b686f221255754130ce96521
+checksums           sha1    f35f33baef532ffc9c94c92ff65664ab55793afb \
+                    rmd160  7d5874c073efdb6d1ee832c3b23c033caf0dd271 \
+                    sha256  43ba0644a1412629cdc54b6b177f2b6f4337031b8556ab27a73f0f48ebb1496e
 
-depends_lib-append  port:py24-distribute
+python.versions		24 25 26 27
+python.default_version	27
+#python.link_binaries	no
 
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
-        ${destroot}${prefix}/share/doc/${name}
-    
-    # To avoid conflict between py/py25/py26-paver
-    move ${destroot}${prefix}/bin/paver \
-        ${destroot}${prefix}/bin/paver-${python.branch}
+if {$subport != $name} {
+
+# Paver's setup.py isn't a distutils-based one and doesn't \
+# support --no-user-cfg
+    build.cmd           ${python.bin} setup.py
+    destroot.cmd        ${python.bin} setup.py
+
+    depends_lib-append  port:py${python.version}-distribute
+    post-destroot {
+        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
+    livecheck.type	none
 }
 
-
 livecheck.type      regex
 livecheck.url       http://pypi.python.org/pypi/Paver/
 livecheck.regex     Paver/(\[0-9.\]+)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120118/3c101205/attachment.html>


More information about the macports-changes mailing list