From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/pywlroots/Manifest | 1 - ...pywlroots-0.15.24-no-import-version-check.patch | 13 ----- dev-python/pywlroots/metadata.xml | 11 ----- dev-python/pywlroots/pywlroots-0.17.0.ebuild | 55 ---------------------- 4 files changed, 80 deletions(-) delete mode 100644 dev-python/pywlroots/Manifest delete mode 100644 dev-python/pywlroots/files/pywlroots-0.15.24-no-import-version-check.patch delete mode 100644 dev-python/pywlroots/metadata.xml delete mode 100644 dev-python/pywlroots/pywlroots-0.17.0.ebuild (limited to 'dev-python/pywlroots') diff --git a/dev-python/pywlroots/Manifest b/dev-python/pywlroots/Manifest deleted file mode 100644 index 3d84f9bb70e7..000000000000 --- a/dev-python/pywlroots/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pywlroots-0.17.0.tar.gz 99439 BLAKE2B 0f4153e5d4e7786d52d2a66614c4c92d29d0ef57be74ce8e7b23ed244c361a551b84606493296b99b4b1f48f5c862911f48aa32f3e7d5bd1c0fcedcfb1240474 SHA512 20b93845f26f1942bc111d12de24acc17af24cd70abd644a66a4b43e3622fa2cb9323c7dc846a5708c5cb63631e77020350231a67d3b6702ac5882fcd31411df diff --git a/dev-python/pywlroots/files/pywlroots-0.15.24-no-import-version-check.patch b/dev-python/pywlroots/files/pywlroots-0.15.24-no-import-version-check.patch deleted file mode 100644 index eb0cce91ac35..000000000000 --- a/dev-python/pywlroots/files/pywlroots-0.15.24-no-import-version-check.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://github.com/flacjacket/gentoo-overlay/blob/master/dev-python/pywlroots/files/pywlroots-no_version_check.patch - -This causes sandbox failures in e.g. qtile on importing pywlroots. ---- a/wlroots/ffi_build.py -+++ b/wlroots/ffi_build.py -@@ -44,6 +44,7 @@ def load_wlroots_version(): - - def check_version(): - """Check for wlroots version compatibility""" -+ return - # When importing a system-level installed package, we may not be able to - # create neighboring files, which is done by the `.verify` step. If this - # error is hit, we check with the compiled `wlroots.lib`. diff --git a/dev-python/pywlroots/metadata.xml b/dev-python/pywlroots/metadata.xml deleted file mode 100644 index 34ba1c191606..000000000000 --- a/dev-python/pywlroots/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - python@gentoo.org - - - flacjacket/pywlroots - pywlroots - - diff --git a/dev-python/pywlroots/pywlroots-0.17.0.ebuild b/dev-python/pywlroots/pywlroots-0.17.0.ebuild deleted file mode 100644 index 5f5d3df9f078..000000000000 --- a/dev-python/pywlroots/pywlroots-0.17.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# 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_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python binding to the wlroots library using cffi" -HOMEPAGE=" - https://github.com/flacjacket/pywlroots/ - https://pypi.org/project/pywlroots/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" -IUSE="X" - -# See README for wlroots dep -DEPEND=" - dev-python/cffi:=[${PYTHON_USEDEP}] - >=dev-python/pywayland-0.4.14[${PYTHON_USEDEP}] - >=dev-python/xkbcommon-0.2[${PYTHON_USEDEP}] - =gui-libs/wlroots-$(ver_cut 1-2)*:=[X?] -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests pytest - -src_prepare() { - local PATCHES=( - "${FILESDIR}"/${PN}-0.15.24-no-import-version-check.patch - ) - - # override automagic detection and caching that's completely broken - # by design; https://github.com/flacjacket/pywlroots/issues/132 - cat > wlroots/_build.py <<-EOF || die - has_xwayland = $(usex X True False) - EOF - sed -e "s:return.*has_xwayland$:return $(usex X True False):" \ - -i wlroots/ffi_build.py || die - - distutils-r1_src_prepare -} - -python_test() { - rm -rf wlroots || die - epytest -} -- cgit v1.3