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

Last change on this file was 148976, checked in by raimue@…, 2 years 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 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.7 KB
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4
2# $Id: Portfile 148976 2016-05-24 07:48:05Z $
4PortSystem          1.0
5PortGroup           python 1.0
7name                py-unidecode
8set realName Unidecode
9version             0.04.17
10revision            1
11categories-append   textproc
12platforms           darwin
13supported_archs     noarch
14license             GPL-2+
15maintainers openmaintainer
17description         ASCII transliterations of Unicode text
18long_description    Unidecode takes Unicode data and tries to \
19                    represent it in ASCII characters (i.e., the \
20                    universally displayable characters between 0x00 \
21                    and 0x7F), where the compromises taken when \
22                    mapping between two character sets are chosen to \
23                    be near what a human with a US keyboard would \
24                    choose. This is a Python port of Text::Unidecode \
25                    Perl module by Sean M. Burke.
26homepage  $realName/
28master_sites        pypi:U/$realName/
29distname            $realName-${version}
30checksums           md5     5862c893d5aac49f5eefbd96e9e9e682 \
31                    rmd160  d2eb1039b8b77728784d8b1bebe1a5bd998d1dfa \
32                    sha256  f0f8d53d39877da4849293d548eecb5e79364b573643296869dbc7f5b86709ef
34python.versions     27 33 34
36if {${subport} ne ${name}} {
37    livecheck.type          none
38} else {
39    livecheck.type          regex
40    # The usual URL to use here would be the master site, but for some
41    # reason PyPi isn't serving anything at that URL.
42    livecheck.url           ${homepage}
43    livecheck.regex         $realName-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.