You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
53 lines
1.6 KiB
Tcl
53 lines
1.6 KiB
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-packaging
|
|
version 20.9
|
|
revision 0
|
|
platforms darwin
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
license {BSD Apache-2}
|
|
|
|
description Core utilities for Python packages
|
|
|
|
long_description $description
|
|
|
|
homepage https://github.com/pypa/packaging
|
|
|
|
checksums rmd160 13af4881f42cfaa3b857096a93001501a5884371 \
|
|
sha256 5b327ac1320dc863dca72f4514ecc086f31186744b84a230374cc1fd776feae5 \
|
|
size 81267
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
if {$subport ne $name} {
|
|
depends_build-append port:py${python.version}-setuptools
|
|
|
|
depends_lib-append port:py${python.version}-parsing
|
|
|
|
set docfiles {LICENSE LICENSE.APACHE LICENSE.BSD README.rst}
|
|
|
|
if {${python.version} < 37} {
|
|
version 20.4
|
|
revision 0
|
|
checksums rmd160 570cb61f1cb0b903dc777f98673c259d8b393130 \
|
|
sha256 4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8 \
|
|
size 74402
|
|
|
|
depends_lib-append port:py${python.version}-six
|
|
|
|
set docfiles {CHANGELOG.rst LICENSE LICENSE.APACHE LICENSE.BSD README.rst}
|
|
}
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
foreach docfile ${docfiles} {
|
|
xinstall -m 0644 -W ${worksrcpath} ${docfile} ${destroot}${docdir}
|
|
}
|
|
}
|
|
}
|