void-packages/srcpkgs/python-Bottleneck/template
2016-06-24 19:56:54 +02:00

33 lines
1 KiB
Bash

# Template file for 'python-Bottleneck'
pkgname=python-Bottleneck
version=1.1.0
revision=1
wrksrc="Bottleneck-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel python-numpy python3.4-numpy"
depends="python-numpy"
pycompile_module="bottleneck"
short_desc="Fast NumPy array functions written in Cython (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://berkeleyanalytics.com/bottleneck/"
license="2-clause-BSD"
distfiles="${PYPI_SITE}/B/Bottleneck/Bottleneck-${version}.tar.gz"
checksum=c3a52b843509bd8d9ef240f0ce2f3e57d05277f85c3239196e3d8979fe5d33de
post_install() {
rm -f ${DESTDIR}/usr/lib/python*/site-packages/bottleneck/LICENSE
vlicense bottleneck/LICENSE
}
python3.4-Bottleneck_package() {
depends="python3.4-numpy"
pycompile_version="3.4"
pycompile_module="bottleneck"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense bottleneck/LICENSE
}
}