pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-stone



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jul 10 08:30:02 UTC 2026

Modified Files:
        pkgsrc/net/py-stone: Makefile PLIST distinfo
Removed Files:
        pkgsrc/net/py-stone/patches: patch-setup.py patch-test_requirements.txt

Log Message:
py-stone: updated to 3.4.0

3.4.0

Breaking changes

Requires Python 3.11 or later. Python 2.7 and 3.5–3.10 are no longer supported
The six dependency has been removed; Stone is now pure Python 3

Highlights

Python 3 modernization — dropped six, removed Python 2 compatibility shims, fixed datetime.utcnow() deprecations, and set python_requires>=3.11 with CI coverage through Python 3.14
Output manifest mode — generate and validate a manifest of generated output paths, with outputs kept under the output root.
Recursive spec directories — spec directory arguments can now be expanded recursively.
Reproducible Obj-C output — Obj-C backend output is now stabilized/deterministic

Fixes

Fixed invalid except [list] syntax in HashRedactor that raised TypeError on redaction


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/py-stone/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-stone/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/py-stone/distinfo
cvs rdiff -u -r1.4 -r0 pkgsrc/net/py-stone/patches/patch-setup.py
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/net/py-stone/patches/patch-test_requirements.txt

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

Modified files:

Index: pkgsrc/net/py-stone/Makefile
diff -u pkgsrc/net/py-stone/Makefile:1.15 pkgsrc/net/py-stone/Makefile:1.16
--- pkgsrc/net/py-stone/Makefile:1.15   Tue Apr 15 10:54:17 2025
+++ pkgsrc/net/py-stone/Makefile        Fri Jul 10 08:30:02 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2025/04/15 10:54:17 adam Exp $
+# $NetBSD: Makefile,v 1.16 2026/07/10 08:30:02 adam Exp $
 
-DISTNAME=      stone-3.3.9
+DISTNAME=      stone-3.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/stone/}
@@ -14,17 +14,15 @@ TOOL_DEPENDS+=      ${PYPKGPREFIX}-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-jinja2>=3.0.3:../../textproc/py-jinja2
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=21.0:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-ply>=3.4:../../devel/py-ply
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six
 # doesn't work:
 # E   ModuleNotFoundError: No module named 'test.backend_test_util'
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=7.1.0:../../devel/py-coverage
 
 USE_LANGUAGES= # none
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} stone stone-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES=    stone
+
+PYTHON_VERSIONS_INCOMPATIBLE=  310
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-stone/PLIST
diff -u pkgsrc/net/py-stone/PLIST:1.4 pkgsrc/net/py-stone/PLIST:1.5
--- pkgsrc/net/py-stone/PLIST:1.4       Tue Apr 15 10:54:17 2025
+++ pkgsrc/net/py-stone/PLIST   Fri Jul 10 08:30:02 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2025/04/15 10:54:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/07/10 08:30:02 adam Exp $
 bin/stone-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -9,6 +9,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.
 ${PYSITELIB}/stone/__init__.py
 ${PYSITELIB}/stone/__init__.pyc
 ${PYSITELIB}/stone/__init__.pyo
+${PYSITELIB}/stone/__main__.py
+${PYSITELIB}/stone/__main__.pyc
+${PYSITELIB}/stone/__main__.pyo
 ${PYSITELIB}/stone/backend.py
 ${PYSITELIB}/stone/backend.pyc
 ${PYSITELIB}/stone/backend.pyo

Index: pkgsrc/net/py-stone/distinfo
diff -u pkgsrc/net/py-stone/distinfo:1.11 pkgsrc/net/py-stone/distinfo:1.12
--- pkgsrc/net/py-stone/distinfo:1.11   Tue Apr 15 10:54:17 2025
+++ pkgsrc/net/py-stone/distinfo        Fri Jul 10 08:30:02 2026
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.11 2025/04/15 10:54:17 adam Exp $
+$NetBSD: distinfo,v 1.12 2026/07/10 08:30:02 adam Exp $
 
-BLAKE2s (stone-3.3.9.tar.gz) = b29c573af6fa3d77909fc89bfb0d487ead58957a1d575eb137d60a1e64b74b66
-SHA512 (stone-3.3.9.tar.gz) = 95da54f233b858e05be13a87f917e66a4c69b588b312d6eed79e3e0276bf163958b7fd1d6ecc719fdcd9bbe560d636024e5b30dac30e7bcbad3691196e5194f6
-Size (stone-3.3.9.tar.gz) = 194103 bytes
-SHA1 (patch-setup.py) = 095845d650cf242b4c26785f8ed0bdb8a437993c
-SHA1 (patch-test_requirements.txt) = 7b160453cb63be7741073d3c36469b0aef59825c
+BLAKE2s (stone-3.4.0.tar.gz) = dbc36678920aa1b9e555de30a2673c5c3a73d875ad293a24929ebd0c5e2e1c56
+SHA512 (stone-3.4.0.tar.gz) = 34cf55fef802207e5b4c546de0cd590665122e6459be767cfe989516572364cc47c6cda1352f157819143c8077b86950e51b154ea63be33550aef4f2effa4912
+Size (stone-3.4.0.tar.gz) = 195972 bytes



Home | Main Index | Thread Index | Old Index