diff options
author | Alfred Wingate <parona@protonmail.com> | 2023-12-19 10:58:35 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-12-21 09:54:29 -0500 |
commit | 2ecfe96d99aed2238535bd2ee6df24732febeebf (patch) | |
tree | 20391b288284ffe7c3d775bf9ef3216952aef8a5 /x11-misc | |
parent | kde-apps/dolphin: Accept kde-apps/kio-extras-kf5 (diff) | |
download | gentoo-2ecfe96d99aed2238535bd2ee6df24732febeebf.tar.gz gentoo-2ecfe96d99aed2238535bd2ee6df24732febeebf.tar.bz2 gentoo-2ecfe96d99aed2238535bd2ee6df24732febeebf.zip |
x11-misc/xkeyboard-config: restrict <pycountry-23.12.7
* Fix usage of python_has_version.
* Unkeyword ~s390 again.
Bug: https://bugs.gentoo.org/917501
Closes: https://bugs.gentoo.org/920278
Closes: https://github.com/gentoo/gentoo/pull/34367
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xkeyboard-config/xkeyboard-config-2.40-r1.ebuild | 12 | ||||
-rw-r--r-- | x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild | 10 |
2 files changed, 13 insertions, 9 deletions
diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.40-r1.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.40-r1.ebuild index f921fd1f7cc2..f3922e76d870 100644 --- a/x11-misc/xkeyboard-config/xkeyboard-config-2.40-r1.ebuild +++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.40-r1.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else SRC_URI="https://www.x.org/releases/individual/data/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" fi LICENSE="MIT" @@ -22,6 +22,7 @@ SLOT="0" IUSE="test" RESTRICT="!test? ( test )" +# <dev-python/pycountry-23.12.7 bug #920278 BDEPEND=" dev-lang/perl dev-libs/libxslt @@ -31,7 +32,7 @@ BDEPEND=" x11-apps/xkbcomp x11-libs/libxkbcommon $(python_gen_any_dep ' - dev-python/pycountry[${PYTHON_USEDEP}] + <dev-python/pycountry-23.12.7[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] ') @@ -40,9 +41,10 @@ BDEPEND=" python_check_deps() { use test || return 0 - python_has_version "dev-python/pycountry[${PYTHON_USEDEP}]" - python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]" - python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" + python_has_version \ + "<dev-python/pycountry-23.12.7[${PYTHON_USEDEP}]" \ + "dev-python/pytest-xdist[${PYTHON_USEDEP}]" \ + "dev-python/pytest[${PYTHON_USEDEP}]" } pkg_setup() { diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild index 4456bf37dfdd..026837b87ed2 100644 --- a/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild +++ b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild @@ -22,6 +22,7 @@ SLOT="0" IUSE="test" RESTRICT="!test? ( test )" +# <dev-python/pycountry-23.12.7 bug #920278 BDEPEND=" dev-lang/perl dev-libs/libxslt @@ -31,7 +32,7 @@ BDEPEND=" x11-apps/xkbcomp x11-libs/libxkbcommon $(python_gen_any_dep ' - dev-python/pycountry[${PYTHON_USEDEP}] + <dev-python/pycountry-23.12.7[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] ') @@ -40,9 +41,10 @@ BDEPEND=" python_check_deps() { use test || return 0 - python_has_version "dev-python/pycountry[${PYTHON_USEDEP}]" - python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]" - python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" + python_has_version \ + "<dev-python/pycountry-23.12.7[${PYTHON_USEDEP}]" \ + "dev-python/pytest-xdist[${PYTHON_USEDEP}]" \ + "dev-python/pytest[${PYTHON_USEDEP}]" } pkg_setup() { |