You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
52 lines
1.6 KiB
Tcl
52 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-pytools
|
|
version 2020.1
|
|
revision 0
|
|
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license MIT
|
|
maintainers nomaintainer
|
|
|
|
description A collection of tools for Python
|
|
long_description Pytools is a big bag of things that are 'missing' \
|
|
from the Python standard library.
|
|
|
|
homepage https://documen.tician.de/pytools/
|
|
|
|
checksums rmd160 741865001adeffcf80e01790bcf7b57cca34f246 \
|
|
sha256 c132d17855584ad61c6e00f3ff11146499755944afc400cce9eae0ecf03d04a6 \
|
|
size 60662
|
|
|
|
python.versions 27 35 36 37 38
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_lib-append port:py${python.version}-appdirs \
|
|
port:py${python.version}-decorator \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-six
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
|
|
${destroot}${docdir}
|
|
}
|
|
|
|
depends_test-append port:py${python.version}-pytest
|
|
|
|
test.run yes
|
|
test.cmd py.test-${python.branch}
|
|
test.target
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
livecheck.type none
|
|
}
|