You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
37 lines
980 B
Tcl
37 lines
980 B
Tcl
# -*- 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 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
|
|
}
|
|
}
|