diff --git a/Users/esafak/Downloads/Portfile b/Portfile
index 8a163b7..3a02b88 100644
old
|
new
|
|
1 | 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 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | | PortGroup python 1.0 |
| 4 | PortGroup python 1.0 |
5 | 5 | |
6 | | name py-isodate |
7 | | version 0.5.0 |
| 6 | set base_name isodate |
| 7 | name py-$base_name |
| 8 | version 0.5.4 |
| 9 | python.versions 26 27 33 34 35 36 |
8 | 10 | |
9 | 11 | license BSD |
10 | 12 | platforms darwin |
11 | | maintainers nomaintainer |
| 13 | maintainers @esafak |
12 | 14 | |
13 | 15 | description An ISO 8601 date/time/duration parser and formatter |
14 | | |
15 | 16 | long_description This module implements ISO 8601 date, time and duration \ |
16 | 17 | parsing. The implementation follows ISO8601:2004 standard, \ |
17 | 18 | and implements only date/time representations mentioned in \ |
18 | 19 | the standard. If something is not mentioned there, then it \ |
19 | 20 | is treated as non existent, and not as an allowed option. |
20 | 21 | |
21 | | homepage https://pypi.python.org/pypi/isodate |
22 | | master_sites pypi:i/isodate |
23 | | distname isodate-${version} |
| 22 | homepage https://pypi.python.org/pypi/$base_name |
| 23 | master_sites pypi:i/$base_name |
24 | 24 | |
25 | | checksums md5 9a267e9327feb3d021cae26002ba6e0e \ |
26 | | rmd160 4154ab9e03a9a35649569d4dc65bae1d40f58d88 \ |
27 | | sha256 f3e436a9c321882942a6c62e9d8ea49787b4c0ea7f7bb3cbd047bcf76bd0dfbe |
| 25 | checksums rmd160 8b483cedd72d92c3d0182a0d409672e1e21dc893 \ |
| 26 | sha256 42105c41d037246dc1987e36d96f3752ffd5c0c24834dd12e4fdbe1e79544e31 |
28 | 27 | |
29 | | python.versions 26 27 33 34 |
| 28 | distname $base_name-${version} |
30 | 29 | |
31 | 30 | if {${name} ne ${subport}} { |
32 | 31 | depends_build-append port:py${python.version}-setuptools |
… |
… |
if {${name} ne ${subport}} { |
43 | 42 | } else { |
44 | 43 | livecheck.type regex |
45 | 44 | livecheck.url ${homepage} |
46 | | livecheck.regex {isodate-([0-9\.]+)\.tar\.gz} |
| 45 | livecheck.regex $base_name (\\d+(\\.\\d+)+) |
47 | 46 | } |