[arch-commits] Commit in python-bottleneck/trunk (PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu Oct 3 18:38:40 UTC 2019
Date: Thursday, October 3, 2019 @ 18:38:39
Author: aginiewicz
Revision: 512540
upgpkg: python-bottleneck 1.2.1-4
python-bottlenect: remove python2 support
Modified:
python-bottleneck/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++------------------------------
1 file changed, 6 insertions(+), 30 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 18:36:24 UTC (rev 512539)
+++ PKGBUILD 2019-10-03 18:38:39 UTC (rev 512540)
@@ -2,51 +2,27 @@
# Contributor: Michael Schubert <mschu.dev at gmail>
# Contributor: Panagiotis Mavrogiorgos (pmav99) <> (gmail)
-pkgbase=python-bottleneck
-pkgname=('python2-bottleneck' 'python-bottleneck')
+pkgname='python-bottleneck'
pkgver=1.2.1
-pkgrel=3
+pkgrel=4
pkgdesc="Fast NumPy array functions written in Cython"
arch=('x86_64')
url="https://github.com/kwgoodman/bottleneck"
license=('BSD')
-makedepends=('python2-setuptools' 'python-setuptools' 'python-numpy' 'python2-numpy')
+makedepends=('python-setuptools')
+depends=('python-numpy')
+optdepends=('python-nose: needed for integrated test suite'
+ 'python-scipy: needed for integrated benchmarks')
source=("https://github.com/kwgoodman/bottleneck/archive/v${pkgver}.tar.gz")
sha256sums=('268a21f451f1fe3749619c64d36e9feda84fefdcb82a4701a3e63a9430874b22')
build() {
- cd "$srcdir"
- cp -a bottleneck-${pkgver} bottleneck-py2-${pkgver}
-
- # "Building Python2"
- cd "$srcdir"/bottleneck-py2-${pkgver}
- python2 setup.py build
-
- # "Building Python3"
cd "$srcdir"/bottleneck-${pkgver}
python setup.py build
}
-package_python2-bottleneck() {
- depends=('python2-numpy')
- optdepends=('python2-nose: needed for integrated test suite'
- 'python2-scipy: needed for integrated benchmarks')
-
- cd "$srcdir"/bottleneck-py2-${pkgver}
-
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
package_python-bottleneck() {
- depends=('python-numpy')
- optdepends=('python-nose: needed for integrated test suite'
- 'python-scipy: needed for integrated benchmarks')
-
cd "$srcdir"/bottleneck-${pkgver}
-
python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list