void-packages/srcpkgs/python-bitarray/template

29 lines
835 B
Bash

# Template file for 'python-bitarray'
pkgname=python-bitarray
version=0.8.2
revision=1
wrksrc="bitarray-${version}"
pycompile_module="bitarray"
build_style=python-module
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.eu>"
license="Python-2.0"
homepage="https://github.com/ilanschnell/bitarray"
distfiles="https://github.com/ilanschnell/bitarray/archive/${version}.tar.gz"
checksum=2fcf65c520c86268bcd5f2ba2edec40d60af923361b7527b1b30b51e5d656a59
post_install() {
vlicense LICENSE
}
python3-bitarray_package() {
pycompile_module="bitarray"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}