summaryrefslogtreecommitdiff
path: root/dev-python/pyalsa
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-13 00:08:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-13 00:08:30 +0100
commit0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 (patch)
tree941e6ba8c256dd27e9f9ca634f08d4bf0278798e /dev-python/pyalsa
parentf0ddcad13515f66d2f3bf827d33c277bdba7e1dd (diff)
gentoo auto-resync : 13:06:2024 - 00:08:29
Diffstat (limited to 'dev-python/pyalsa')
-rw-r--r--dev-python/pyalsa/Manifest2
-rw-r--r--dev-python/pyalsa/pyalsa-1.2.12.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pyalsa/Manifest b/dev-python/pyalsa/Manifest
index 6c222bf34d25..f407200faf82 100644
--- a/dev-python/pyalsa/Manifest
+++ b/dev-python/pyalsa/Manifest
@@ -1,5 +1,7 @@
AUX pyalsa-1.1.6-no-build-symlinks.patch 682 BLAKE2B 046f4cffa0b08a32360356d82384148b805544b6f05e44ec329bef2299b67e46c68401b800761e9dff2141b22bc029a55fd5cf01cd5cdb533303aef91a2bbe0f SHA512 fd3937df5a69326908da942a8926e10221bb85693c863cc06ca363ca8fb07761173d2b51113615970887442d8779b2e9ff468b927b078acf52620e944b71b779
AUX pyalsa-1.2.7-python3.12.patch 1266 BLAKE2B 3d39d2eeebb9d7c6063144294e94e95d57a377737e71797cc8099e6bebcf096040cbb73ba7eeedc6e866885c954b215f119fb96beb048ba5b32df9584e562eff SHA512 110849f66b4475f6693a2b3d64914745407417a4ac7a6b85a6c9ba0fca17f78ac0b48d1f251875bbec870a4dac58261f0a50da05e9b3911e6ce6f650f85b9c48
+DIST pyalsa-1.2.12.tar.bz2 40133 BLAKE2B 50e4cff2d4fccdf8fd62cb379c08f55f8229b20cb51ac8c89c6ba84214663992748fc9c3555b4242457348dfc877280754f1574eaffb8c9cbc4e82d376d6660c SHA512 9073cb9a1fc6ad04bafa368435e45dd6c8506e14f0e594f02f7d2b7e06c72b8af9babf08cfead57a940a9ebde4548edf608196fea56089fe8d1300a04f573151
DIST pyalsa-1.2.7.tar.bz2 40132 BLAKE2B c100d16bd8c0d9fc6eddcda360f3582c55ed1b143a58a49caf76a62494882952d311271941ce0ecdf57ac934f3564dc922c80e8a5f5742b593341ff4215b700c SHA512 126501fe7b9c006f28e9290bdd3ad907ea9e053b71e21e2c6f0b0beeecdba07b4b557014041b03452f96be690f59f2e647e075487ee87054f21f66df7f39b34b
+EBUILD pyalsa-1.2.12.ebuild 992 BLAKE2B fc28053a5d3fa6b96148dbe90de99e07517808b4d4eae6fc0aaa99ea9f7d77c4f9b5aebfeb134f37e08a35c58c82127d7689026a92185d6402263ccd36d23ac4 SHA512 681972494031aa8f9c6abbd4f285a2dc63fafe3afe6c556eee5b149be476515749394ddd4a19da193c0997ee746e101bac59b337f01eca5680317cb337b54edb
EBUILD pyalsa-1.2.7-r2.ebuild 1095 BLAKE2B 02605570fad953007f053448a3ce8b4375d0a25ac2d1cea2a7d4fd65c3f02c280ec2ed25214a534387614cd3d3a1d056b41b09c4ef89a6d7526a7ffe431a3ba4 SHA512 ee884daba98a303a37f813a3c48dfe6bb5ba1c098010e2191fe17eae628defd33d6a2b5916f30ce8d84c0fdb127a40b90a369e433eead0d30401cd4ef5bcb5a6
MISC metadata.xml 301 BLAKE2B b816bb59aefb837bb3edb807a741eb0d940d4f4ba64a74b98af6fd3678ba12a012e129fa0bcaf6d1923b0b7382b5aab7590f12ad5272f140a9baa3368ce7d2e6 SHA512 9961a4ff57d373a9c70f5e47deea16973c7aea4a9f26dc3ee538371228021c1e46b59fe4519a23a208b0f72bb18f1fd90e8cc5ea9f68d88e9316826adf41dc80
diff --git a/dev-python/pyalsa/pyalsa-1.2.12.ebuild b/dev-python/pyalsa/pyalsa-1.2.12.ebuild
new file mode 100644
index 000000000000..58b911af0ced
--- /dev/null
+++ b/dev-python/pyalsa/pyalsa-1.2.12.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for ALSA library"
+HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
+SRC_URI="https://www.alsa-project.org/files/pub/pyalsa/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+# Needs access to system's alsa configuration/devices
+RESTRICT="test"
+
+DEPEND="
+ media-libs/alsa-lib
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+python_test() {
+ cd "${T}" || die
+
+ shopt -s nullglob
+ local test
+ local failed
+ for test in "${S}"/test/*.py ; do
+ ${EPYTHON} "${test}" || {
+ eerror "${test} failed with ${EPYTHON}"
+ failed=1
+ break
+ }
+ done
+ shopt -u nullglob
+
+ if [[ ${failed} -eq 1 ]] ; then
+ die "${test} failed with ${EPYTHON}"
+ fi
+}