From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyalsa/
Date: Sat, 9 Mar 2024 16:54:07 +0000 (UTC) [thread overview]
Message-ID: <1710003243.c19c0e8b78b4c29f5475617bfd323a477aa8454e.mgorny@gentoo> (raw)
commit: c19c0e8b78b4c29f5475617bfd323a477aa8454e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 9 16:52:48 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 9 16:54:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19c0e8b
dev-python/pyalsa: PEP517, fix license
Closes: https://bugs.gentoo.org/909932
Closes: https://bugs.gentoo.org/921668
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyalsa/pyalsa-1.2.7-r1.ebuild | 55 ++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/dev-python/pyalsa/pyalsa-1.2.7-r1.ebuild b/dev-python/pyalsa/pyalsa-1.2.7-r1.ebuild
new file mode 100644
index 000000000000..8c13d7107c02
--- /dev/null
+++ b/dev-python/pyalsa/pyalsa-1.2.7-r1.ebuild
@@ -0,0 +1,55 @@
+# 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
+# py3.12: seqtest*.py segfaults
+PYTHON_COMPAT=( python3_{10..11} )
+
+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}]
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.1.6-no-build-symlinks.patch"
+)
+
+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
+}
next reply other threads:[~2024-03-09 16:54 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-09 16:54 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-29 10:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyalsa/ Sam James
2024-06-29 7:57 Arthur Zamarin
2024-06-29 7:57 Arthur Zamarin
2024-06-29 5:55 Joonas Niilola
2024-06-29 5:55 Joonas Niilola
2024-06-12 4:26 Sam James
2024-06-07 17:29 Michał Górny
2024-06-07 16:25 Arthur Zamarin
2024-06-03 1:08 Sam James
2024-06-03 1:05 Sam James
2024-06-03 0:44 Sam James
2024-06-02 23:54 Sam James
2024-03-31 19:09 Arthur Zamarin
2024-03-30 15:28 Michał Górny
2024-03-30 14:59 Michał Górny
2024-03-30 14:59 Michał Górny
2024-03-30 14:53 Michał Górny
2024-03-09 17:05 Michał Górny
2023-02-17 7:36 Sam James
2022-07-30 9:13 Sam James
2022-07-02 19:26 Michał Górny
2022-07-02 18:18 Sam James
2022-07-02 16:05 Jakov Smolić
2022-07-02 13:43 Arthur Zamarin
2022-07-02 13:12 Arthur Zamarin
2022-07-02 11:57 Arthur Zamarin
2022-06-01 7:21 Lars Wendler
2022-01-08 18:23 Michał Górny
2022-01-08 18:03 Jakov Smolić
2022-01-08 18:03 Jakov Smolić
2022-01-08 13:29 Arthur Zamarin
2022-01-08 13:29 Arthur Zamarin
2022-01-08 13:29 Arthur Zamarin
2021-12-07 6:47 Lars Wendler
2021-09-10 15:05 Yixun Lan
2021-06-05 20:09 Lars Wendler
2021-05-06 7:11 Lars Wendler
2020-05-04 16:51 Agostino Sarubbo
2020-05-03 19:02 Agostino Sarubbo
2020-05-03 15:13 Agostino Sarubbo
2020-05-03 10:25 Agostino Sarubbo
2020-03-26 18:54 Lars Wendler
2020-03-26 18:54 Lars Wendler
2019-12-09 18:27 Sergei Trofimovich
2019-09-30 6:59 Michał Górny
2019-02-18 19:48 Sergei Trofimovich
2018-11-07 23:28 Sergei Trofimovich
2018-10-18 11:45 Tobias Klausmann
2018-10-17 12:07 Thomas Deutschmann
2018-10-17 10:25 Mikle Kolyada
2018-04-02 6:23 Matt Turner
2018-03-02 18:09 Michał Górny
2016-12-18 16:30 Agostino Sarubbo
2016-12-18 16:25 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1710003243.c19c0e8b78b4c29f5475617bfd323a477aa8454e.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox