CVS commit: pkgsrc/converters/py-cloudpickle

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Wed Aug 12 21:49:26 UTC 2026

Modified Files:
	pkgsrc/converters/py-cloudpickle: distinfo
Added Files:
	pkgsrc/converters/py-cloudpickle/patches: patch-pyproject.toml

Log Message:
py-cloudpickle: fix build with flit_core.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/converters/py-cloudpickle/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/converters/py-cloudpickle/patches/patch-pyproject.toml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 2.4 KB)
Modified files:

Index: pkgsrc/converters/py-cloudpickle/distinfo
diff -u pkgsrc/converters/py-cloudpickle/distinfo:1.4 pkgsrc/converters/py-cloudpickle/distinfo:1.5
--- pkgsrc/converters/py-cloudpickle/distinfo:1.4	Wed Nov 12 17:28:12 2025
+++ pkgsrc/converters/py-cloudpickle/distinfo	Wed Aug 12 21:49:25 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2025/11/12 17:28:12 adam Exp $
+$NetBSD: distinfo,v 1.5 2026/08/12 21:49:25 wiz Exp $
 
 BLAKE2s (cloudpickle-3.1.2.tar.gz) = e445c0310caf9698439df366b291c4f96b01c726f0e9bbb4daf21a28fbdc275e
 SHA512 (cloudpickle-3.1.2.tar.gz) = 8aa5b2b50a1f232276202da9de79f19161908b948d367d619da58ff957877b91579a89e5a5034f6914fe0e781898b1c806f583897cb7d127ac73ccf2432f83c0
 Size (cloudpickle-3.1.2.tar.gz) = 22330 bytes
+SHA1 (patch-pyproject.toml) = a561396e632680be79a8aa391269572bd295d127

Added files:

Index: pkgsrc/converters/py-cloudpickle/patches/patch-pyproject.toml
diff -u /dev/null pkgsrc/converters/py-cloudpickle/patches/patch-pyproject.toml:1.1
--- /dev/null	Wed Aug 12 21:49:26 2026
+++ pkgsrc/converters/py-cloudpickle/patches/patch-pyproject.toml	Wed Aug 12 21:49:25 2026
@@ -0,0 +1,44 @@
+$NetBSD: patch-pyproject.toml,v 1.1 2026/08/12 21:49:25 wiz Exp $
+
+Fix build with flit_core 4.
+
+--- pyproject.toml.orig	2026-08-12 21:48:26.984565319 +0000
++++ pyproject.toml
+@@ -1,19 +1,19 @@
+ [build-system]
+-requires = ["flit_core"]
++requires = ["flit_core >=3.2,<5"]
+ build-backend = "flit_core.buildapi"
+ 
+-[tool.flit.metadata]
+-module = "cloudpickle"
+-author = "The cloudpickle developer team"
+-author-email='[email protected]'
+-home-page = "https://github.com/cloudpipe/cloudpickle"
+-description-file = "README.md"
++[project]
++name = "cloudpickle"
++authors = [
++    { name = "The cloudpickle developer team", email = "[email protected]" },
++]
++readme = "README.md"
+ requires-python = ">=3.8"
+ license = "BSD-3-Clause"
++dynamic = ["version", "description"]
+ classifiers = [
+     'Development Status :: 5 - Production/Stable',
+     'Intended Audience :: Developers',
+-    'License :: OSI Approved :: BSD License',
+     'Operating System :: POSIX',
+     'Operating System :: Microsoft :: Windows',
+     'Operating System :: MacOS :: MacOS X',
+@@ -30,6 +30,9 @@ classifiers = [
+     'Topic :: Scientific/Engineering',
+     'Topic :: System :: Distributed Computing',
+ ]
++
++[project.urls]
++Homepage = "https://github.com/cloudpipe/cloudpickle"
+ 
+ [tool.black]
+ line-length = 88
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.