diff options
author | Benda Xu <heroxbd@gentoo.org> | 2020-03-19 15:13:03 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-03-19 15:30:43 -0700 |
commit | 9500cb315bbe6705f796aa7454d76e0eef020002 (patch) | |
tree | ef81334b20f004f59caf58fa6d519ee723af3d01 /x11-misc | |
parent | dev-python/ipy: Remove old (diff) | |
download | gentoo-9500cb315bbe6705f796aa7454d76e0eef020002.tar.gz gentoo-9500cb315bbe6705f796aa7454d76e0eef020002.tar.bz2 gentoo-9500cb315bbe6705f796aa7454d76e0eef020002.zip |
x11-misc/xkeyboard-config: Use python-any-r1
Closes: https://bugs.gentoo.org/712792
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xkeyboard-config/xkeyboard-config-2.29.ebuild | 7 | ||||
-rw-r--r-- | x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.29.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.29.ebuild index 6ff6eec8778a..2bbc4b24325b 100644 --- a/x11-misc/xkeyboard-config/xkeyboard-config-2.29.ebuild +++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.29.ebuild @@ -3,6 +3,9 @@ EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit python-any-r1 + DESCRIPTION="X keyboard configuration database" HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config" @@ -32,6 +35,10 @@ PATCHES=( "${FILESDIR}"/${P}-fix-python3-support.patch ) +pkg_setup() { + python-any-r1_pkg_setup +} + src_prepare() { default [[ ${PV} == 9999 ]] && eautoreconf diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild index 712663d9504c..8d54fdae4de8 100644 --- a/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild +++ b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild @@ -3,6 +3,9 @@ EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit python-any-r1 + DESCRIPTION="X keyboard configuration database" HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config" @@ -28,6 +31,10 @@ BDEPEND=" RDEPEND="" DEPEND="${LIVE_DEPEND}" +pkg_setup() { + python-any-r1_pkg_setup +} + src_prepare() { default [[ ${PV} == 9999 ]] && eautoreconf |