[arch-commits] Commit in python-threadpoolctl/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Mar 11 18:14:40 UTC 2022
Date: Friday, March 11, 2022 @ 18:14:40
Author: arojas
Revision: 1148492
archrelease: copy trunk to community-any
Added:
python-threadpoolctl/repos/community-any/PKGBUILD
(from rev 1148491, python-threadpoolctl/trunk/PKGBUILD)
Deleted:
python-threadpoolctl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 50 +++++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 25 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-11 18:14:30 UTC (rev 1148491)
+++ PKGBUILD 2022-03-11 18:14:40 UTC (rev 1148492)
@@ -1,25 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Butui Hu <hot123tea123 at gmail.com>
-
-pkgname=python-threadpoolctl
-pkgver=2.2.0
-pkgrel=3
-pkgdesc="Python helpers to limit the number of threads used in native libraries that handle their own internal threadpool"
-arch=('any')
-url="https://github.com/joblib/threadpoolctl"
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/t/threadpoolctl/threadpoolctl-${pkgver}.tar.gz")
-sha256sums=('86d4b6801456d780e94681d155779058759eaef3c3564758b17b6c99db5f81cb')
-
-build() {
- cd "$srcdir"/threadpoolctl-${pkgver}
- python setup.py build
-}
-
-package() {
- cd "$srcdir"/threadpoolctl-${pkgver}
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-threadpoolctl/repos/community-any/PKGBUILD (from rev 1148491, python-threadpoolctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-11 18:14:40 UTC (rev 1148492)
@@ -0,0 +1,25 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Butui Hu <hot123tea123 at gmail.com>
+
+pkgname=python-threadpoolctl
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="Python helpers to limit the number of threads used in native libraries that handle their own internal threadpool"
+arch=('any')
+url="https://github.com/joblib/threadpoolctl"
+license=('BSD')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-flit-core')
+source=("https://files.pythonhosted.org/packages/source/t/threadpoolctl/threadpoolctl-${pkgver}.tar.gz")
+sha256sums=('a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380')
+
+build() {
+ cd "$srcdir"/threadpoolctl-${pkgver}
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd "$srcdir"/threadpoolctl-${pkgver}
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list