[arch-commits] Commit in python-threadpoolctl/repos (2 files)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu May 21 11:51:02 UTC 2020
Date: Thursday, May 21, 2020 @ 11:51:01
Author: aginiewicz
Revision: 631144
archrelease: copy trunk to community-any
Added:
python-threadpoolctl/repos/community-any/
python-threadpoolctl/repos/community-any/PKGBUILD
(from rev 631143, python-threadpoolctl/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-threadpoolctl/repos/community-any/PKGBUILD (from rev 631143, python-threadpoolctl/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-05-21 11:51:01 UTC (rev 631144)
@@ -0,0 +1,25 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Butui Hu <hot123tea123 at gmail.com>
+
+pkgname=python-threadpoolctl
+pkgver=2.0.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')
+source=("https://files.pythonhosted.org/packages/source/t/threadpoolctl/threadpoolctl-${pkgver}.tar.gz")
+sha256sums=('48b3e3e9ee079d6b5295c65cbe255b36a3026afc6dde3fb49c085cd0c004bbcf')
+
+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
+}
More information about the arch-commits
mailing list