35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
# Template file for 'python-bitarray'
|
|
pkgname=python-bitarray
|
|
version=0.8.1
|
|
revision=4
|
|
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@gmail.com>"
|
|
license="PSF-2"
|
|
homepage="https://github.com/ilanschnell/bitarray"
|
|
distfiles="https://github.com/ilanschnell/bitarray/archive/${version}.tar.gz"
|
|
checksum=428212974285eacf9f3b4a6fb60f365d727ab6e30b98de4eb2f238a7b0dd4b50
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-bitarray_package() {
|
|
replaces="python3.4-bitarray>=0"
|
|
pycompile_module="bitarray"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|
|
python3.4-bitarray_package() {
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-bitarray>=${version}_${revision}"
|
|
}
|