2015-08-26 12:15:15 +02:00
|
|
|
# Template file for 'python-Bottleneck'
|
|
|
|
pkgname=python-Bottleneck
|
|
|
|
version=1.0.0
|
2015-11-20 08:15:40 +01:00
|
|
|
revision=2
|
2015-08-26 12:15:15 +02:00
|
|
|
wrksrc="Bottleneck-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2015-11-20 08:15:40 +01:00
|
|
|
makedepends="python-devel python3.4-devel python-numpy python3.4-numpy"
|
2015-08-26 12:15:15 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|