pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/parallel/py-threadpoolctl
Module Name: pkgsrc
Committed By: wiz
Date: Wed Aug 12 21:47:29 UTC 2026
Modified Files:
pkgsrc/parallel/py-threadpoolctl: Makefile distinfo
Added Files:
pkgsrc/parallel/py-threadpoolctl/patches: patch-pyproject.toml
Log Message:
py-threadpoolctl: fix build with flit_core 4.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/parallel/py-threadpoolctl/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/parallel/py-threadpoolctl/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/parallel/py-threadpoolctl/patches/patch-pyproject.toml
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/parallel/py-threadpoolctl/Makefile
diff -u pkgsrc/parallel/py-threadpoolctl/Makefile:1.8 pkgsrc/parallel/py-threadpoolctl/Makefile:1.9
--- pkgsrc/parallel/py-threadpoolctl/Makefile:1.8 Thu Mar 13 15:09:25 2025
+++ pkgsrc/parallel/py-threadpoolctl/Makefile Wed Aug 12 21:47:29 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2025/03/13 15:09:25 adam Exp $
+# $NetBSD: Makefile,v 1.9 2026/08/12 21:47:29 wiz Exp $
DISTNAME= threadpoolctl-3.6.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
@@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/joblib/thre
COMMENT= Helpers to limit the number of threads used
LICENSE= modified-bsd
-TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.11:../../devel/py-flit_core
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=4:../../devel/py-flit_core
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
USE_LANGUAGES= # none
Index: pkgsrc/parallel/py-threadpoolctl/distinfo
diff -u pkgsrc/parallel/py-threadpoolctl/distinfo:1.6 pkgsrc/parallel/py-threadpoolctl/distinfo:1.7
--- pkgsrc/parallel/py-threadpoolctl/distinfo:1.6 Thu Mar 13 15:09:25 2025
+++ pkgsrc/parallel/py-threadpoolctl/distinfo Wed Aug 12 21:47:29 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2025/03/13 15:09:25 adam Exp $
+$NetBSD: distinfo,v 1.7 2026/08/12 21:47:29 wiz Exp $
BLAKE2s (threadpoolctl-3.6.0.tar.gz) = d5bdba6a6e0450c9231d154d51333431697ecb09ed278a88260a91f5c7431f89
SHA512 (threadpoolctl-3.6.0.tar.gz) = 1fcc39a643db15b7415ad81206078d5ec571d99bab2a8b6c63180f45ce43479876700e3eb36a317b51df18633b2c5455d54553dd710a9c9a8ce2f77bebd5792a
Size (threadpoolctl-3.6.0.tar.gz) = 21274 bytes
+SHA1 (patch-pyproject.toml) = 6bb5f0a6c08fdc6fdc585d4067cef0c9b88042f3
Added files:
Index: pkgsrc/parallel/py-threadpoolctl/patches/patch-pyproject.toml
diff -u /dev/null pkgsrc/parallel/py-threadpoolctl/patches/patch-pyproject.toml:1.1
--- /dev/null Wed Aug 12 21:47:29 2026
+++ pkgsrc/parallel/py-threadpoolctl/patches/patch-pyproject.toml Wed Aug 12 21:47:29 2026
@@ -0,0 +1,43 @@
+$NetBSD: patch-pyproject.toml,v 1.1 2026/08/12 21:47:29 wiz Exp $
+
+Support flit 4.
+
+--- pyproject.toml.orig 2026-08-12 21:45:54.476310221 +0000
++++ pyproject.toml
+@@ -1,20 +1,16 @@
+ [build-system]
+-requires = ["flit_core >=2,<4"]
++requires = ["flit_core >=3.2,<5"]
+ build-backend = "flit_core.buildapi"
+
+-# TODO: replace the following section by the standard [project] section to be able
+-# to use flit v4.
+-[tool.flit.metadata]
+-module = "threadpoolctl"
+-author = "Thomas Moreau"
+-author-email = "thomas.moreau.2010%gmail.com@localhost"
+-home-page = "https://github.com/joblib/threadpoolctl"
+-description-file = "README.md"
++[project]
++name = "threadpoolctl"
++authors = [{name = "Thomas Moreau", email = "thomas.moreau.2010%gmail.com@localhost"}]
++readme = "README.md"
+ requires-python = ">=3.9"
+ license = "BSD-3-Clause"
++dynamic = ["version", "description"]
+ classifiers = [
+ "Intended Audience :: Developers",
+- "License :: OSI Approved :: BSD License",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+@@ -23,6 +19,9 @@ classifiers = [
+ "Programming Language :: Python :: 3.13",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+ ]
++
++[project.urls]
++homepage = "https://github.com/joblib/threadpoolctl"
+
+ [tool.black]
+ line-length = 88
Home |
Main Index |
Thread Index |
Old Index