pkgsrc-WIP-changes archive

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

py-netsnmp-cffi: upgrade to version 0.2.1.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Fri Jun 19 18:52:23 2026 +0200
Changeset:	51dc19f65f0c5dc45cefad925a7765c79dcf4a4d

Modified Files:
	py-netsnmp-cffi/Makefile
	py-netsnmp-cffi/distinfo
Removed Files:
	py-netsnmp-cffi/patches/patch-src_netsnmpy_netsnmp__ffi.py

Log Message:
py-netsnmp-cffi: upgrade to version 0.2.1.

Pkgsrc changes:
 * Version + checksum updates.

Upstream changes:

Fixed
 * Fix ffi.error from a size mismatch between the cdef and the
   real C layout of struct enum_list, by marking the cdef declaration
   as flexible. The mismatch caused crashes on platforms where
   CFFI verifies struct sizes against the C compiler (e.g.
   NetBSD/pkgsrc builds of net-snmp), any time MIB enumerations
   were looked up. (#23)

Added
 * Test suite now also tests on Python 3.13 and 3.14.
 * Wheel build/publish process also builds wheels for Python 3.13 and 3.14.

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

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

diffstat:
 py-netsnmp-cffi/Makefile                                   |  3 +--
 py-netsnmp-cffi/distinfo                                   |  7 +++----
 py-netsnmp-cffi/patches/patch-src_netsnmpy_netsnmp__ffi.py | 14 --------------
 3 files changed, 4 insertions(+), 20 deletions(-)

diffs:
diff --git a/py-netsnmp-cffi/Makefile b/py-netsnmp-cffi/Makefile
index 875fd540fd..49712cce45 100644
--- a/py-netsnmp-cffi/Makefile
+++ b/py-netsnmp-cffi/Makefile
@@ -1,8 +1,7 @@
 # $NetBSD$
 
-DISTNAME=	netsnmp-cffi-0.2.0
+DISTNAME=	netsnmp-cffi-0.2.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GITHUB:=Uninett/}
 GITHUB_PROJECT=	netsnmp-cffi
diff --git a/py-netsnmp-cffi/distinfo b/py-netsnmp-cffi/distinfo
index 3251ed47ba..7e4f0b04ec 100644
--- a/py-netsnmp-cffi/distinfo
+++ b/py-netsnmp-cffi/distinfo
@@ -1,6 +1,5 @@
 $NetBSD$
 
-BLAKE2s (netsnmp-cffi-0.2.0.tar.gz) = a87fbf85f8cba66c59c27cdf014825319cb9d55dff2df122a6684739dbd54887
-SHA512 (netsnmp-cffi-0.2.0.tar.gz) = 069029ef0162fdf81a5c1ca9dbfcdf0b831933f948f7800320a91060c126c7565277b64aa622fb29f105137ef331f62a5d42950044984e8e91774dea6706083b
-Size (netsnmp-cffi-0.2.0.tar.gz) = 40943 bytes
-SHA1 (patch-src_netsnmpy_netsnmp__ffi.py) = abdf0e87e8cfc53748517785f904f021564a6325
+BLAKE2s (netsnmp-cffi-0.2.1.tar.gz) = ec7ac91ec944f8b48994b4356dda69128c0f99e56778a21ad1c3128930c24926
+SHA512 (netsnmp-cffi-0.2.1.tar.gz) = 23aee662cd039b021f9f22a00b7b3199d1be8d9c841711a3d5de2b9593bfd32010d762c3b2d7d6ee0739ceed3332f10cbb47f43e9218a833d12cc4a127d8e46e
+Size (netsnmp-cffi-0.2.1.tar.gz) = 41194 bytes
diff --git a/py-netsnmp-cffi/patches/patch-src_netsnmpy_netsnmp__ffi.py b/py-netsnmp-cffi/patches/patch-src_netsnmpy_netsnmp__ffi.py
deleted file mode 100644
index e32668776d..0000000000
--- a/py-netsnmp-cffi/patches/patch-src_netsnmpy_netsnmp__ffi.py
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
-struct enum_list has a new C member, allow for that.
-
---- src/netsnmpy/netsnmp_ffi.py.orig	2026-06-02 10:39:28.297081941 +0000
-+++ src/netsnmpy/netsnmp_ffi.py
-@@ -270,6 +270,7 @@ struct enum_list {{
-     struct enum_list *next;
-     int             value;
-     char           *label;
-+    ...;
- }};
- 
- struct tree {{


Home | Main Index | Thread Index | Old Index