# -*- 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-rencode
version 1.0.9
revision 0
license GPL-3+
maintainers nomaintainer
description Python module for fast (basic) object serialization similar to bencode
long_description {*}${description}
homepage https://github.com/aresch/rencode
checksums rmd160 8ce40ef73df0268f442d7d4dc6fe8b57bd0e7c46 \
sha256 ca3afe8d09d26fb48ac0ad6773e35ec0ae1b92d038d217685c54c5a86577e2f2 \
size 133188
python.versions 310 311 312 313 314 315
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools \
port:py${python.version}-cython
test.run yes
python.test_framework
test.dir ${worksrcpath}/tests
test.cmd ${python.bin} test_rencode.py
}