Ticket #51115: Portfile_py-pathlib2

File Portfile_py-pathlib2, 1.3 KB (added by jjstickel (Jonathan Stickel), 8 years ago)

new port pathlib2

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:
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pathlib2
8version             2.1.0
9categories-append   devel
10platforms           darwin
11license             MIT
12supported_archs     noarch
13
14python.versions     27 34 35
15
16maintainers         stromnov openmaintainer
17
18description         Object-oriented filesystem paths
19long_description    \
20    The old pathlib module on bitbucket is in bugfix-only mode. The goal of\
21    pathlib2 is to provide a backport of standard pathlib module which tracks\
22    the standard library module, so all the newest features of the standard\
23    pathlib can be used also on older Python versions.
24
25homepage            http://pypi.python.org/pypi/${python.rootname}
26master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
27
28distname            ${python.rootname}-${version}
29
30checksums           rmd160  78b3c9f3bf8b8d377991ad64051f013e99b81ece \
31                    sha256  deb3a960c1d55868dfbcac98432358b92ba89d95029cddd4040db1f27405055c
32
33if {${name} ne ${subport}} {
34    depends_build-append    port:py${python.version}-setuptools
35
36    livecheck.type      none
37} else {
38    livecheck.type      pypi
39    livecheck.name      ${python.rootname}
40}