33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
# Template file for 'python-Bottleneck'
|
|
pkgname=python-Bottleneck
|
|
version=1.0.0
|
|
revision=2
|
|
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=8d9b7ad4fadf9648acc924a6ee522c7cb5b474e75faaad9d90dfd55e2805b495
|
|
|
|
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
|
|
}
|
|
}
|