Files
2026-03-27 15:11:37 -04:00

37 lines
1.2 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-crcmod
version 1.7
revision 0
license MIT
maintainers nomaintainer
description Python module for creating functions computing the Cyclic Redundancy Check (CRC).
long_description {*}${description}
homepage https://crcmod.sourceforge.net/
master_sites sourceforge:crcmod
distname crcmod-${version}
checksums rmd160 503b415394d7c833b22e5a999454c0d67598cd54 \
sha256 dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e \
size 89670
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
test.run yes
test.cmd ${python.bin} test/test_crcmod.py
python.test_framework
post-destroot {
xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 -W ${worksrcpath} README changelog \
${destroot}${prefix}/share/doc/${subport}
}
}