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

Last change on this file was 148976, checked in by raimue@…, 18 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: 912 bytes
Line 
1# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-tc
7version             0.7.2
8categories          python databases
9license             BSD
10platforms           darwin
11
12maintainers         rasmus
13description         Python bindings to the tokyocabinet library
14long_description    ${description}
15homepage            http://github.com/rsms/tc
16
17master_sites        pypi:t/tc/
18distname            tc-${version}
19checksums           md5  4405e1464caf0a0b1e1bc30f0874cd9f \
20                    sha1 cf95b3c67ab632b551042b9b75d29036cdece0d8
21
22python.versions     26 27 34
23
24if {${name} ne ${subport}} {
25    depends_lib-append  port:tokyocabinet
26
27    build.args-append -f
28
29    post-destroot {
30        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
31        xinstall -m 644 -W ${worksrcpath} LICENSE README.rst CHANGELOG.rst ${destroot}${prefix}/share/doc/${subport}
32    }
33}
Note: See TracBrowser for help on using the repository browser.