public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xkbcommon/
Date: Sun, 11 Jun 2023 09:21:45 +0000 (UTC)	[thread overview]
Message-ID: <1686475302.03bc76241ceb031baec3c09df142bb73ffd464e2.mgorny@gentoo> (raw)

commit:     03bc76241ceb031baec3c09df142bb73ffd464e2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 11 09:18:09 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 09:21:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03bc7624

dev-python/xkbcommon: Replace virtual/python-cffi dep + QA

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/xkbcommon/Manifest             |  2 +-
 dev-python/xkbcommon/xkbcommon-0.8.ebuild | 16 +++++++++-------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/dev-python/xkbcommon/Manifest b/dev-python/xkbcommon/Manifest
index 95f920325d37..e2afa5bebb5b 100644
--- a/dev-python/xkbcommon/Manifest
+++ b/dev-python/xkbcommon/Manifest
@@ -1 +1 @@
-DIST xkbcommon-0.8.gh.tar.gz 26951 BLAKE2B 0d2a649e3fee8baa9345ddca97dc7c77b5d9e10d7ca90cbb29bcc3531f4bba3deee39e610e147054e956310506fb79ebb43c85955b787e55046d67c12b851026 SHA512 ae2640ef89e7ace0468e970762c7be4d3f608701f1abea10174f274c622db28a6e6323cdc5bbbbaaa1065d4c4ddf9f67b75d4c34bb2e9a0bb6260778b15a330a
+DIST python-xkbcommon-0.8.gh.tar.gz 26951 BLAKE2B 0d2a649e3fee8baa9345ddca97dc7c77b5d9e10d7ca90cbb29bcc3531f4bba3deee39e610e147054e956310506fb79ebb43c85955b787e55046d67c12b851026 SHA512 ae2640ef89e7ace0468e970762c7be4d3f608701f1abea10174f274c622db28a6e6323cdc5bbbbaaa1065d4c4ddf9f67b75d4c34bb2e9a0bb6260778b15a330a

diff --git a/dev-python/xkbcommon/xkbcommon-0.8.ebuild b/dev-python/xkbcommon/xkbcommon-0.8.ebuild
index 4161cc0dc454..7055c24334cc 100644
--- a/dev-python/xkbcommon/xkbcommon-0.8.ebuild
+++ b/dev-python/xkbcommon/xkbcommon-0.8.ebuild
@@ -5,20 +5,21 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
 
 inherit distutils-r1
 
+MY_P=python-xkbcommon-${PV}
 DESCRIPTION="Python bindings for libxkbcommon using cffi"
 HOMEPAGE="
-	https://github.com/sde1000/python-xkbcommon
+	https://github.com/sde1000/python-xkbcommon/
 	https://pypi.org/project/xkbcommon/
 "
 SRC_URI="
 	https://github.com/sde1000/python-xkbcommon/archive/refs/tags/v${PV}.tar.gz
-		-> ${P}.gh.tar.gz
+		-> ${MY_P}.gh.tar.gz
 "
-S="${WORKDIR}"/python-${P}
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
@@ -27,15 +28,16 @@ KEYWORDS="amd64 ~riscv ~x86"
 # x11-libs/libxkbcommon dep per README
 RDEPEND="
 	>=x11-libs/libxkbcommon-${PV}
-	virtual/python-cffi[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		dev-python/cffi[${PYTHON_USEDEP}]
+	' 'python*')
 "
 DEPEND="${RDEPEND}"
 
 distutils_enable_tests pytest
 
 python_test() {
-	# No die deliberately as sometimes it doesn't exist
-	rm -r xkbcommon
+	rm -rf xkbcommon || die
 
 	epytest
 }


             reply	other threads:[~2023-06-11  9:21 UTC|newest]

Thread overview: 16+ 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 --
2024-07-27  9:53 [gentoo-commits] repo/gentoo:master commit in: dev-python/xkbcommon/ Michał Górny
2024-07-27  8:19 Arthur Zamarin
2024-07-07 17:14 Arthur Zamarin
2024-07-06  5:29 Michał Górny
2024-07-06  5:29 Michał Górny
2024-05-18 11:46 Michał Górny
2024-04-27 11:29 Michał Górny
2024-04-27 11:27 Michał Górny
2024-04-13  5:35 Arthur Zamarin
2023-10-27 18:27 Michał Górny
2023-05-04 17:04 Michał Górny
2023-05-03  6:55 Arthur Zamarin
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=1686475302.03bc76241ceb031baec3c09df142bb73ffd464e2.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