Files
2026-03-15 20:59:30 -04:00

46 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-roman
version 5.1
revision 0
categories-append textproc
license ZPL-2.1
platforms {darwin any}
supported_archs noarch
maintainers {aronnax @lpsinger} openmaintainer
description Integer to Roman numerals converter
long_description {*}${description}.
homepage https://github.com/zopefoundation/roman
checksums rmd160 70b42687860dab6a1e4666a4d29e02d016304be3 \
sha256 3a86572e9bc9183e771769601189e5fa32f1620ffeceebb9eca836affb409986 \
size 8066
python.versions 27 310 311 312 313 314
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
if {${python.version} == 27} {
version 3.3
revision 0
checksums rmd160 793b600babe15e5cc811f9eb9fe2fe931378a180 \
sha256 2c46ac8db827d34e4fa9ccc0577e7f0b0d84f16ffe112351bd4f1ec2eb12d73f \
size 7577
} else {
patchfiles-append pyproject.toml.patch
}
test.run yes
python.test_framework {}
test.cmd ${python.bin} setup.py test
livecheck.type none
}