summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-12-15 06:16:02 +0100
committerMichał Górny <mgorny@gentoo.org>2025-12-15 06:47:47 +0100
commit562cc59676dfe48e00f67cc838a1976228fb422a (patch)
treec63644f1e98d1f7cb9239439b9a3d3d68ac05722 /dev-python
parentebe67cae4fea8aba3ea49fc9fb286b9f633e713e (diff)
downloadgentoo-562cc59676dfe48e00f67cc838a1976228fb422a.tar.gz
gentoo-562cc59676dfe48e00f67cc838a1976228fb422a.tar.bz2
gentoo-562cc59676dfe48e00f67cc838a1976228fb422a.zip
dev-python/xcffib: Bump to 1.12.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.12.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/xcffib/Manifest b/dev-python/xcffib/Manifest
index 7469f0843913..7b13a6691306 100644
--- a/dev-python/xcffib/Manifest
+++ b/dev-python/xcffib/Manifest
@@ -1 +1,2 @@
DIST xcffib-1.11.2.tar.gz 111390 BLAKE2B 53282c0e8048558cddd45aefdef0fc435bdb4920b56bbedbf781063748b40d938c508eb796ca20ee339088b38719b334d1f93ed943ed32c105c72d8ec0d65fee SHA512 128bd51975b719952c348465a68eeb1d71e0241e49a28ca8544ac487f454187374c29236a39134a7c6436fbb95398b18ae3f7caf8f0f9159ce37a9737cbd8442
+DIST xcffib-1.12.0.tar.gz 131116 BLAKE2B a99cb38ae57bc5e46b797315668a7bdf0a55cbdc60286cea6a576cefb4597eecf8935163fa6223d2729a97f55c03c5177d6f9b2e667dda82fa1972a12ac8a8e7 SHA512 5c799bf394e25cfd2d03c6802ad3fc05ed98eaa7232dff6e9d77b1fd775f3a139ad4935e521a23d1de081fd7fa9f5f81bb6f7eb8f96d8f2101fddc0c88721ecd
diff --git a/dev-python/xcffib/xcffib-1.12.0.ebuild b/dev-python/xcffib/xcffib-1.12.0.ebuild
new file mode 100644
index 000000000000..7ea2afa7df10
--- /dev/null
+++ b/dev-python/xcffib/xcffib-1.12.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
+}