diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild new file mode 100644 index 0000000000..8e83c1d8d6 --- /dev/null +++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit git-r3 meson python-single-r1 xdg + +DESCRIPTION="GTK+ Himitsu prompter for Wayland" +HOMEPAGE="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py" +EGIT_COMMIT="f74499302bdd6558d4644c25e15c9b5c482270ea" +EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py" +LICENSE="GPL-3" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pygobject[${PYTHON_USEDEP}]') + x11-libs/gtk+:3[introspection] + >=gui-libs/gtk-layer-shell-0.5.0 +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + sed -i "s;@PYTHON@;/usr/bin/${EPYTHON};g" hiprompt_gtk/hiprompt-gtk.in || die +} diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild index bca2825989..c1cef816ad 100644 --- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild +++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit git-r3 meson python-single-r1 xdg DESCRIPTION="GTK+ Himitsu prompter for Wayland" @@ -11,6 +11,7 @@ HOMEPAGE="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py" EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py" LICENSE="GPL-3" SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" ${PYTHON_DEPS}