Ticket #47534: Portfile

File Portfile, 1.1 KB (added by xeron (Ivan Larionov), 9 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-pathlib
7version             1.0.1
8license             MIT
9platforms           darwin
10supported_archs     noarch
11maintainers         gmail.com:xeron.oskom openmaintainer
12description         Object-oriented filesystem paths
13long_description    Pathlib offers a set of classes to handle filesystem paths.
14
15python.versions     27 34
16
17homepage            https://pypi.python.org/pypi/pathlib/
18master_sites        https://pypi.python.org/packages/source/p/pathlib/
19distname            pathlib-${version}
20
21checksums           md5     5099ed48be9b1ee29b31c82819240537 \
22                    rmd160  045915062c64c603ae4d6ac61d98c96e14bc4220 \
23                    sha256  6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f
24
25if {${name} ne ${subport}} {
26    depends_build-append    port:py${python.version}-setuptools
27    livecheck.type          none
28} else {
29    livecheck.type      regex
30    livecheck.url       ${homepage}
31    livecheck.regex     "pathlib (\\d+\\.\\d+(?:\\.\\d+))"
32}