Files
macports-ports/python/py-six/Portfile
2026-03-24 20:47:42 -04:00

42 lines
1.4 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-six
version 1.17.0
revision 0
categories-append devel
license MIT
platforms {darwin any}
supported_archs noarch
maintainers nomaintainer
description ${name} is a Python 2 and 3 compatibility library.
long_description {*}${description} It provides utility functions for smoothing\
over the differences between the Python versions with the goal\
of writing Python code that is compatible on both Python versions.
homepage https://pypi.python.org/pypi/six/
checksums rmd160 e1e9c54c6b241bfe0e3fdcc89678830b51c5dbfb \
sha256 ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81 \
size 34031
# keep Python 2.7 as this is an (indirect) dependency of py-virtualenv
# See <https://trac.macports.org/wiki/Python#VersionPolicy>
python.versions 27 35 36 39 310 311 312 313 314
if {${name} ne ${subport}} {
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE CHANGES \
${destroot}${docdir}
}
}