# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-backports
version             1.0
revision            0

categories-append   devel
platforms           darwin
supported_archs     noarch
maintainers         {stromnov @stromnov} openmaintainer
license             PSF

homepage            https://pypi.python.org/pypi/backports

description         Namespace for backported Python features
long_description    ${description}

# keep all Python versions here, indirect dependency of py-virtualenv
python.versions     27 34 35 36 37 38 39

if {${name} ne ${subport}} {
    distfiles

    worksrcdir      backports

    extract.mkdir   yes

    post-extract {
        file copy ${filespath}/setup.py ${worksrcpath}
        file mkdir ${worksrcpath}/backports
        file copy ${filespath}/__init__.py ${worksrcpath}/backports
    }
}

livecheck.type      none
