diff options
Diffstat (limited to 'dev-python/pyalsa')
-rw-r--r-- | dev-python/pyalsa/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyalsa/pyalsa-1.2.14.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pyalsa/Manifest b/dev-python/pyalsa/Manifest index 02ca9e260f02..a718564112aa 100644 --- a/dev-python/pyalsa/Manifest +++ b/dev-python/pyalsa/Manifest @@ -1,3 +1,5 @@ DIST pyalsa-1.2.12.tar.bz2 40133 BLAKE2B 50e4cff2d4fccdf8fd62cb379c08f55f8229b20cb51ac8c89c6ba84214663992748fc9c3555b4242457348dfc877280754f1574eaffb8c9cbc4e82d376d6660c SHA512 9073cb9a1fc6ad04bafa368435e45dd6c8506e14f0e594f02f7d2b7e06c72b8af9babf08cfead57a940a9ebde4548edf608196fea56089fe8d1300a04f573151 +DIST pyalsa-1.2.14.tar.bz2 40383 BLAKE2B dc2cf0e631b4bf954a0fd09219236067f3ca7fd0a740641b1cdec86f9bf7af6325e58ffd8b6bae3372eb6c1afdf055c2bcad1fa54cb2784edf9a18eb18923870 SHA512 8a3fec7568d9e36bdf39a048f5cfe1c7f656ea08777eac3280329afbb1c9c870136e3fd54fd334762d9942385ddfead9bc15ee86d244d8c50869b34c4cb52f7d EBUILD pyalsa-1.2.12.ebuild 981 BLAKE2B f312959850a3e1629941d0d9f75d788fd0d2eb2154042b43d6837f069ff3496d1ac8145d9e4adc0126051cfb748af647911729549c291fc2ca4fbde611f2eeef SHA512 dfed8c7087115dfc4919bdb4302169b8bf7215c4463e049daae36078687943b151fb095ae280467bb3c54afbee3b039ebebdf9f0558d2bd18ef20a3a1a6b4bdb +EBUILD pyalsa-1.2.14.ebuild 986 BLAKE2B 849d622b9a6eb772b7cc851258eddd85a0a25021c25e25704baa7d67b9b1f0bbbf14b96b7d2a01f731bcf5fa78ec2ad5c186e3e480cd0d91228660f569f6e64e SHA512 e6db482259071d730e78bff0e69d294595da72f23e066cb71f599dabdd3e15fe1dcb95a39d258035b6a7007922677a9e43778d2f3c2a32d21d6f039db98a74af MISC metadata.xml 301 BLAKE2B b816bb59aefb837bb3edb807a741eb0d940d4f4ba64a74b98af6fd3678ba12a012e129fa0bcaf6d1923b0b7382b5aab7590f12ad5272f140a9baa3368ce7d2e6 SHA512 9961a4ff57d373a9c70f5e47deea16973c7aea4a9f26dc3ee538371228021c1e46b59fe4519a23a208b0f72bb18f1fd90e8cc5ea9f68d88e9316826adf41dc80 diff --git a/dev-python/pyalsa/pyalsa-1.2.14.ebuild b/dev-python/pyalsa/pyalsa-1.2.14.ebuild new file mode 100644 index 000000000000..5d8a88c494d7 --- /dev/null +++ b/dev-python/pyalsa/pyalsa-1.2.14.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 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 ~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 +} |