pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-protobuf
Module Name: pkgsrc
Committed By: ryoon
Date: Sun Aug 3 16:35:00 UTC 2025
Modified Files:
pkgsrc/devel/py-protobuf: Makefile distinfo
Added Files:
pkgsrc/devel/py-protobuf/patches: patch-google_____init____.py
Log Message:
devel/py-protobuf: Remove runtime deprecated warning
Remove the following:
/usr/pkg/lib/python3.13/site-packages/google/__init__.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package
is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__('pkg_resources').declare_namespace(__name__)
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/devel/py-protobuf/Makefile
cvs rdiff -u -r1.77 -r1.78 pkgsrc/devel/py-protobuf/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-protobuf/patches/patch-google_____init____.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-protobuf/Makefile
diff -u pkgsrc/devel/py-protobuf/Makefile:1.86 pkgsrc/devel/py-protobuf/Makefile:1.87
--- pkgsrc/devel/py-protobuf/Makefile:1.86 Mon Jun 30 14:47:47 2025
+++ pkgsrc/devel/py-protobuf/Makefile Sun Aug 3 16:35:00 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.86 2025/06/30 14:47:47 adam Exp $
+# $NetBSD: Makefile,v 1.87 2025/08/03 16:35:00 ryoon Exp $
DISTNAME= protobuf-6.31.1
+PKGREVISION= 1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/}
Index: pkgsrc/devel/py-protobuf/distinfo
diff -u pkgsrc/devel/py-protobuf/distinfo:1.77 pkgsrc/devel/py-protobuf/distinfo:1.78
--- pkgsrc/devel/py-protobuf/distinfo:1.77 Mon Jun 30 14:47:47 2025
+++ pkgsrc/devel/py-protobuf/distinfo Sun Aug 3 16:35:00 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.77 2025/06/30 14:47:47 adam Exp $
+$NetBSD: distinfo,v 1.78 2025/08/03 16:35:00 ryoon Exp $
BLAKE2s (protobuf-6.31.1.tar.gz) = 62bc544d5332108a1e8429937aa0d1b18b075fa047446f99c1cacf96de3e7eb2
SHA512 (protobuf-6.31.1.tar.gz) = 595c125a116020344d5706adf444e1a3259eae5bce3ca61b92c1ab4cb63c167f97210c71e5e24b8c49c6489777ca6de95abdd398125ba3925313ad5ebe09cc18
Size (protobuf-6.31.1.tar.gz) = 441797 bytes
+SHA1 (patch-google_____init____.py) = f1a8d2e6c2720dd915882c426b3c61f8028edd4f
Added files:
Index: pkgsrc/devel/py-protobuf/patches/patch-google_____init____.py
diff -u /dev/null pkgsrc/devel/py-protobuf/patches/patch-google_____init____.py:1.1
--- /dev/null Sun Aug 3 16:35:01 2025
+++ pkgsrc/devel/py-protobuf/patches/patch-google_____init____.py Sun Aug 3 16:35:00 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-google_____init____.py,v 1.1 2025/08/03 16:35:00 ryoon Exp $
+
+* Do not print runtime deprecated warning.
+
+--- google/__init__.py.orig 2025-07-02 08:15:55.348855525 +0000
++++ google/__init__.py
+@@ -1,4 +1,3 @@
+-try:
+- __import__('pkg_resources').declare_namespace(__name__)
+-except ImportError:
+- __path__ = __import__('pkgutil').extend_path(__path__, __name__)
++from pkgutil import extend_path
++
++__path__ = extend_path(__path__, __name__)
Home |
Main Index |
Thread Index |
Old Index