summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-09-29 10:12:51 +0100
committerMarek Szuba <marecki@gentoo.org>2022-09-29 10:15:19 +0100
commit61e387ac34d5a7967f67c9a59bf62326b7147670 (patch)
tree008174988fa32ad52fcad8226bbd16d07f83998e
parentnet-misc/putty: drop 0.76, 0.77-r1 (diff)
downloadgentoo-61e387ac34d5a7967f67c9a59bf62326b7147670.tar.gz
gentoo-61e387ac34d5a7967f67c9a59bf62326b7147670.tar.bz2
gentoo-61e387ac34d5a7967f67c9a59bf62326b7147670.zip
dev-python/jack-client: new package, add 0.5.4
Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r--dev-python/jack-client/Manifest1
-rw-r--r--dev-python/jack-client/jack-client-0.5.4.ebuild44
-rw-r--r--dev-python/jack-client/metadata.xml12
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/jack-client/Manifest b/dev-python/jack-client/Manifest
new file mode 100644
index 00000000000..aef2b6be989
--- /dev/null
+++ b/dev-python/jack-client/Manifest
@@ -0,0 +1 @@
+DIST JACK-Client-0.5.4.tar.gz 48960 BLAKE2B 3130342714f0634abacc74c9aa4a7edac70087db82439197717c104e3b0cafc00916fc8d425b2b99c98df82d1c7a2c44a4df8021e84a2209301c19f5b1ae9d96 SHA512 bc75d1b58a10c855ab26fbb123ed6774f182a06501e6f31efffdd7c82d384761053dddd7af8315969f67421e4ba17bfc0b49f63f0454c8cc18b4b8385b928d26
diff --git a/dev-python/jack-client/jack-client-0.5.4.ebuild b/dev-python/jack-client/jack-client-0.5.4.ebuild
new file mode 100644
index 00000000000..fa83c42b9dd
--- /dev/null
+++ b/dev-python/jack-client/jack-client-0.5.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 virtualx
+
+MY_PN="JACK-Client"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="JACK Audio Connection Kit client for Python"
+HOMEPAGE="
+ https://pypi.org/project/JACK-Client/
+ https://github.com/spatialaudio/jackclient-python
+"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Tests require disabling the sandbox, ALSA with at least one functioning
+# PCM output device, and a very specific JACK server to even start (so far
+# only media-sound/jack2[alsa] has worked for me).
+RESTRICT="test"
+
+BDEPEND="dev-python/cffi[${PYTHON_USEDEP}]"
+RDEPEND="${BDEPEND}
+ dev-python/numpy[${PYTHON_USEDEP}]
+ virtual/jack"
+
+S="${WORKDIR}"/${MY_P}
+
+# sphinx_last_updated_by_git not in the tree yet
+#distutils_enable_sphinx doc dev-python/sphinx-last-updated-by-git
+distutils_enable_tests pytest
+
+python_test() {
+ # virtx lets tests autolaunch dbus-daemon
+ virtx epytest
+}
diff --git a/dev-python/jack-client/metadata.xml b/dev-python/jack-client/metadata.xml
new file mode 100644
index 00000000000..eba2072d336
--- /dev/null
+++ b/dev-python/jack-client/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">JACK-Client</remote-id>
+ <remote-id type="github">spatialaudio/jackclient-python</remote-id>
+ </upstream>
+</pkgmetadata>