commit:     961553ea268bc71d071e5c0e7fd3e71b82fe076b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  6 05:03:27 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  6 05:29:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=961553ea

dev-python/xkbcommon: Bump to 1.0.1

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

 dev-python/xkbcommon/Manifest               |  1 +
 dev-python/xkbcommon/xkbcommon-1.0.1.ebuild | 44 +++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/xkbcommon/Manifest b/dev-python/xkbcommon/Manifest
index f15b86461fb5..0455f348a7be 100644
--- a/dev-python/xkbcommon/Manifest
+++ b/dev-python/xkbcommon/Manifest
@@ -1 +1,2 @@
+DIST python-xkbcommon-1.0.1.gh.tar.gz 79263 BLAKE2B 
8bc128e592a02b14321fe087f7c0ae87a699e0284c3230fa2a0b1cf2e8105037fa0ace876216ec8a72cc49eb76fab0af83b7a5d83a3943f609954205d949def0
 SHA512 
1e0393c5d7e99d9a68168a5486a15b3598d8539b7a7b0a7c41a9c1a329cfe79d3f19556b481f5625e1bea1cc41f3394dcc1fc1bf1dbd98cd58db54f471ece5d5
 DIST python-xkbcommon-1.0.gh.tar.gz 27258 BLAKE2B 
3106877f8e87f50453a358eec4e6431642b00a6a2bc23d3088ef22379984869ec84cd042a1ac53dd72783f3005dad1efddf3f87410204b88bfde4f9da0044c97
 SHA512 
c7793d6f5517771006ff5a9c01deb9a37717157d7171af49ff459dc96b3b16a1d2d4c0f1272b5a8f683390de1e8e6a6ff92472f18828c7e38e0f2a1ee6f34f07

diff --git a/dev-python/xkbcommon/xkbcommon-1.0.1.ebuild 
b/dev-python/xkbcommon/xkbcommon-1.0.1.ebuild
new file mode 100644
index 000000000000..ee7ef4fcf845
--- /dev/null
+++ b/dev-python/xkbcommon/xkbcommon-1.0.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2023-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} pypy3 )
+
+inherit distutils-r1
+
+MY_P=python-xkbcommon-${PV}
+DESCRIPTION="Python bindings for libxkbcommon using cffi"
+HOMEPAGE="
+       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
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+# x11-libs/libxkbcommon dep per README
+RDEPEND="
+       >=x11-libs/libxkbcommon-${PV}
+       $(python_gen_cond_dep '
+               dev-python/cffi[${PYTHON_USEDEP}]
+       ' 'python*')
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_test() {
+       rm -rf xkbcommon || die
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to