# -*- 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 any} supported_archs noarch maintainers nomaintainer license PSF homepage https://pypi.python.org/pypi/backports description Namespace for backported Python features long_description {*}${description} # keep Python 2.7 subport here, as it is an indirect dependency of py-virtualenv python.versions 27 39 310 311 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 } }