pkgsrc-WIP-changes archive

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

py-cloudpickle: Update to 3.0.0



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Sat Feb 3 12:37:25 2024 -0800
Changeset:	77cfbc51aa39cba1eb8c9afa4528f9336844d55b

Modified Files:
	py-cloudpickle/Makefile
	py-cloudpickle/PLIST
	py-cloudpickle/distinfo

Log Message:
py-cloudpickle: Update to 3.0.0

3.0.0
    Officially support Python 3.12 and drop support for Python 3.6 and 3.7. Dropping support for older Python versions made it possible to simplify the code base significantly, hopefully making it easier to contribute to and maintain the project. (PR #517)
    Fix pickling of dataclasses and their instances. (issue #386, PR #513)
    Any color you like as long as it's black. (PR #521)
    Drop setup.py and setuptools in favor of pyproject.toml and flit. (PR #521)

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

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

diffstat:
 py-cloudpickle/Makefile |  7 +++++--
 py-cloudpickle/PLIST    | 10 +++-------
 py-cloudpickle/distinfo |  6 +++---
 3 files changed, 11 insertions(+), 12 deletions(-)

diffs:
diff --git a/py-cloudpickle/Makefile b/py-cloudpickle/Makefile
index e131312cda..cb9b2b534e 100644
--- a/py-cloudpickle/Makefile
+++ b/py-cloudpickle/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD$
 
-DISTNAME=	cloudpickle-2.2.1
+
+DISTNAME=	cloudpickle-3.0.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_PYPI:=c/cloudpickle/}
@@ -10,6 +11,8 @@ HOMEPAGE=	https://github.com/cloudpipe/cloudpickle
 COMMENT=	Extended pickling support for Python objects
 LICENSE=	modified-bsd
 
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
+TOOL_DEPENDS+=	${PYPKGPREFIX}-flit_core>=3.9:../../devel/py-flit_core
 DEPENDS+=	${PYPKGPREFIX}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer
 DEPENDS+=	${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
 TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
@@ -28,5 +31,5 @@ do-test:
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-cloudpickle/PLIST b/py-cloudpickle/PLIST
index 9a4d8c9d89..18200ca02a 100644
--- a/py-cloudpickle/PLIST
+++ b/py-cloudpickle/PLIST
@@ -1,8 +1,7 @@
 @comment $NetBSD$
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/cloudpickle/__init__.py
 ${PYSITELIB}/cloudpickle/__init__.pyc
 ${PYSITELIB}/cloudpickle/__init__.pyo
@@ -12,6 +11,3 @@ ${PYSITELIB}/cloudpickle/cloudpickle.pyo
 ${PYSITELIB}/cloudpickle/cloudpickle_fast.py
 ${PYSITELIB}/cloudpickle/cloudpickle_fast.pyc
 ${PYSITELIB}/cloudpickle/cloudpickle_fast.pyo
-${PYSITELIB}/cloudpickle/compat.py
-${PYSITELIB}/cloudpickle/compat.pyc
-${PYSITELIB}/cloudpickle/compat.pyo
diff --git a/py-cloudpickle/distinfo b/py-cloudpickle/distinfo
index a5510ccdc7..4d26787d16 100644
--- a/py-cloudpickle/distinfo
+++ b/py-cloudpickle/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (cloudpickle-2.2.1.tar.gz) = de150c0f85fcb18d92bc7c0be8ac6664d2ae6f65dfccd2ce246e0a7e5cb29371
-SHA512 (cloudpickle-2.2.1.tar.gz) = a0174a382d531180704a90a4da4f83e1d1c90ebf4ad181778bed073763bf43104b7049ced12abc360948343d105a4390cb514585a1b493217a53a5b2c45cfde6
-Size (cloudpickle-2.2.1.tar.gz) = 60800 bytes
+BLAKE2s (cloudpickle-3.0.0.tar.gz) = 4c034397be918388c0e3d0232aebcd480468bb28397e1caa4817c7bf078d8e37
+SHA512 (cloudpickle-3.0.0.tar.gz) = c20b5674a710a6011bedecaf1adfc9f85e74b0b61f89b44c93624f4c73a6c1b9f81ab8f82cbc386d637a990b152dacc48ef8abc9c7718ef2e252e504d4b76773
+Size (cloudpickle-3.0.0.tar.gz) = 21231 bytes


Home | Main Index | Thread Index | Old Index