2013-10-27 20:12:19 +00:00
|
|
|
# -*- 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
|
|
|
|
|
|
2019-11-16 10:18:59 -05:00
|
|
|
name py-BitVector
|
2022-02-16 10:13:40 -05:00
|
|
|
version 3.5.0
|
2019-11-16 10:18:59 -05:00
|
|
|
revision 0
|
2014-02-21 18:01:25 +00:00
|
|
|
|
2013-10-27 20:12:19 +00:00
|
|
|
categories-append math
|
2015-05-05 18:26:37 +00:00
|
|
|
supported_archs noarch
|
2022-12-07 18:51:53 +11:00
|
|
|
platforms {darwin any}
|
2019-11-16 10:18:59 -05:00
|
|
|
license PSF
|
2018-05-07 06:45:24 -05:00
|
|
|
maintainers {petr @petrrr} openmaintainer
|
2013-10-27 20:12:19 +00:00
|
|
|
|
|
|
|
|
description A memory-efficient packed representation for bit arrays
|
|
|
|
|
long_description The BitVector class is for a memory-efficient packed \
|
|
|
|
|
representation of bit arrays and for logical operations \
|
|
|
|
|
on such arrays. It is written in pure Python.
|
|
|
|
|
|
2019-11-16 10:18:59 -05:00
|
|
|
homepage https://engineering.purdue.edu/kak/dist/${python.rootname}-${version}.html
|
2013-10-27 20:12:19 +00:00
|
|
|
|
2022-02-16 10:13:40 -05:00
|
|
|
checksums rmd160 d3152f3ca9c1b9debc1cf9c770dc4968cd27adfc \
|
|
|
|
|
sha256 cac2fbccf11e325115827ed7be03e5fd62615227b0bbf3fa5a18a842a221839c \
|
|
|
|
|
size 161704
|
2013-10-27 20:12:19 +00:00
|
|
|
|
2024-02-03 10:08:20 -05:00
|
|
|
python.versions 312
|
2013-10-27 20:12:19 +00:00
|
|
|
|
2013-12-05 08:44:51 +00:00
|
|
|
if {${name} ne ${subport}} {
|
2022-02-16 10:13:40 -05:00
|
|
|
test.run yes
|
2023-11-11 13:55:43 -05:00
|
|
|
python.test_framework
|
2022-02-16 10:13:40 -05:00
|
|
|
test.cmd ${python.bin} TestBitVector/Test.py
|
2013-10-27 20:12:19 +00:00
|
|
|
|
|
|
|
|
# Adding documentation & examples
|
|
|
|
|
post-destroot {
|
2014-02-21 18:01:25 +00:00
|
|
|
set dest_doc ${destroot}${prefix}/share/doc/${subport}
|
|
|
|
|
copy ${worksrcpath}/${distname}.html ${dest_doc}
|
2013-10-27 20:12:19 +00:00
|
|
|
|
|
|
|
|
# Avoid creation of example directory
|
2014-02-21 18:01:25 +00:00
|
|
|
delete ${dest_doc}/examples
|
|
|
|
|
copy ${worksrcpath}/Examples ${dest_doc}/examples
|
2013-10-27 20:12:19 +00:00
|
|
|
}
|
|
|
|
|
}
|