From nobody Tue Feb 21 09:05:36 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PLYKX6pkqz3tHsG; Tue, 21 Feb 2023 09:05:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLYKX6NlKz3qvp; Tue, 21 Feb 2023 09:05:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676970336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=m7064xIBnQ8pBqKAE1p81qB7ruHfX5pJmU/zdlMRlHE=; b=pYgAQfTLsFQdqKVc5+2opqUzOjI2QiGqIcTnGJf7lGPVxj5ONgYg7mKNl8flkgUf+kcXN7 eUhDuHDBtPcMn3EDXOEK5btwdiQK+TLnu2ryNjKCVhx8wLjRUcBhJL3jwIvSO9zUzvvMDp 8BcicJXIzTQqVbCQHbP9xSZi8onA5ck6itU6zGELQh5GRorumsmYCPrWF9wzATLndI3z5M OIb2eq0+UGuLuxuGSrMm0BNUIYLry/U/5Ut40JNuVZ5gpG1PfFoEofgjO5ReDmdp+Gy1jD IxRVrLCG3yNwXNsbpnAdqPi1YZDvhqf5ko+d9v9YCeLN/XQ6cl3pEWy6lwz+NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676970336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=m7064xIBnQ8pBqKAE1p81qB7ruHfX5pJmU/zdlMRlHE=; b=JFaXYX2SGwyugqwjgrB/Q5ByvMadXKvh4+B/XFVy6730x7NPYKDPr3v+ycQfAn6MOxQquW SoP0JJ5bRj3CwBP/5uq2M/I1C/QxsmEGiWfg/xXcBb4Rjl2dzrw7sFTa69EOwBi2MsYJxl hVs0QhpTgG3GK5uPfQ+aWyKRHxWByeHA7QzZ3v+1A8w8pbbVdHnuK5LOQvd+mqqynHeOV5 oI/K8At4d1wT2Rq2JO4E5QX/3B2BZ6KRnXosrimCbuKRqHuzCGcvfKbDmrpXSvjpRZsU37 WNJ5iPkqM2oPIK/r0AKAlnVvJ3D6YgUc+g13gijg7KsJemkcT6qNZNyuq+tn3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676970336; a=rsa-sha256; cv=none; b=XPToKoOK/SmzKrwk+38qKyEWtA8KaPtJdWOJn81ZN79TpiZPyj/GzOeyW0y4L31hT8ja00 kcHb8uGFE1U/ie9mbfxaj51e868S5s6wWoeV2n1MWOwHVZYaS/Eu6PiUMQK4+B9xO5TioF +HUuvfl3Wk3q4un048x8SF+RrMRWrRAPFC9yRhhNVbaDcWbxQ568rzFoKndyMPAcY1zFZp gjlJJo152moFcXxW1LKKNnTfbADDoUHKwKKwU8wUg7ZeV9GgLuMHinVj0v+oyEsVUWfpSI Eq5hLVmk+BxDcTwgcRftvayiVGlSFzBrU1CYrOx6VZCRMjMkVLY1P5MMQzzCLQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PLYKX4vVCzG33; Tue, 21 Feb 2023 09:05:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31L95a6I095804; Tue, 21 Feb 2023 09:05:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31L95a3D095803; Tue, 21 Feb 2023 09:05:36 GMT (envelope-from git) Date: Tue, 21 Feb 2023 09:05:36 GMT Message-Id: <202302210905.31L95a3D095803@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 70e129b0b045 - main - audio/py-soxr: New port: High quality, one-dimensional sample-rate conversion library List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 70e129b0b04522259bdca2db9fb8b52eb925bf34 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=70e129b0b04522259bdca2db9fb8b52eb925bf34 commit 70e129b0b04522259bdca2db9fb8b52eb925bf34 Author: Yuri Victorovich AuthorDate: 2023-02-21 07:44:47 +0000 Commit: Yuri Victorovich CommitDate: 2023-02-21 09:05:29 +0000 audio/py-soxr: New port: High quality, one-dimensional sample-rate conversion library --- audio/Makefile | 1 + audio/py-soxr/Makefile | 27 +++++++++++++++++++++++++++ audio/py-soxr/distinfo | 3 +++ audio/py-soxr/files/patch-pyproject.toml | 14 ++++++++++++++ audio/py-soxr/pkg-descr | 2 ++ 5 files changed, 47 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 6f9264cb8f3c..bf084b786fae 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -676,6 +676,7 @@ SUBDIR += py-soundcloud SUBDIR += py-sounddevice SUBDIR += py-soundscrape + SUBDIR += py-soxr SUBDIR += py-speechrecognition SUBDIR += py-spotipy SUBDIR += py-tagpy diff --git a/audio/py-soxr/Makefile b/audio/py-soxr/Makefile new file mode 100644 index 000000000000..04034876975a --- /dev/null +++ b/audio/py-soxr/Makefile @@ -0,0 +1,27 @@ +PORTNAME= soxr +DISTVERSION= 0.3.3 +CATEGORIES= audio python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= High quality, one-dimensional sample-rate conversion library +WWW= https://github.com/dofuuz/python-soxr + +LICENSE= LGPL21 BSD3CLAUSE +LICENSE_COMB= multi + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} + +USES= python:3.6+ +USE_PYTHON= pep517 cython autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/soxr/cysoxr${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/audio/py-soxr/distinfo b/audio/py-soxr/distinfo new file mode 100644 index 000000000000..6b4791c20f7e --- /dev/null +++ b/audio/py-soxr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1676964190 +SHA256 (soxr-0.3.3.tar.gz) = af874e9f14c4c261c22ce55972a1231c085a538c2d8fec78580b331370fdb551 +SIZE (soxr-0.3.3.tar.gz) = 288742 diff --git a/audio/py-soxr/files/patch-pyproject.toml b/audio/py-soxr/files/patch-pyproject.toml new file mode 100644 index 000000000000..bd645ff1d73d --- /dev/null +++ b/audio/py-soxr/files/patch-pyproject.toml @@ -0,0 +1,14 @@ +--- pyproject.toml.orig 2023-02-21 07:33:21 UTC ++++ pyproject.toml +@@ -2,9 +2,9 @@ + requires = [ + "setuptools>=42", + "wheel", +- "Cython>=3.0a7", ++ "Cython", + "setuptools_scm[toml]>=3.4", +- "oldest-supported-numpy" ++ "numpy" + ] + build-backend = "setuptools.build_meta" + diff --git a/audio/py-soxr/pkg-descr b/audio/py-soxr/pkg-descr new file mode 100644 index 000000000000..24b815ebf1e3 --- /dev/null +++ b/audio/py-soxr/pkg-descr @@ -0,0 +1,2 @@ +soxr is a high quality, one-dimensional sample-rate conversion library +for Python.