You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
44 lines
1.5 KiB
Tcl
44 lines
1.5 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-BitVector
|
|
version 3.5.0
|
|
revision 0
|
|
|
|
categories-append math
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license PSF
|
|
maintainers {petr @petrrr} openmaintainer
|
|
|
|
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.
|
|
|
|
homepage https://engineering.purdue.edu/kak/dist/${python.rootname}-${version}.html
|
|
|
|
checksums rmd160 d3152f3ca9c1b9debc1cf9c770dc4968cd27adfc \
|
|
sha256 cac2fbccf11e325115827ed7be03e5fd62615227b0bbf3fa5a18a842a221839c \
|
|
size 161704
|
|
|
|
python.versions 312
|
|
|
|
if {${name} ne ${subport}} {
|
|
test.run yes
|
|
python.test_framework
|
|
test.cmd ${python.bin} TestBitVector/Test.py
|
|
|
|
# Adding documentation & examples
|
|
post-destroot {
|
|
set dest_doc ${destroot}${prefix}/share/doc/${subport}
|
|
copy ${worksrcpath}/${distname}.html ${dest_doc}
|
|
|
|
# Avoid creation of example directory
|
|
delete ${dest_doc}/examples
|
|
copy ${worksrcpath}/Examples ${dest_doc}/examples
|
|
}
|
|
}
|