pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-samplerate: Add v0.2.1
Module Name: pkgsrc-wip
Committed By: Malte Dehling <mdehling%gmail.com@localhost>
Pushed By: mdehling
Date: Wed Jun 5 10:01:11 2024 -0700
Changeset: 5458c3996c979d247d7143deb7bd4a17927818bd
Modified Files:
Makefile
Added Files:
py-samplerate/DESCR
py-samplerate/Makefile
py-samplerate/PLIST
py-samplerate/TODO
py-samplerate/distinfo
Log Message:
py-samplerate: Add v0.2.1
This is a wrapper around Erik de Castro Lopo's libsamplerate (aka Secret
Rabbit Code) for high-quality sample rate conversion.
It implements all three APIs available in libsamplerate:
- Simple API: for resampling a large chunk of data with a single library
call
- Full API: for obtaining the resampled signal from successive chunks of
data
- Callback API: like Full API, but input samples are provided by a
callback function
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5458c3996c979d247d7143deb7bd4a17927818bd
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-samplerate/DESCR | 10 ++++++++++
py-samplerate/Makefile | 23 +++++++++++++++++++++++
py-samplerate/PLIST | 0
py-samplerate/TODO | 2 ++
py-samplerate/distinfo | 5 +++++
6 files changed, 41 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index f643010205..da0f0e1849 100644
--- a/Makefile
+++ b/Makefile
@@ -4467,6 +4467,7 @@ SUBDIR+= py-sabctools
SUBDIR+= py-sabyenc3
SUBDIR+= py-safersympify
SUBDIR+= py-safety
+SUBDIR+= py-samplerate
SUBDIR+= py-sas7bdat
SUBDIR+= py-sasa
SUBDIR+= py-sbapp
diff --git a/py-samplerate/DESCR b/py-samplerate/DESCR
new file mode 100644
index 0000000000..76232c936e
--- /dev/null
+++ b/py-samplerate/DESCR
@@ -0,0 +1,10 @@
+This is a wrapper around Erik de Castro Lopo's libsamplerate (aka Secret
+Rabbit Code) for high-quality sample rate conversion.
+
+It implements all three APIs available in libsamplerate:
+- Simple API: for resampling a large chunk of data with a single library
+ call
+- Full API: for obtaining the resampled signal from successive chunks of
+ data
+- Callback API: like Full API, but input samples are provided by a
+ callback function
diff --git a/py-samplerate/Makefile b/py-samplerate/Makefile
new file mode 100644
index 0000000000..fd5807d067
--- /dev/null
+++ b/py-samplerate/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME= samplerate-0.2.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= audio python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/samplerate/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.org/project/samplerate/
+COMMENT= Monolithic Python wrapper for libsamplerate
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-pybind11-[0-9]*:../../devel/py-pybind11
+
+USE_LANGUAGES= c c++
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/wheel.mk"
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-samplerate/PLIST b/py-samplerate/PLIST
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/py-samplerate/TODO b/py-samplerate/TODO
new file mode 100644
index 0000000000..a13c9b3b21
--- /dev/null
+++ b/py-samplerate/TODO
@@ -0,0 +1,2 @@
+- adjust build to use pkgsrc provided pybind11 and libsamplerate instead of
+ trying to download them.
diff --git a/py-samplerate/distinfo b/py-samplerate/distinfo
new file mode 100644
index 0000000000..1423a76378
--- /dev/null
+++ b/py-samplerate/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (samplerate-0.2.1.tar.gz) = 28d90eeae185d897f92cf46863167f64138f0a4c06d371d04ed4ce7ab0d1ff92
+SHA512 (samplerate-0.2.1.tar.gz) = b4ad24606d2e33ac7b26b4031f95f322a3dc4f6c229bb0c7377fb45d0628b0ee6e2377e0727320bc0529e4841c838c89d94b68c43664c808f56ef7c072194e6c
+Size (samplerate-0.2.1.tar.gz) = 21494 bytes
Home |
Main Index |
Thread Index |
Old Index