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

Last change on this file was 148976, checked in by raimue@…, 18 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.7 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-isodate
8version             0.5.0
9
10license             BSD
11platforms           darwin
12maintainers         nomaintainer
13
14description         An ISO 8601 date/time/duration parser and formatter
15
16long_description    This module implements ISO 8601 date, time and duration \
17                    parsing. The implementation follows ISO8601:2004 standard, \
18                    and implements only date/time representations mentioned in \
19                    the standard. If something is not mentioned there, then it \
20                    is treated as non existent, and not as an allowed option.
21
22homepage            https://pypi.python.org/pypi/isodate
23master_sites        pypi:i/isodate
24distname            isodate-${version}
25
26checksums           md5     9a267e9327feb3d021cae26002ba6e0e \
27                    rmd160  4154ab9e03a9a35649569d4dc65bae1d40f58d88 \
28                    sha256  f3e436a9c321882942a6c62e9d8ea49787b4c0ea7f7bb3cbd047bcf76bd0dfbe
29
30python.versions     26 27 33 34
31
32if {${name} ne ${subport}} {
33    depends_build-append    port:py${python.version}-setuptools
34
35    test.run        yes
36    test.cmd        ${python.bin} run_tests.py
37    test.target
38
39    post-destroot {
40        xinstall -m 644 -W ${worksrcpath} CHANGES.txt MANIFEST.in \
41            README.rst TODO.txt ${destroot}${prefix}/share/doc/${subport}
42    }
43    livecheck.type  none
44} else {
45    livecheck.type  regex
46    livecheck.url   ${homepage}
47    livecheck.regex {isodate-([0-9\.]+)\.tar\.gz}
48}
Note: See TracBrowser for help on using the repository browser.