# Template file for 'python-Bottleneck' pkgname=python-Bottleneck version=1.2.1 revision=4 wrksrc="Bottleneck-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" makedepends="python-devel python3-devel python-numpy python3-numpy" depends="python-numpy" pycompile_module="bottleneck" short_desc="Fast NumPy array functions written in C (Python2)" maintainer="Alessio Sergi " homepage="https://github.com/kwgoodman/bottleneck" license="BSD-2-Clause" distfiles="${PYPI_SITE}/B/Bottleneck/Bottleneck-${version}.tar.gz" checksum=6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36 post_install() { rm -f ${DESTDIR}/usr/lib/python*/site-packages/bottleneck/LICENSE vlicense bottleneck/LICENSE } python3-Bottleneck_package() { depends="python3-numpy" pycompile_module="bottleneck" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense bottleneck/LICENSE } }