commit:     562cc59676dfe48e00f67cc838a1976228fb422a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 15 05:16:02 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 15 05:47:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=562cc596

dev-python/xcffib: Bump to 1.12.0

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

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

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
+}

Reply via email to