From c09901c185388b6e7df3a280c158ab1f1442fc2a Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 26 Aug 2015 12:15:15 +0200 Subject: [PATCH] New package: python-Bottleneck-1.0.0 --- srcpkgs/python-Bottleneck/template | 33 ++++++++++++++++++++++++++++++ srcpkgs/python3.4-Bottleneck | 1 + 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/python-Bottleneck/template create mode 120000 srcpkgs/python3.4-Bottleneck diff --git a/srcpkgs/python-Bottleneck/template b/srcpkgs/python-Bottleneck/template new file mode 100644 index 00000000000..9e9fe4b767a --- /dev/null +++ b/srcpkgs/python-Bottleneck/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3.4-Bottleneck b/srcpkgs/python3.4-Bottleneck new file mode 120000 index 00000000000..22f79a06e74 --- /dev/null +++ b/srcpkgs/python3.4-Bottleneck @@ -0,0 +1 @@ +python-Bottleneck \ No newline at end of file