[arch-commits] Commit in python-joblib/trunk (PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu Oct 3 18:40:16 UTC 2019
Date: Thursday, October 3, 2019 @ 18:40:16
Author: aginiewicz
Revision: 512542
upgpkg: python-joblib 0.14.0-2
python-joblib: removed python2 support
Modified:
python-joblib/trunk/PKGBUILD
----------+
PKGBUILD | 37 ++++++-------------------------------
1 file changed, 6 insertions(+), 31 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 18:38:46 UTC (rev 512541)
+++ PKGBUILD 2019-10-03 18:40:16 UTC (rev 512542)
@@ -1,52 +1,27 @@
# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
# Contributor: Francois Boulogne <fboulogne at april dot org>
-pkgbase=python-joblib
-pkgname=('python2-joblib' 'python-joblib')
+pkgname='python-joblib'
pkgver=0.14.0
-pkgrel=1
+pkgrel=2
pkgdesc="Set of tools to provide lightweight pipelining in Python"
arch=('any')
url="https://joblib.readthedocs.io/"
license=('BSD')
-makedepends=('python2-setuptools' 'python-setuptools')
+depends=('python')
+optdepends=('python-numpy: for array manipulation'
+ 'python-lz4: for compressed serialization')
+makedepends=('python-setuptools')
source=("https://github.com/joblib/joblib/archive/${pkgver}.tar.gz")
sha256sums=('9e66f3e31669f772fcbad95043fd05e4530e78288d60363b785d4c288a5dc707')
build() {
- cd "$srcdir"
- cp -a joblib-${pkgver} joblib-py2-${pkgver}
-
- # "Building Python2"
- cd "$srcdir"/joblib-py2-${pkgver}
- python2 setup.py build
-
- # "Building Python3"
cd "$srcdir"/joblib-${pkgver}
python setup.py build
}
-package_python2-joblib() {
- depends=('python2')
- optdepends=('python2-numpy: for array manipulation'
- 'python2-lz4: for compressed serialization')
-
- cd "$srcdir"/joblib-py2-${pkgver}
-
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
package_python-joblib() {
- depends=('python')
- optdepends=('python-numpy: for array manipulation'
- 'python-lz4: for compressed serialization')
-
cd "$srcdir"/joblib-${pkgver}
-
python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-
More information about the arch-commits
mailing list