Files
2020-03-01 11:09:16 -05:00

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-transaction
version 3.0.0
revision 0
categories-append databases
platforms darwin
supported_archs noarch
license ZPL-2.1
maintainers nomaintainer
description generic transaction implementation for Python
long_description ${description}
homepage https://github.com/zopefoundation/transaction
checksums rmd160 1759e778a21451e4a35bed4d030841a0f553c405 \
sha256 3b0ad400cb7fa25f95d1516756c4c4557bb78890510f69393ad0bd15869eaa2d \
size 72319
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}-zopeinterface
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \
COPYRIGHT.txt CHANGES.rst ${destroot}${docdir}
}
depends_test-append \
port:py${python.version}-mock
test.run yes
livecheck.type none
}