[arch-commits] Commit in python-threadpoolctl/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Mar 11 18:14:30 UTC 2022


    Date: Friday, March 11, 2022 @ 18:14:30
  Author: arojas
Revision: 1148491

Update to 3.1.0

Modified:
  python-threadpoolctl/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-11 18:10:42 UTC (rev 1148490)
+++ PKGBUILD	2022-03-11 18:14:30 UTC (rev 1148491)
@@ -2,24 +2,24 @@
 # Contributor: Butui Hu <hot123tea123 at gmail.com>
 
 pkgname=python-threadpoolctl
-pkgver=2.2.0
-pkgrel=3
+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-setuptools')
+makedepends=('python-build' 'python-installer' 'python-flit-core')
 source=("https://files.pythonhosted.org/packages/source/t/threadpoolctl/threadpoolctl-${pkgver}.tar.gz")
-sha256sums=('86d4b6801456d780e94681d155779058759eaef3c3564758b17b6c99db5f81cb')
+sha256sums=('a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380')
 
 build() {
   cd "$srcdir"/threadpoolctl-${pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd "$srcdir"/threadpoolctl-${pkgver}
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list