Ticket #46907: Portfile

File Portfile, 1010 bytes (added by jfcaron3, 9 years ago)
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-natsort
8version             3.5.2
9platforms           darwin
10license             MIT
11maintainers         nomaintainer
12
13description         Sort lists naturally
14long_description    ${description}
15
16homepage            https://github.com/SethMMorton/natsort
17master_sites        https://pypi.python.org/packages/source/n/natsort
18distname            natsort-3.5.2
19
20checksums           rmd160  7c6a716355f503779bcd43120d6ac7f8f9acbf49 \
21                    sha256  f8129379aeb5a99ec6fbbb57acbcabeb0b0996db6a8bea3f9feb6766650ce642
22
23python.versions     25 26 27 32 33 34
24
25if {${name} ne ${subport}} {
26    depends_build-append \
27                        port:py${python.version}-setuptools
28
29    livecheck.type      none
30} else {
31    livecheck.type      regex
32    livecheck.url       ${master_sites}
33}