diff --git a/Portfile b/Users/esafak/Downloads/Portfile
index 0f04864..b893c81 100644
old
|
new
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup python 1.0 |
5 | 5 | |
6 | | set realName unidecode |
7 | | name py-$realName |
8 | | version 0.04.20 |
9 | | # revision 1 |
| 6 | name py-unidecode |
| 7 | set realName Unidecode |
| 8 | version 0.04.17 |
| 9 | revision 1 |
10 | 10 | categories-append textproc |
11 | 11 | platforms darwin |
12 | 12 | supported_archs noarch |
13 | 13 | license GPL-2+ |
14 | | maintainers phas.ubc.ca:jfcaron @esafak openmaintainer |
| 14 | maintainers phas.ubc.ca:jfcaron openmaintainer |
15 | 15 | |
16 | 16 | description ASCII transliterations of Unicode text |
17 | 17 | long_description Unidecode takes Unicode data and tries to \ |
… |
… |
long_description Unidecode takes Unicode data and tries to \ |
24 | 24 | Perl module by Sean M. Burke. |
25 | 25 | homepage https://pypi.python.org/pypi/$realName/ |
26 | 26 | |
27 | | master_sites pypi:u/$realName |
| 27 | master_sites pypi:U/$realName/ |
28 | 28 | distname $realName-${version} |
29 | | checksums rmd160 43424072a59c6cbb88e3915cc1942bed33eeb6d5 \ |
30 | | sha256 ed4418b4b1b190487753f1cca6299e8076079258647284414e6d607d1f8a00e0 |
| 29 | checksums md5 5862c893d5aac49f5eefbd96e9e9e682 \ |
| 30 | rmd160 d2eb1039b8b77728784d8b1bebe1a5bd998d1dfa \ |
| 31 | sha256 f0f8d53d39877da4849293d548eecb5e79364b573643296869dbc7f5b86709ef |
31 | 32 | |
32 | | python.versions 27 33 34 35 36 |
| 33 | python.versions 27 33 34 |
33 | 34 | |
34 | 35 | if {${subport} ne ${name}} { |
35 | 36 | livecheck.type none |
… |
… |
if {${subport} ne ${name}} { |
38 | 39 | # The usual URL to use here would be the master site, but for some |
39 | 40 | # reason PyPi isn't serving anything at that URL. |
40 | 41 | livecheck.url ${homepage} |
41 | | livecheck.regex $realName (\\d+(\\.\\d+)+) |
| 42 | livecheck.regex $realName-(\\d+(?:\\.\\d+)*)${extract.suffix} |
42 | 43 | } |