From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pywayland/
Date: Sun, 11 Jun 2023 09:21:45 +0000 (UTC) [thread overview]
Message-ID: <1686475298.4c5b2c9d3a796cc05afb99df86205a4e848cbf20.mgorny@gentoo> (raw)
commit: 4c5b2c9d3a796cc05afb99df86205a4e848cbf20
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 11 09:12:56 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 09:21:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5b2c9d
dev-python/pywayland: Replace virtual/python-cffi dependency + QA
Replace deprecated virtual/python-cffi and add missing `|| die`
after `rm`.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pywayland/pywayland-0.4.15.ebuild | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/dev-python/pywayland/pywayland-0.4.15.ebuild b/dev-python/pywayland/pywayland-0.4.15.ebuild
index 22d1f8d9f0dd..13737fa80279 100644
--- a/dev-python/pywayland/pywayland-0.4.15.ebuild
+++ b/dev-python/pywayland/pywayland-0.4.15.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
inherit distutils-r1 xdg-utils
@@ -26,12 +26,17 @@ KEYWORDS="amd64 ~riscv ~x86"
RDEPEND="
dev-libs/wayland
- virtual/python-cffi[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/cffi[${PYTHON_USEDEP}]
+ ' 'python*')
"
-DEPEND="${RDEPEND}
+DEPEND="
+ ${RDEPEND}
dev-libs/wayland-protocols
"
-BDEPEND="dev-util/wayland-scanner"
+BDEPEND="
+ dev-util/wayland-scanner
+"
distutils_enable_tests pytest
@@ -43,7 +48,7 @@ python_prepare_all() {
python_test() {
# No die deliberately as sometimes it doesn't exist
- rm -r pywayland
+ rm -rf pywayland || die
epytest
}
next reply other threads:[~2023-06-11 9:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-11 9:21 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-02 19:31 [gentoo-commits] repo/gentoo:master commit in: dev-python/pywayland/ Michał Górny
2024-08-17 11:16 Michał Górny
2024-08-17 11:15 Michał Górny
2024-07-28 5:25 Michał Górny
2024-05-18 8:59 Michał Górny
2023-11-29 10:17 Michał Górny
2023-11-29 10:15 Michał Górny
2023-10-27 18:07 Michał Górny
2023-10-07 4:43 Michał Górny
2023-09-02 2:58 Michał Górny
2023-09-01 19:26 Arthur Zamarin
2023-07-27 3:21 Michał Górny
2023-05-03 6:55 Arthur Zamarin
2023-03-09 7:33 Arthur Zamarin
2023-01-14 8:50 Joonas Niilola
2023-01-14 8:50 Joonas Niilola
2023-01-12 21:18 Yixun Lan
2023-01-12 7:06 Sam James
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=1686475298.4c5b2c9d3a796cc05afb99df86205a4e848cbf20.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