pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/filesystems/py-fuse-bindings
Module Name: pkgsrc
Committed By: gdt
Date: Tue Jun 2 23:41:29 UTC 2026
Modified Files:
pkgsrc/filesystems/py-fuse-bindings: Makefile PLIST distinfo
pkgsrc/filesystems/py-fuse-bindings/patches:
patch-fuseparts___fusemodule.c
Log Message:
filesystems/py-fuse-bindings: Adapt to python function deprecations
convert to wheel.mk
Now, importing fuse in python 3.13 succeeds, instead of failing with a
missing symbol, as one would expect from the undefined name warning
during the build.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/filesystems/py-fuse-bindings/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/filesystems/py-fuse-bindings/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/filesystems/py-fuse-bindings/distinfo
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/filesystems/py-fuse-bindings/patches/patch-fuseparts___fusemodule.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/filesystems/py-fuse-bindings/Makefile
diff -u pkgsrc/filesystems/py-fuse-bindings/Makefile:1.25 pkgsrc/filesystems/py-fuse-bindings/Makefile:1.26
--- pkgsrc/filesystems/py-fuse-bindings/Makefile:1.25 Wed Jun 5 22:44:57 2024
+++ pkgsrc/filesystems/py-fuse-bindings/Makefile Tue Jun 2 23:41:28 2026
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.25 2024/06/05 22:44:57 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2026/06/02 23:41:28 gdt Exp $
VERSION= 1.0.4
DISTNAME= fuse-python-${VERSION}
PKGNAME= ${PYPKGPREFIX}-fuse-bindings-${VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= filesystems python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/fuse-python/}
@@ -27,7 +27,10 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/example/xmp.py \
${DESTDIR}${PREFIX}/${EGDIR}
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
+
+# \todo Explain what's going on and why.
.include "../../mk/fuse.buildlink3.mk"
#.include "../../filesystems/fuse/buildlink3.mk"
+
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/filesystems/py-fuse-bindings/PLIST
diff -u pkgsrc/filesystems/py-fuse-bindings/PLIST:1.9 pkgsrc/filesystems/py-fuse-bindings/PLIST:1.10
--- pkgsrc/filesystems/py-fuse-bindings/PLIST:1.9 Wed Dec 1 16:37:37 2021
+++ pkgsrc/filesystems/py-fuse-bindings/PLIST Tue Jun 2 23:41:28 2026
@@ -1,11 +1,13 @@
-@comment $NetBSD: PLIST,v 1.9 2021/12/01 16:37:37 pho Exp $
+@comment $NetBSD: PLIST,v 1.10 2026/06/02 23:41:28 gdt Exp $
${PYSITELIB}/fuse.py
${PYSITELIB}/fuse.pyc
${PYSITELIB}/fuse.pyo
-${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}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/fuseparts/__init__.py
${PYSITELIB}/fuseparts/__init__.pyc
${PYSITELIB}/fuseparts/__init__.pyo
Index: pkgsrc/filesystems/py-fuse-bindings/distinfo
diff -u pkgsrc/filesystems/py-fuse-bindings/distinfo:1.7 pkgsrc/filesystems/py-fuse-bindings/distinfo:1.8
--- pkgsrc/filesystems/py-fuse-bindings/distinfo:1.7 Sat Jan 22 18:52:11 2022
+++ pkgsrc/filesystems/py-fuse-bindings/distinfo Tue Jun 2 23:41:28 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2022/01/22 18:52:11 pho Exp $
+$NetBSD: distinfo,v 1.8 2026/06/02 23:41:28 gdt Exp $
BLAKE2s (fuse-python-1.0.4.tar.gz) = 32f3c1aeaf619880a0a366866b3e7650924b66eaafa187d6081dc3c94e1ac568
SHA512 (fuse-python-1.0.4.tar.gz) = 12696c78f75591e56e00ca1e2a93b214993b939cac2e7aae5dc6d8e69dc1aa034f0244a876c9ff2fb7e49b928b7ff84b281fd98d8f3fe67140be33d7ea5fea20
Size (fuse-python-1.0.4.tar.gz) = 49009 bytes
-SHA1 (patch-fuseparts___fusemodule.c) = a928bc35a6bf70460c37fc3f9db1ff5edc1a1d01
+SHA1 (patch-fuseparts___fusemodule.c) = 278fdeaf2d4cd94cef6e12b99e869a0047907912
Index: pkgsrc/filesystems/py-fuse-bindings/patches/patch-fuseparts___fusemodule.c
diff -u pkgsrc/filesystems/py-fuse-bindings/patches/patch-fuseparts___fusemodule.c:1.3 pkgsrc/filesystems/py-fuse-bindings/patches/patch-fuseparts___fusemodule.c:1.4
--- pkgsrc/filesystems/py-fuse-bindings/patches/patch-fuseparts___fusemodule.c:1.3 Sat Jan 22 18:52:11 2022
+++ pkgsrc/filesystems/py-fuse-bindings/patches/patch-fuseparts___fusemodule.c Tue Jun 2 23:41:29 2026
@@ -1,14 +1,18 @@
-$NetBSD: patch-fuseparts___fusemodule.c,v 1.3 2022/01/22 18:52:11 pho Exp $
+$NetBSD: patch-fuseparts___fusemodule.c,v 1.4 2026/06/02 23:41:29 gdt Exp $
Hunk #0:
Workaround for NetBSD librefuse that had an API incompatible with
FUSE. Already fixed in HEAD.
Hunk #1:
+ Replace deprecated procedure per
+ https://docs.python.org/3.10/whatsnew/3.3.html?highlight#deprecated-functions-and-types-of-the-c-api
+
+Hunk #2:
"os.stat()" doesn't always return st_rdev on all platforms. Do not
assume it exists.
-Hunk #2, #3:
+Hunk #3, #4:
The polling support has appeared on FUSE 2.8 but this module
defines FUSE_USE_VERSION to 26. ReFUSE doesn't expose the polling
API in this case. Eligible for upstreaming but haven't been done.
@@ -149,6 +153,15 @@ Hunk #2, #3:
#define _IOC_NRBITS 8
#define _IOC_TYPEBITS 8
+@@ -98,7 +225,7 @@
+ #define PyString_AsString PyUnicode_AsUTF8
+ #endif
+ #define PyString_Check PyUnicode_Check
+- #define PyString_Size PyUnicode_GET_SIZE
++ #define PyString_Size PyUnicode_GET_LENGTH
+ #endif
+
+ #ifdef FIX_PATH_DECODING
@@ -309,7 +436,7 @@ fi_to_py(struct fuse_file_info *fi)
* autotools so we just dare to throw these in as is. \
*/ \
Home |
Main Index |
Thread Index |
Old Index