Files
2025-12-28 06:35:14 -05:00

42 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 github 1.0
PortGroup python 1.0
github.setup ICRAR crc32c 2.8 v
github.tarball_from archive
revision 0
name py-${github.project}
categories-append devel
license LGPL-2.1+
maintainers nomaintainer
description A python package implementing the crc32c algorithm \
in hardware and software.
long_description This package implements the crc32c checksum \
algorithm. It automatically chooses between a \
hardware-based implementation (using the CRC32C \
SSE 4.2 instruction of Intel CPUs, and the crc32* \
instructions on ARMv8 CPUs), or a software-based \
one when no hardware support can be found.
checksums rmd160 de52f9ac88ab73529eb4d92a6016d8f3d9bdf4e4 \
sha256 1495beffd55781e41f915132085eda6a169d849cb69e434fced89f85ccea1497 \
size 48525
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
${destroot}${docdir}
}
test.run yes
}