git: 89c80bfce1f6 - main - audio/py-pysndfile: update 1.4.4 → 1.4.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Dec 2024 11:44:24 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=89c80bfce1f6417e5ae33a4c292d3b21679d7230
commit 89c80bfce1f6417e5ae33a4c292d3b21679d7230
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-12-16 01:35:53 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-16 11:44:13 +0000
audio/py-pysndfile: update 1.4.4 → 1.4.6
---
audio/py-pysndfile/Makefile | 13 +++++++++----
audio/py-pysndfile/distinfo | 6 +++---
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/audio/py-pysndfile/Makefile b/audio/py-pysndfile/Makefile
index a5a82f633fd7..d8269680f16c 100644
--- a/audio/py-pysndfile/Makefile
+++ b/audio/py-pysndfile/Makefile
@@ -1,6 +1,5 @@
PORTNAME= pysndfile
-DISTVERSION= 1.4.4
-PORTREVISION= 2
+DISTVERSION= 1.4.6
CATEGORIES= audio python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +10,17 @@ WWW= https://forge-2.ircam.fr/roebel/pysndfile
LICENSE= LGPL3
-BUILD_DEPENDS= ${PYNUMPY}
+BUILD_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
LIB_DEPENDS= libsndfile.so:audio/libsndfile
RUN_DEPENDS= ${PYNUMPY}
USES= python localbase
-USE_PYTHON= distutils autoplist cython
+USE_PYTHON= distutils autoplist cython pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC= ${WRKSRC}/tests
+
+# tests fail: ModuleNotFoundError: No module named 'pysndfile_inst_dir'; reported to the author via-e-mail on 2024-12-15
.include <bsd.port.mk>
diff --git a/audio/py-pysndfile/distinfo b/audio/py-pysndfile/distinfo
index 26c74e4bd596..b1fa570989b5 100644
--- a/audio/py-pysndfile/distinfo
+++ b/audio/py-pysndfile/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650479657
-SHA256 (pysndfile-1.4.4.tar.gz) = 78cef2f1da66a4e6ee6cab5f2337f16549be958847dae00e8e2185ee68b8f8bf
-SIZE (pysndfile-1.4.4.tar.gz) = 380702
+TIMESTAMP = 1734311484
+SHA256 (pysndfile-1.4.6.tar.gz) = 2a5f5057c69e79ddaa4634d39f632ce40acf6a9ce1b84d346124c9b516412060
+SIZE (pysndfile-1.4.6.tar.gz) = 381428