diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-04-03 21:16:16 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-04-03 21:17:05 +0200 |
commit | 341f8fb96589ad4624c97f5f6f4f64676331a15b (patch) | |
tree | dab08816feb07226daa569f1f72afb4e24680cc7 /x11-wm/herbstluftwm | |
parent | x11-wm/herbstluftwm: enable py3.12 (diff) | |
download | gentoo-341f8fb96589ad4624c97f5f6f4f64676331a15b.tar.gz gentoo-341f8fb96589ad4624c97f5f6f4f64676331a15b.tar.bz2 gentoo-341f8fb96589ad4624c97f5f6f4f64676331a15b.zip |
x11-wm/herbstluftwm: sync live
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'x11-wm/herbstluftwm')
-rw-r--r-- | x11-wm/herbstluftwm/herbstluftwm-9999.ebuild | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild index 7c5b5aaecbda..f9a7de769844 100644 --- a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild +++ b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) DISTUTILS_USE_PEP517=setuptools DISTUTILS_OPTIONAL=1 -inherit cmake distutils-r1 +inherit cmake desktop distutils-r1 DESCRIPTION="A manual tiling window manager for X" HOMEPAGE="https://herbstluftwm.org/" @@ -24,7 +24,10 @@ LICENSE="BSD-2" SLOT="0" IUSE="+doc python test" RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + test? ( python ) +" COMMON_DEPEND=" x11-libs/libX11 @@ -130,21 +133,18 @@ src_install() { herbstluftwm-tutorial.7 ) for man_page in "${man_pages[@]}"; do - doman "${BUILD_DIR}/doc/${man_page}" + doman "doc/${man_page}" done fi + + # Do not only install the herbstluftwm.desktop file in xsessions/ but + # also in applications/. This allows herbstluftwm to be used as + # window manager of a Gnome flashback session. + domenu "${ED}"/usr/share/xsessions/herbstluftwm.desktop } distutils_enable_tests pytest -python_test() { - pushd python > /dev/null || die - distutils_install_for_testing - popd > /dev/null || die - - distutils-r1_python_test -} - src_test() { if [[ -n "${EGIT_REPO_URI}" ]]; then ln -s "${BUILD_DIR}/doc/hlwm-doc.json" "doc/hlwm-doc.json" || die "Could not symlink hlwm-doc.json" |