New package: python-Bottleneck-1.0.0
This commit is contained in:
parent
0442e45db8
commit
c09901c185
2 changed files with 34 additions and 0 deletions
33
srcpkgs/python-Bottleneck/template
Normal file
33
srcpkgs/python-Bottleneck/template
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'python-Bottleneck'
|
||||
pkgname=python-Bottleneck
|
||||
version=1.0.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-devel python3.4-numpy-devel"
|
||||
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
|
||||
}
|
||||
}
|
1
srcpkgs/python3.4-Bottleneck
Symbolic link
1
srcpkgs/python3.4-Bottleneck
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-Bottleneck
|
Loading…
Reference in a new issue