aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2022-10-03 20:59:29 +0000
committerMatthias Andree <mandree@FreeBSD.org>2022-10-03 21:03:31 +0000
commitad53efc7840e2542eae7374c018ae6f8783f537c (patch)
tree808c17d8dcd8649ea63821fa9dba5a86efd3667b
parent4807b6c44baa4ebbdbc8a4f7d9a1131475413765 (diff)
downloadports-ad53efc7840e2542eae7374c018ae6f8783f537c.tar.gz
ports-ad53efc7840e2542eae7374c018ae6f8783f537c.zip
devel/py-llfuse: update to community 1.4.2, fixing Python 3.11 build
and add a pytest-based test driver (but self-tests appear centered on Linux's /proc/PID/status interface and fail). PR: 266201
-rw-r--r--devel/py-llfuse/Makefile15
-rw-r--r--devel/py-llfuse/distinfo6
2 files changed, 12 insertions, 9 deletions
diff --git a/devel/py-llfuse/Makefile b/devel/py-llfuse/Makefile
index 1b8b6a46ea47..db9e224dc6f5 100644
--- a/devel/py-llfuse/Makefile
+++ b/devel/py-llfuse/Makefile
@@ -1,21 +1,24 @@
PORTNAME= llfuse
-PORTVERSION= 1.3.8
+PORTVERSION= 1.4.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org # stdin@niklaas.eu refuses mail
+MAINTAINER= ports@FreeBSD.org
COMMENT= Python bindings for low-level FUSE API
-WWW= https://bitbucket.org/nikratio/python-llfuse
+WWW= https://github.com/python-llfuse/python-llfuse/
LICENSE= LGPL20+
-py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}contextlib2>0:devel/py-contextlib2@${PY_FLAVOR}
-
-USES= compiler:c++11-lang fuse pkgconfig python:3.7-3.10 # 3.11 fails because llfuse.c includes longintrepr.h directly, see https://docs.python.org/3.11/whatsnew/3.11.html
+USES= compiler:c++11-lang fuse pkgconfig python
USE_PYTHON= distutils autoplist
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/llfuse*.so
+do-test:
+ # apparently the code does not understand FreeBSD's /proc/NNN/status layout and looks for a line
+ # prefixed Groups: which FreeBSD 13 does not provide.
+ cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PREFIX}/lib/python3.9/site-packages ${PYTHON_CMD} -m pytest -x
+
.include <bsd.port.mk>
diff --git a/devel/py-llfuse/distinfo b/devel/py-llfuse/distinfo
index e95cd5a67897..315563cafb7f 100644
--- a/devel/py-llfuse/distinfo
+++ b/devel/py-llfuse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608826143
-SHA256 (llfuse-1.3.8.tar.gz) = b9b573108a840fbaa5c8f037160cc541f21b8cbdc15c5c8a39d5ac8c1b6c4cbc
-SIZE (llfuse-1.3.8.tar.gz) = 481447
+TIMESTAMP = 1664830190
+SHA256 (llfuse-1.4.2.tar.gz) = ea4d19297be0ddbc5db68b421aa649c737a351f9c809919385a118c217c33083
+SIZE (llfuse-1.4.2.tar.gz) = 834763