audio/py-pysndfile: update 1.4.6 → 1.4.7

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2025-01-07 01:20:33 -08:00
parent 9205d0baf4
commit e880c2801f
3 changed files with 15 additions and 4 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= pysndfile
DISTVERSION= 1.4.6
DISTVERSION= 1.4.7
CATEGORIES= audio python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -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

View file

@ -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()