mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
43 lines
1.4 KiB
Tcl
43 lines
1.4 KiB
Tcl
# -*- 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.6.3
|
|
revision 0
|
|
|
|
license BSD
|
|
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://sendapatch.se/projects/pylibmc/
|
|
|
|
checksums rmd160 fc86527703b93e959d9d597c88133c2ddac1661f \
|
|
sha256 eefa46115537abad65fbe2e032acd1b3463d9bf9e335af4b0916df4e4d3206e0 \
|
|
size 63224
|
|
|
|
python.versions 313
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:libmemcached \
|
|
port:zlib
|
|
|
|
if {${os.platform} eq "darwin" && ${os.major} <= 10} {
|
|
patchfiles-append patch-pylibmcmodule.c.diff
|
|
}
|
|
|
|
build.args-append "--config-setting='--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}
|
|
}
|
|
}
|