summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-08-29 07:17:49 +0200
committerMichał Górny <mgorny@gentoo.org>2025-08-29 07:17:49 +0200
commit20254c7b59d3b2967c910c26ce927a97fb883417 (patch)
treec1ad66e86edfa634081ab19b082d3025691e9b9c /dev-python
parentf31277e0d768bf425e3a098d1e9e9e0f06a962ee (diff)
downloadgentoo-20254c7b59d3b2967c910c26ce927a97fb883417.tar.gz
gentoo-20254c7b59d3b2967c910c26ce927a97fb883417.tar.bz2
gentoo-20254c7b59d3b2967c910c26ce927a97fb883417.zip
dev-python/xcffib: Bump to 1.10.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/xcffib/Manifest1
-rw-r--r--dev-python/xcffib/xcffib-1.10.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/xcffib/Manifest b/dev-python/xcffib/Manifest
index fd82c3a24111..e1ba95ff2c0d 100644
--- a/dev-python/xcffib/Manifest
+++ b/dev-python/xcffib/Manifest
@@ -1 +1,2 @@
+DIST xcffib-1.10.0.tar.gz 111521 BLAKE2B bceb78b64d4bd22ef350756e630bb8bb640e1bcb0823168d1134d7465b93c895a70e5ebde0c9665d0f0582207e72653865b814790c45914a14bb2f20e37ff461 SHA512 db9754967a2cd6ae6ae7db5e72a40f6c9f412f3834160fd3ff8a21a286b574e2f307dc807603c9015512e3bc757b65947aa6e0088a73a7c504423f394fe41066
DIST xcffib-1.9.0.tar.gz 110472 BLAKE2B 040adb746726a10d6149e8f914a60fad1e4eca2b52711ff261de040bff35c64a748c5781ddd70a756f1c41cfbfc785fff62a86f65e3fa99243eef5e474809e0c SHA512 c0b1c3606c8430e83fb980d4c006b6be1eee91aaf6f40b8159dbdad50b2e596dc85372a83eae85e34a702cbdde98eb7219a260fb520b0ddfb16d897722b64fe0
diff --git a/dev-python/xcffib/xcffib-1.10.0.ebuild b/dev-python/xcffib/xcffib-1.10.0.ebuild
new file mode 100644
index 000000000000..7ea2afa7df10
--- /dev/null
+++ b/dev-python/xcffib/xcffib-1.10.0.ebuild
@@ -0,0 +1,44 @@
+# 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_{11..14} pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A drop in replacement for xpyb, an XCB python binding"
+HOMEPAGE="
+ https://github.com/tych0/xcffib/
+ https://pypi.org/project/xcffib/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+DEPEND="
+ x11-libs/libxcb
+"
+RDEPEND="
+ $(python_gen_cond_dep '
+ >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
+ ' 'python*')
+ ${DEPEND}
+"
+BDEPEND="
+ test? (
+ x11-base/xorg-server[xvfb]
+ x11-apps/xeyes
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+ rm -rf xcffib || die
+ epytest
+}