Files
gentoo/dev-python/python3-xapp/python3-xapp-3.0.2.ebuild
T
Matthew S. Turnbull dd5da7c035 dev-python/python3-xapp: add 3.0.2
Signed-off-by: Matthew S. Turnbull <sparky@bluefang-logic.com>
Closes: https://bugs.gentoo.org/967385
Part-of: https://github.com/gentoo/gentoo/pull/45857
Signed-off-by: Sam James <sam@gentoo.org>
2026-03-06 00:40:30 +00:00

54 lines
1.1 KiB
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..14} )
inherit meson python-r1
DESCRIPTION="Python bindings for x11-libs/xapp"
HOMEPAGE="https://github.com/linuxmint/python3-xapp"
SRC_URI="https://github.com/linuxmint/python3-xapp/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# There are no tests, and src_test() needs to be overridden
# using python_foreach_impl otherwise theres an error.
RESTRICT="test"
DEPEND="
$(python_gen_cond_dep '
>=x11-libs/xapp-3.2.2[introspection,${PYTHON_USEDEP}]
')
"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
dev-python/psutil[${PYTHON_USEDEP}]
x11-themes/xapp-symbolic-icon-theme
"
src_configure() {
configuring() {
meson_src_configure \
-Dpython_target="${EPYTHON}"
}
python_foreach_impl configuring
}
src_compile() {
python_foreach_impl meson_src_compile
}
src_install() {
installing() {
meson_src_install
python_optimize
}
python_foreach_impl installing
}