Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (29 sloc) 1.26 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-pylibmc
version 1.5.1
license BSD
platforms darwin
maintainers nomaintainer
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
homepage https://pypi.python.org/pypi/pylibmc
master_sites pypi:p/pylibmc/
distname pylibmc-${version}
checksums rmd160 24ff2977e97eef5446dbc491ada668baa02c5ff3 \
sha256 ecba261859c3e1ba3365389cb4f4dfffb7e02120a9f57a288cacf2f42c45cdd6
python.versions 27 34 35 36
if {${name} ne ${subport}} {
depends_lib-append port:libmemcached
if {${os.platform} eq "darwin" && ${os.major} <= 10} {
patchfiles-append patch-pylibmcmodule.c.diff
}
build.target build_ext
build.args --with-libmemcached=${prefix}
livecheck.type none
} else {
livecheck.type pypi
}