Files

48 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-txrequests
version 0.9.6
revision 0
categories-append net
platforms darwin
supported_archs noarch
license Apache-2
maintainers nomaintainer
description Asynchronous Python HTTP for Humans.
long_description ${description}
homepage https://github.com/tardyp/txrequests
checksums rmd160 1f22e5af917532e12ee0b394efedabc6b67f2ad3 \
sha256 b452a1cafa4d005678f6fa47922a330feb4907d5b4732d1841ca98e89f1362e1 \
size 5306
python.versions 38 39
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append \
port:py${python.version}-requests \
port:py${python.version}-twisted
test.run yes
test.cmd ${python.bin}
test.target test_txrequests.py
test.env PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst \
LICENSE ${destroot}${docdir}
}
livecheck.type none
}