Files
2020-12-04 22:13:24 -05:00

49 lines
1.5 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-semver
version 2.13.0
revision 0
platforms darwin
supported_archs noarch
license BSD
maintainers {@korusuke somaiya.edu:karan.sheth} openmaintainer
description Python helper for Semantic Versioning (http://semver.org/)
long_description ${description}
homepage https://github.com/k-bx/python-semver
checksums sha256 fa0fe2722ee1c3f57eac478820c3a5ae2f624af8264cbdf9000c980ff7f75e3f \
rmd160 8e5914920e95e3c7db2ca658ed2915641fb19d57 \
size 45816
python.versions 37 38 39
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-setuptools
depends_test-append \
port:py${python.version}-pytest \
port:py${python.version}-pytest-cov
test.run yes
test.cmd py.test-${python.branch} test_semver.py
test.args -o addopts=''
test.target
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.txt ${destroot}${docdir}
}
livecheck.type none
}