pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-threadpoolctl: Import py-threadpoolctl-3.1.0



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Thu May 26 06:44:12 2022 -0700
Changeset:	ba94eb46b7e7b315ac9069e4c8c527549d3f7635

Added Files:
	py-threadpoolctl/DESCR
	py-threadpoolctl/Makefile
	py-threadpoolctl/PLIST
	py-threadpoolctl/distinfo

Log Message:
py-threadpoolctl: Import py-threadpoolctl-3.1.0

iPython helpers to limit the number of threads used in the
threadpool-backed of common native libraries used for scientific
computing and data science (e.g. BLAS and OpenMP).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ba94eb46b7e7b315ac9069e4c8c527549d3f7635

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-threadpoolctl/DESCR    |  3 +++
 py-threadpoolctl/Makefile | 16 ++++++++++++++++
 py-threadpoolctl/PLIST    | 10 ++++++++++
 py-threadpoolctl/distinfo |  5 +++++
 4 files changed, 34 insertions(+)

diffs:
diff --git a/py-threadpoolctl/DESCR b/py-threadpoolctl/DESCR
new file mode 100644
index 0000000000..9a0f3135ed
--- /dev/null
+++ b/py-threadpoolctl/DESCR
@@ -0,0 +1,3 @@
+Python helpers to limit the number of threads used in the threadpool-backed of
+common native libraries used for scientific computing and data science
+(e.g. BLAS and OpenMP).
diff --git a/py-threadpoolctl/Makefile b/py-threadpoolctl/Makefile
new file mode 100644
index 0000000000..f0f5132c05
--- /dev/null
+++ b/py-threadpoolctl/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	threadpoolctl-3.1.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_PYPI:=t/threadpoolctl/}
+
+MAINTAINER=	matthewd%fastmail.us@localhost
+COMMENT=	Python helpers to limit the number of threads of datascience tools
+LICENSE=	modified-bsd
+
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest -s
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-threadpoolctl/PLIST b/py-threadpoolctl/PLIST
new file mode 100644
index 0000000000..db1e983277
--- /dev/null
+++ b/py-threadpoolctl/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/threadpoolctl.py
+${PYSITELIB}/threadpoolctl.pyc
diff --git a/py-threadpoolctl/distinfo b/py-threadpoolctl/distinfo
new file mode 100644
index 0000000000..1bc76567d1
--- /dev/null
+++ b/py-threadpoolctl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (threadpoolctl-3.1.0.tar.gz) = 117bf70a2383e5dbfca19258cf9b9ba4035f21bac214b77660c6537ba1524867
+SHA512 (threadpoolctl-3.1.0.tar.gz) = 95ca31084d5f856f382469e7a6ee927d769aa5792971d0e54510d38cae303e08e03af3ad8b2d1c6a11bc6a597182cb499145d1eb1b1bb0f8ede508df6171165e
+Size (threadpoolctl-3.1.0.tar.gz) = 33651 bytes


Home | Main Index | Thread Index | Old Index