[arch-commits] Commit in python-threadpoolctl/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:58:33 UTC 2020


    Date: Monday, November 9, 2020 @ 15:58:33
  Author: felixonmars
Revision: 747274

archrelease: copy trunk to community-staging-any

Added:
  python-threadpoolctl/repos/community-staging-any/
  python-threadpoolctl/repos/community-staging-any/PKGBUILD
    (from rev 747272, python-threadpoolctl/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: python-threadpoolctl/repos/community-staging-any/PKGBUILD (from rev 747272, python-threadpoolctl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:58:33 UTC (rev 747274)
@@ -0,0 +1,25 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Butui Hu <hot123tea123 at gmail.com>
+
+pkgname=python-threadpoolctl
+pkgver=2.1.0
+pkgrel=2
+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=('ddc57c96a38beb63db45d6c159b5ab07b6bced12c45a1f07b2b92f272aebfa6b')
+
+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