aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2023-07-01 09:50:10 +0000
committerNicola Vitale <nivit@FreeBSD.org>2023-07-01 09:51:07 +0000
commitf645a2a1a9683bc3b218bdf957d87c0f9699c48d (patch)
tree24193ba1b84cecc8597d880ac3667df93ab5a7ca
parent98fc9cf4f4cda8733746e337a3279b0cb4cbf72e (diff)
audio/py-playsound: Add new port
Playsound is a pure Python, cross platform, single function module with no dependencies for playing sounds. https://github.com/TaylorSMarks/playsound
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-playsound/Makefile17
-rw-r--r--audio/py-playsound/distinfo3
-rw-r--r--audio/py-playsound/pkg-descr2
4 files changed, 23 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 3ec6d3f02489..4a61e0a698f6 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -643,6 +643,7 @@
SUBDIR += py-musicbrainzngs
SUBDIR += py-mutagen
SUBDIR += py-opuslib
+ SUBDIR += py-playsound
SUBDIR += py-pocketsphinx
SUBDIR += py-pulsectl
SUBDIR += py-pyacoustid
diff --git a/audio/py-playsound/Makefile b/audio/py-playsound/Makefile
new file mode 100644
index 000000000000..4050a7369cf3
--- /dev/null
+++ b/audio/py-playsound/Makefile
@@ -0,0 +1,17 @@
+PORTNAME= playsound
+DISTVERSION= 1.3.0
+CATEGORIES= audio python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= Pure Python, single function module for playing sounds
+WWW= https://github.com/TaylorSMarks/playsound
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/audio/py-playsound/distinfo b/audio/py-playsound/distinfo
new file mode 100644
index 000000000000..6a9f5cdbe4ad
--- /dev/null
+++ b/audio/py-playsound/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688195566
+SHA256 (playsound-1.3.0.tar.gz) = cc6ed11d773034b0ef624e6bb4bf50f4b76b8414a59ce6d38afb89b423297ced
+SIZE (playsound-1.3.0.tar.gz) = 7650
diff --git a/audio/py-playsound/pkg-descr b/audio/py-playsound/pkg-descr
new file mode 100644
index 000000000000..976ff2ee6822
--- /dev/null
+++ b/audio/py-playsound/pkg-descr
@@ -0,0 +1,2 @@
+Playsound is a pure Python, cross platform, single function module with no
+dependencies for playing sounds.