source: trunk/dports/python/py-pylibmc/Portfile

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pylibmc
8version             1.5.1
9license             BSD
10platforms           darwin
11
12maintainers         nomaintainer
13
14description         Python memcached client wrapped on libmemcached.
15long_description    pylibmc is a Python wrapper around the accompanying \
16                    C Python extension _pylibmc, which is a wrapper around \
17                    libmemcached from TangentOrg
18
19homepage            http://pypi.python.org/pypi/pylibmc
20master_sites        pypi:p/pylibmc/
21distname            pylibmc-${version}
22
23checksums           rmd160  24ff2977e97eef5446dbc491ada668baa02c5ff3 \
24                    sha256  ecba261859c3e1ba3365389cb4f4dfffb7e02120a9f57a288cacf2f42c45cdd6
25
26python.versions     27 34 35
27
28if {${name} ne ${subport}} {
29    depends_lib-append  port:libmemcached
30
31    if {${os.platform} eq "darwin" && ${os.major} <= 10} {
32        patchfiles-append patch-pylibmcmodule.c.diff
33    }
34
35    build.target        build_ext
36    build.args          --with-libmemcached=${prefix}
37
38    livecheck.type      none
39} else {
40    livecheck.type      pypi
41}
Note: See TracBrowser for help on using the repository browser.