30 lines
890 B
Bash
30 lines
890 B
Bash
# Template file for 'python-Bottleneck'
|
|
pkgname=python-Bottleneck
|
|
version=1.3.2
|
|
revision=1
|
|
wrksrc="Bottleneck-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools python-numpy python3-numpy"
|
|
makedepends="python-devel python3-devel"
|
|
depends="python-numpy"
|
|
short_desc="Fast NumPy array functions written in C (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/kwgoodman/bottleneck"
|
|
distfiles="${PYPI_SITE}/B/Bottleneck/Bottleneck-${version}.tar.gz"
|
|
checksum=20179f0b66359792ea283b69aa16366419132f3b6cf3adadc0c48e2e8118e573
|
|
|
|
post_install() {
|
|
rm -f ${DESTDIR}/usr/lib/python*/site-packages/bottleneck/LICENSE
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-Bottleneck_package() {
|
|
depends="python3-numpy"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|