Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2026 15:42:57 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6843967ae642 - main - audio/py-pysndfile: update 1.4=?utf-8?Q?=2E7 =E2=86=92 1?=.5.3
Message-ID:  <69f37881.1ca10.17751954@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6843967ae642d8390e45e6c2f77bb178227b275a

commit 6843967ae642d8390e45e6c2f77bb178227b275a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-30 15:24:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-30 15:42:47 +0000

    audio/py-pysndfile: update 1.4.7 → 1.5.3
---
 audio/py-pysndfile/Makefile             | 15 ++++++---------
 audio/py-pysndfile/distinfo             |  6 +++---
 audio/py-pysndfile/files/patch-setup.py | 22 +++++++++++-----------
 3 files changed, 20 insertions(+), 23 deletions(-)

diff --git a/audio/py-pysndfile/Makefile b/audio/py-pysndfile/Makefile
index d36158691783..7bb8123e526f 100644
--- a/audio/py-pysndfile/Makefile
+++ b/audio/py-pysndfile/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pysndfile
-DISTVERSION=	1.4.7
-PORTREVISION=	2
+DISTVERSION=	1.5.3
 CATEGORIES=	audio python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,16 +11,14 @@ WWW=		https://forge-2.ircam.fr/roebel/pysndfile
 LICENSE=	LGPL3
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libsndfile.so:audio/libsndfile
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR}
 
 USES=		python localbase
-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
+USE_PYTHON=	pep517 autoplist cython
 
 .include <bsd.port.mk>
diff --git a/audio/py-pysndfile/distinfo b/audio/py-pysndfile/distinfo
index 2e7d31f1c41a..76479f166984 100644
--- a/audio/py-pysndfile/distinfo
+++ b/audio/py-pysndfile/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736241073
-SHA256 (pysndfile-1.4.7.tar.gz) = 40845abd93d151d5236c0bbc568256c389c3f0b60e930f9b897781554bdbffdb
-SIZE (pysndfile-1.4.7.tar.gz) = 48439
+TIMESTAMP = 1777543535
+SHA256 (pysndfile-1.5.3.tar.gz) = 90745886edcf6ec73e6e34ce1eb7ac7f747d4fd89a8256499ad2c1958aacb26e
+SIZE (pysndfile-1.5.3.tar.gz) = 63998
diff --git a/audio/py-pysndfile/files/patch-setup.py b/audio/py-pysndfile/files/patch-setup.py
index 29b0b4bc971a..bfabb7cc7753 100644
--- a/audio/py-pysndfile/files/patch-setup.py
+++ b/audio/py-pysndfile/files/patch-setup.py
@@ -1,11 +1,11 @@
---- setup.py.orig	2025-01-07 09:16:36 UTC
-+++ setup.py
-@@ -57,7 +57,7 @@ def find_libsndfile():
-                     # only check for the mandatory main library, others are
-                     # optional
-                     found_lib = (tmp_lib_dir / "libsndfile.a").exists()
--                elif platform.system() == "Linux":
-+                elif platform.system() == "Linux" or platform.system() == "FreeBSD":
-                     found_lib = (tmp_lib_dir / "libsndfile.so").exists()
-                 elif platform.system() == "Darwin":
-                     found_lib = (tmp_lib_dir / "libsndfile.dylib").exists()
+--- setup.py.orig	2025-03-06 05:53:30 UTC
++++ setup.py	2025-03-06 05:53:30 UTC
+@@ -45,7 +45,7 @@ def _get_libsndfile_lib_name():
+     elif os.environ.get("PYSNDFILE_USE_STATIC", "0") != "0":
+         # only check for the mandatory main library, others are optional
+         return "libsndfile.a"
+-    elif platform.system() == "Linux":
++    elif platform.system() == "Linux" or platform.system() == "FreeBSD":
+         return "libsndfile.so"
+     elif platform.system() == "Darwin":
+         return "libsndfile.dylib"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f37881.1ca10.17751954>