git: e880c2801f77 - main - audio/py-pysndfile: update 1.4.6 → 1.4.7

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 07 Jan 2025 09:29:31 UTC
The branch main has been updated by yuri:

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

commit e880c2801f775d65a5860b6c48863072af8b7892
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-07 09:20:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-07 09:29:09 +0000

    audio/py-pysndfile: update 1.4.6 → 1.4.7
    
    Reported by:    portscout
---
 audio/py-pysndfile/Makefile             |  2 +-
 audio/py-pysndfile/distinfo             |  6 +++---
 audio/py-pysndfile/files/patch-setup.py | 11 +++++++++++
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/audio/py-pysndfile/Makefile b/audio/py-pysndfile/Makefile
index d8269680f16c..632511d1f2a2 100644
--- a/audio/py-pysndfile/Makefile
+++ b/audio/py-pysndfile/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pysndfile
-DISTVERSION=	1.4.6
+DISTVERSION=	1.4.7
 CATEGORIES=	audio python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/audio/py-pysndfile/distinfo b/audio/py-pysndfile/distinfo
index b1fa570989b5..2e7d31f1c41a 100644
--- a/audio/py-pysndfile/distinfo
+++ b/audio/py-pysndfile/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734311484
-SHA256 (pysndfile-1.4.6.tar.gz) = 2a5f5057c69e79ddaa4634d39f632ce40acf6a9ce1b84d346124c9b516412060
-SIZE (pysndfile-1.4.6.tar.gz) = 381428
+TIMESTAMP = 1736241073
+SHA256 (pysndfile-1.4.7.tar.gz) = 40845abd93d151d5236c0bbc568256c389c3f0b60e930f9b897781554bdbffdb
+SIZE (pysndfile-1.4.7.tar.gz) = 48439
diff --git a/audio/py-pysndfile/files/patch-setup.py b/audio/py-pysndfile/files/patch-setup.py
new file mode 100644
index 000000000000..29b0b4bc971a
--- /dev/null
+++ b/audio/py-pysndfile/files/patch-setup.py
@@ -0,0 +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()