# -*- 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 # $Id: Portfile 148976 2016-05-24 07:48:05Z raimue@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-unidecode set realName Unidecode version 0.04.17 revision 1 categories-append textproc platforms darwin supported_archs noarch license GPL-2+ maintainers phas.ubc.ca:jfcaron openmaintainer description ASCII transliterations of Unicode text long_description Unidecode takes Unicode data and tries to \ represent it in ASCII characters (i.e., the \ universally displayable characters between 0x00 \ and 0x7F), where the compromises taken when \ mapping between two character sets are chosen to \ be near what a human with a US keyboard would \ choose. This is a Python port of Text::Unidecode \ Perl module by Sean M. Burke. homepage https://pypi.python.org/pypi/$realName/ master_sites pypi:U/$realName/ distname $realName-${version} checksums md5 5862c893d5aac49f5eefbd96e9e9e682 \ rmd160 d2eb1039b8b77728784d8b1bebe1a5bd998d1dfa \ sha256 f0f8d53d39877da4849293d548eecb5e79364b573643296869dbc7f5b86709ef python.versions 27 33 34 if {${subport} ne ${name}} { livecheck.type none } else { livecheck.type regex # The usual URL to use here would be the master site, but for some # reason PyPi isn't serving anything at that URL. livecheck.url ${homepage} livecheck.regex $realName-(\\d+(?:\\.\\d+)*)${extract.suffix} }