[84197] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Tue Sep 20 05:09:13 PDT 2011


Revision: 84197
          http://trac.macports.org/changeset/84197
Author:   stromnov at macports.org
Date:     2011-09-20 05:09:13 -0700 (Tue, 20 Sep 2011)
Log Message:
-----------
py*-pylibmc: unify

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

Added Paths:
-----------
    trunk/dports/python/py-pylibmc/

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

Modified: trunk/dports/python/py-pylibmc/Portfile
===================================================================
--- trunk/dports/python/py26-pylibmc/Portfile	2011-09-20 06:35:36 UTC (rev 84193)
+++ trunk/dports/python/py-pylibmc/Portfile	2011-09-20 12:09:13 UTC (rev 84197)
@@ -2,33 +2,38 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-pylibmc
-version             1.1.1
+name                py-pylibmc
+version             1.2.1
+revision            0
+categories          python
+license             BSD
+platforms           darwin
+
 maintainers         openmaintainer voldmar.ru:voldmar
-description         python memcached client wrapped on libmemcached
+
+description         Python memcached client wrapped on libmemcached.
 long_description    pylibmc is a Python wrapper around the accompanying \
                     C Python extension _pylibmc, which is a wrapper around \
                     libmemcached from TangentOrg
-platforms           darwin
+
 homepage            http://pypi.python.org/pypi/pylibmc
 master_sites        http://pypi.python.org/packages/source/p/pylibmc/
 distname            pylibmc-${version}
 
-checksums           md5     e43c54e285f8d937a3f1a916256ecc85 \
-                    sha1    1edc5af1b8e5f75b4c410443eb3da92cb13f72c6 \
-                    rmd160  60951af4be595c1ad2da9b1cb132d2e833adf52c
+checksums           md5     1131007be07877050cf95772280302a2 \
+                    sha1    8384df95401f3026667941f0980f6d77aff761c4 \
+                    rmd160  175af400e7abfd62ef19cc5598bfb4e0ad0171da
 
-depends_lib-append  port:libmemcached
+python.versions     25 26 27
+python.default_version  27
 
-build.target        build_ext
-build.args          --with-libmemcached=${prefix}
-
-post-destroot {
-    xinstall -m 644 -W ${worksrcpath} \
-         LICENSE README.rst pooling.rst tests.py \
-         ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    depends_lib-append  port:libmemcached \
+                        port:py${python.version}-distribute
+    build.target        build_ext
+    build.args          --with-libmemcached=${prefix}
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110920/125e9d0b/attachment.html>


More information about the macports-changes mailing list