void-packages/srcpkgs/python-bitarray/template
2019-12-23 18:04:48 +01:00

28 lines
836 B
Bash

# Template file for 'python-bitarray'
pkgname=python-bitarray
version=1.0.1
revision=2
wrksrc="bitarray-${version}"
build_style=python-module
pycompile_module="bitarray"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel libcurl-devel"
short_desc="Python2 module for efficiently representing arrays of booleans"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="Python-2.0"
homepage="https://github.com/ilanschnell/bitarray"
distfiles="https://github.com/ilanschnell/bitarray/archive/${version}.tar.gz"
checksum=bc5be12525ba67c6dd1fffc28b4a035aa52139a4be0aa94df1b544074284113e
post_install() {
vlicense LICENSE
}
python3-bitarray_package() {
pycompile_module="bitarray"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}