|
|
@@ -4,7 +4,8 @@ PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
|
|
|
name py-pylibmc |
|
|
version 1.5.1 |
|
|
version 1.6.0 |
|
|
revision 0 |
|
|
license BSD |
|
|
platforms darwin |
|
|
|
|
|
@@ -15,26 +16,33 @@ long_description pylibmc is a Python wrapper around the accompanying \ |
|
|
C Python extension _pylibmc, which is a wrapper around \ |
|
|
libmemcached from TangentOrg |
|
|
|
|
|
homepage https://pypi.python.org/pypi/pylibmc |
|
|
homepage http://sendapatch.se/projects/pylibmc/ |
|
|
master_sites pypi:p/pylibmc/ |
|
|
distname pylibmc-${version} |
|
|
|
|
|
checksums rmd160 24ff2977e97eef5446dbc491ada668baa02c5ff3 \ |
|
|
sha256 ecba261859c3e1ba3365389cb4f4dfffb7e02120a9f57a288cacf2f42c45cdd6 |
|
|
checksums rmd160 d427f286e6a8ea7c9daacce0f2b16b01f5314293 \ |
|
|
sha256 5ef97be4ca5527d5b87dbe77cfdd94b427028caf4136feff7da23c40e1ded6d8 \ |
|
|
size 65925 |
|
|
|
|
|
python.versions 27 34 35 36 |
|
|
python.versions 27 34 35 36 37 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
depends_lib-append port:libmemcached |
|
|
depends_lib-append port:libmemcached \ |
|
|
port:zlib |
|
|
|
|
|
if {${os.platform} eq "darwin" && ${os.major} <= 10} { |
|
|
patchfiles-append patch-pylibmcmodule.c.diff |
|
|
} |
|
|
|
|
|
build.target build_ext |
|
|
build.args --with-libmemcached=${prefix} |
|
|
build.args-append --with-libmemcached=${prefix} |
|
|
|
|
|
post-destroot { |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \ |
|
|
${destroot}${docdir} |
|
|
} |
|
|
|
|
|
livecheck.type none |
|
|
} else { |
|
|
livecheck.type pypi |
|
|
} |