2016-02-11 09:34:40 +01:00
|
|
|
# Template file for 'python-bitarray'
|
|
|
|
pkgname=python-bitarray
|
|
|
|
version=0.8.1
|
2016-02-20 20:02:52 +01:00
|
|
|
revision=2
|
|
|
|
wrksrc="bitarray-${version}"
|
|
|
|
pycompile_module="bitarray"
|
2016-02-11 09:34:40 +01:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
build_style=python-module
|
2016-02-20 20:02:52 +01:00
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2016-02-11 09:34:40 +01:00
|
|
|
makedepends="python-devel python3.4-devel libcurl-devel"
|
2016-02-20 20:02:52 +01:00
|
|
|
short_desc="Python2 module for efficiently representing arrays of booleans"
|
2016-02-11 09:34:40 +01:00
|
|
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
2016-02-20 20:02:52 +01:00
|
|
|
license="PSF-2"
|
2016-02-11 09:34:40 +01:00
|
|
|
homepage="https://github.com/ilanschnell/bitarray"
|
2016-02-20 20:02:52 +01:00
|
|
|
distfiles="https://github.com/ilanschnell/bitarray/archive/${version}.tar.gz"
|
2016-02-11 09:34:40 +01:00
|
|
|
checksum=428212974285eacf9f3b4a6fb60f365d727ab6e30b98de4eb2f238a7b0dd4b50
|
|
|
|
|
2016-02-20 20:02:52 +01:00
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
2016-02-11 09:34:40 +01:00
|
|
|
python3.4-bitarray_package() {
|
|
|
|
pycompile_version="3.4"
|
2016-02-20 20:02:52 +01:00
|
|
|
pycompile_module="bitarray"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
2016-02-11 09:34:40 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
2016-02-20 20:02:52 +01:00
|
|
|
vlicense LICENSE
|
2016-02-11 09:34:40 +01:00
|
|
|
}
|
|
|
|
}
|