Files

47 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

# -*- 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-BitArray2D
version 2.1
categories-append math
supported_archs noarch
2022-12-07 18:06:36 +11:00
platforms {darwin any}
maintainers {petr @petrrr} openmaintainer
license PSF
description A memory-efficient packed representation for 2D bit arrays
long_description The BitArray2D class is for a memory-efficient packed \
representation of 2D bit arrays and for logical and other \
operations (such as blob dilations, erosions, etc.) on \
such arrays. The implementation of the class takes \
advantage of the facilities of the BitVector class for \
the memory representation and for the allowed operations.
homepage https://engineering.purdue.edu/kak/dist2d/${python.rootname}-${version}.html
checksums rmd160 6b25f62b9ea8ea7f4d680e31fa210d03574e1173 \
sha256 d0875cb8384a76925981fec18b88bf66927b2dcddea104e954a7874351eb8877 \
size 213796
python.versions 312
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-BitVector
test.run yes
python.test_framework
test.cmd ${python.bin} TestBitArray2D/Test.py
post-destroot {
copy ${worksrcpath}/${distname}.html ${destroot}${prefix}/share/doc/${subport}
# Avoid creation of example directory
delete ${destroot}${prefix}/share/doc/${subport}/examples
copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/${subport}/examples
}
}