git: 69041ba06c3d - main - audio/py-soxr: update 0.4.0 → 0.5.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 17 Sep 2024 18:26:05 UTC
The branch main has been updated by yuri:

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

commit 69041ba06c3de8698dea7aece46ceb5d591ebd77
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-17 15:14:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-17 18:26:01 +0000

    audio/py-soxr: update 0.4.0 → 0.5.0
    
    Reported by:    portscout
---
 audio/py-soxr/Makefile                   |  9 +++++----
 audio/py-soxr/distinfo                   |  6 +++---
 audio/py-soxr/files/patch-pyproject.toml | 18 ------------------
 audio/py-soxr/files/patch-setup.py       | 20 --------------------
 4 files changed, 8 insertions(+), 45 deletions(-)

diff --git a/audio/py-soxr/Makefile b/audio/py-soxr/Makefile
index 6da19fc95276..9f6144380d1a 100644
--- a/audio/py-soxr/Makefile
+++ b/audio/py-soxr/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	soxr
-DISTVERSION=	0.4.0
+DISTVERSION=	0.5.0
 CATEGORIES=	audio python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,9 +14,10 @@ LICENSE_COMB=	multi
 BROKEN_i386=	fails to compile: ...requires target feature 'sse', but would be inlined into function 'h8' that is compiled without support for 'sse'
 
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
-		${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR} \
+		cmake:devel/cmake-core \
+		${PYTHON_PKGNAMEPREFIX}nanobind>0:devel/py-nanobind@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
-		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.9.0:devel/py-scikit-build-core@${PY_FLAVOR} \
 		${PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYNUMPY}
 
@@ -25,7 +26,7 @@ USE_PYTHON=	pep517 autoplist pytest
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
-post-install:
+xpost-install:
 	# strip binary
 	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/soxr/cysoxr${PYTHON_EXT_SUFFIX}.so
 	# correct version as a workaround for https://github.com/dofuuz/python-soxr/issues/21
diff --git a/audio/py-soxr/distinfo b/audio/py-soxr/distinfo
index 447956378981..81e27568d7d0 100644
--- a/audio/py-soxr/distinfo
+++ b/audio/py-soxr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1721972280
-SHA256 (soxr-0.4.0.tar.gz) = 02385e3de07e28ddbc19ab41216075d889575895e778ce2ada950d5f46cf6a52
-SIZE (soxr-0.4.0.tar.gz) = 300434
+TIMESTAMP = 1726596269
+SHA256 (soxr-0.5.0.tar.gz) = 6db338bbb01b73ad31534dd48e1b1eafa767714223f7d403c7633c987bdbd719
+SIZE (soxr-0.5.0.tar.gz) = 170686
diff --git a/audio/py-soxr/files/patch-pyproject.toml b/audio/py-soxr/files/patch-pyproject.toml
deleted file mode 100644
index ac0da150892d..000000000000
--- a/audio/py-soxr/files/patch-pyproject.toml
+++ /dev/null
@@ -1,18 +0,0 @@
---- pyproject.toml.orig	2024-07-25 13:58:38 UTC
-+++ pyproject.toml
-@@ -2,13 +2,13 @@ requires = [
- requires = [
-     "setuptools>=42",
-     "wheel",
--    "Cython>=3.0a7",
-+    "Cython",
-     "setuptools_scm[toml]>=6.2",
-     # Note for packagers: this constraint is specific to wheels
-     # for PyPI; it is also supported to build against 1.xx still.
-     # If you do so, please ensure to include a `numpy<2.0`
-     # runtime requirement for those binary packages.
--    "numpy>=2.0.0rc1"
-+    "numpy"
- ]
- build-backend = "setuptools.build_meta"
- 
diff --git a/audio/py-soxr/files/patch-setup.py b/audio/py-soxr/files/patch-setup.py
deleted file mode 100644
index a75fddff78c0..000000000000
--- a/audio/py-soxr/files/patch-setup.py
+++ /dev/null
@@ -1,20 +0,0 @@
-- workaround for https://github.com/dofuuz/python-soxr/issues/25
-
---- setup.py.orig	2024-07-25 13:58:38 UTC
-+++ setup.py
-@@ -122,12 +122,13 @@ if '-arm' in platform:
- 
- platform = sysconfig.get_platform()
- if '-arm' in platform:
--    compile_args.append('-mfpu=neon')
-+    #compile_args.append('-mfpu=neon')
-+    pass
- elif '-i686' in platform:
-     compile_args.append('-msse')
- 
- if get_default_compiler() in ['unix', 'mingw32']:
--    compile_args += ['-std=gnu99', '-Werror=implicit']
-+    compile_args += ['-std=gnu99']
- 
- extensions = [
-     CySoxrExtension(