source: trunk/dports/python/py-pyicu/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.2 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
7name                py-pyicu
8version             1.9.2
9categories-append   textproc
10platforms           darwin
11maintainers         nomaintainer
12license             MIT
13
14description         Python extension wrapping IBM's International \
15                    Components for Unicode C++ library (ICU)
16
17long_description    ${description}
18
19homepage            https://pypi.python.org/pypi/PyICU/
20master_sites        pypi:P/PyICU/
21distname            PyICU-${version}
22
23checksums           rmd160  01358759a02c8e81823a1d64d35fe2018d9d857e \
24                    sha256  9b580801eb17b09a5e0e8ef7d3b29170361ed505c5f954b723c1b48a1e502bb6
25
26python.versions     27 34 35
27
28if {${name} ne ${subport}} {
29    depends_lib-append  port:icu
30
31    patchfiles          patch-setup.py
32
33    post-patch {
34        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
35    }
36
37    livecheck.type      none
38} else {
39    livecheck.type      regex
40    livecheck.url       ${homepage}
41    livecheck.regex     PyICU-(\[0-9.\]+)${extract.suffix}
42}
Note: See TracBrowser for help on using the repository browser.