Ticket #48878: py-singledispatch_Portfile

File py-singledispatch_Portfile, 1.1 KB (added by jjstickel (Jonathan Stickel), 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-singledispatch
8version             3.4.0.3
9categories-append   devel
10platforms           darwin
11license             MIT
12supported_archs     noarch
13
14python.versions     27
15
16maintainers         nomaintainer
17
18description         This library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3.
19long_description    ${description}
20
21homepage            https://pypi.python.org/pypi/singledispatch
22master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
23
24distname            ${python.rootname}-${version}
25
26checksums           rmd160  295bbb6dfbd20607ec73869f6ad4ba1b2cd8157d \
27                    sha256  5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c
28
29if {${name} ne ${subport}} {
30    livecheck.type      none
31
32    depends_build-append \
33                        port:py${python.version}-setuptools
34} else {
35    livecheck.type      pypi
36    livecheck.name      ${python.rootname}.py
37}