Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2023 09:41:30 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cb17b0b941af - main - audio/py-pydub: New port: Manipulate audio with an simple and easy high level interface
Message-ID:  <202301210941.30L9fUXl039242@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit cb17b0b941afc977298018f6875419faf5731fb4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-21 09:40:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-21 09:40:48 +0000

    audio/py-pydub: New port: Manipulate audio with an simple and easy high level interface
---
 audio/Makefile           |  1 +
 audio/py-pydub/Makefile  | 31 +++++++++++++++++++++++++++++++
 audio/py-pydub/distinfo  |  3 +++
 audio/py-pydub/pkg-descr |  2 ++
 4 files changed, 37 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index ac226ac22841..1c950bfa095b 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -660,6 +660,7 @@
     SUBDIR += py-pulsectl
     SUBDIR += py-pyacoustid
     SUBDIR += py-pyaudio
+    SUBDIR += py-pydub
     SUBDIR += py-pyjacklib
     SUBDIR += py-pylast
     SUBDIR += py-pyliblo
diff --git a/audio/py-pydub/Makefile b/audio/py-pydub/Makefile
new file mode 100644
index 000000000000..38988c700f94
--- /dev/null
+++ b/audio/py-pydub/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	pydub
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.25.1
+CATEGORIES=	audio
+#MASTER_SITES=	PYPI # no tests
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Manipulate audio with an simple and easy high level interface
+WWW=		http://pydub.com/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}simpleaudio>0:audio/py-simpleaudio@${PY_FLAVOR} \
+		ffmpeg:multimedia/ffmpeg
+
+USES=		python
+USE_PYTHON=	distutils autoplist pytest # tests fail to run, see https://github.com/jiaaro/pydub/issues/712
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	jiaaro
+
+NO_ARCH=	yes
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC=	${WRKSRC}/test
+
+.include <bsd.port.mk>
diff --git a/audio/py-pydub/distinfo b/audio/py-pydub/distinfo
new file mode 100644
index 000000000000..d6f1607c9d26
--- /dev/null
+++ b/audio/py-pydub/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674293027
+SHA256 (jiaaro-pydub-v0.25.1_GH0.tar.gz) = 94f423c9acc9f361203e82a204420bb8fb85731d0586ebd2c1509fbeadeabad6
+SIZE (jiaaro-pydub-v0.25.1_GH0.tar.gz) = 27555582
diff --git a/audio/py-pydub/pkg-descr b/audio/py-pydub/pkg-descr
new file mode 100644
index 000000000000..7fd25ad0b29e
--- /dev/null
+++ b/audio/py-pydub/pkg-descr
@@ -0,0 +1,2 @@
+Pydub allows to manipulate audio with a simple and easy high level interface
+from Python code.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301210941.30L9fUXl039242>