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

Last change on this file was 148976, checked in by raimue@…, 14 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:ft=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
7set real_name       mmh3
8name                py-${real_name}
9version             2.3.1
10categories-append   textproc math
11maintainers         hum openmaintainer
12
13description         Python wrapper for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
14long_description    ${description}
15
16homepage            https://pypi.python.org/pypi/${real_name}
17platforms           darwin
18license             Permissive
19
20master_sites        pypi:m/${real_name}/
21
22distname            ${real_name}-${version}
23
24python.versions     27 34
25
26if {${name} ne ${subport}} {
27    checksums           rmd160  108cd84049528834dc857e2119d2427946b028f3 \
28                        sha256  ecadc3557c093211a70b49814cf91d6833fff403edf2d8405645e227262de928
29    post-destroot {
30        set docdir ${prefix}/share/doc/${subport}
31        xinstall -d ${destroot}${docdir}
32        xinstall -m 644 -W ${worksrcpath} README.rst ${destroot}${docdir}
33    }
34    livecheck.type      none
35} else {
36    livecheck.type      regex
37    livecheck.url       https://pypi.python.org/pypi/${real_name}
38    livecheck.regex     "${real_name}/(\\d+(?:\\.\\d+)*)"
39}
Note: See TracBrowser for help on using the repository browser.