# -*- 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
# $Id: Portfile 115938 2014-01-14 21:38:16Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-backports
version             1.0
categories-append   devel
platforms           darwin
license             Python
supported_archs     noarch

python.versions     27 33

maintainers         stromnov openmaintainer

description         Namespace for backported Python features
long_description    ${description}

homepage            http://bitbucket.org/brandon/backports
master_sites        ${homepage}

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

    worksrcdir          backports

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

    }
}

livecheck.type      none
