git: 6946da31345b - main - audio/py-resampy: New port: Efficient signal resampling conversion in Python
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Dec 2022 19:52:05 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6946da31345b319659559246f6dc850c329aded3
commit 6946da31345b319659559246f6dc850c329aded3
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-30 18:23:49 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-30 19:50:05 +0000
audio/py-resampy: New port: Efficient signal resampling conversion in Python
---
audio/Makefile | 1 +
audio/py-resampy/Makefile | 22 ++++++++++++++++++++++
audio/py-resampy/distinfo | 3 +++
audio/py-resampy/pkg-descr | 4 ++++
4 files changed, 30 insertions(+)
diff --git a/audio/Makefile b/audio/Makefile
index dc0846a42c3e..d44d6bbb0361 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -663,6 +663,7 @@
SUBDIR += py-pyradio
SUBDIR += py-pysndfile
SUBDIR += py-python-mpd2
+ SUBDIR += py-resampy
SUBDIR += py-soundcloud
SUBDIR += py-sounddevice
SUBDIR += py-soundscrape
diff --git a/audio/py-resampy/Makefile b/audio/py-resampy/Makefile
new file mode 100644
index 000000000000..c1b1d5237d68
--- /dev/null
+++ b/audio/py-resampy/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= resampy
+DISTVERSION= 0.4.2
+CATEGORIES= audio python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Efficient signal resampling conversion in Python
+WWW= https://github.com/bmcfee/resampy
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>=0.53:devel/py-numba@${PY_FLAVOR} \
+ ${PYNUMPY}
+
+USES= python:3.6+
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/audio/py-resampy/distinfo b/audio/py-resampy/distinfo
new file mode 100644
index 000000000000..437f15b54e34
--- /dev/null
+++ b/audio/py-resampy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1672342986
+SHA256 (resampy-0.4.2.tar.gz) = 0a469e6ddb89956f4fd6c88728300e4bbd186fae569dd4fd17dae51a91cbaa15
+SIZE (resampy-0.4.2.tar.gz) = 3077273
diff --git a/audio/py-resampy/pkg-descr b/audio/py-resampy/pkg-descr
new file mode 100644
index 000000000000..e1e2a594e066
--- /dev/null
+++ b/audio/py-resampy/pkg-descr
@@ -0,0 +1,4 @@
+resumpy performs efficient sample rate conversion in Python.
+
+This package implements the band-limited sinc interpolation method for sampling
+rate conversion.