From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B815158041 for ; Wed, 3 Apr 2024 19:17:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A45CF2BC01A; Wed, 3 Apr 2024 19:17:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BCF62BC01A for ; Wed, 3 Apr 2024 19:17:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6B4034320B for ; Wed, 3 Apr 2024 19:17:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0119D166C for ; Wed, 3 Apr 2024 19:17:29 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1712171825.341f8fb96589ad4624c97f5f6f4f64676331a15b.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/herbstluftwm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/herbstluftwm/herbstluftwm-9999.ebuild X-VCS-Directories: x11-wm/herbstluftwm/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 341f8fb96589ad4624c97f5f6f4f64676331a15b X-VCS-Branch: master Date: Wed, 3 Apr 2024 19:17:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: be8dcdd2-cae9-40db-9a15-f4fd21d009cd X-Archives-Hash: 26b1031807af7ae9146bd142f520546d commit: 341f8fb96589ad4624c97f5f6f4f64676331a15b Author: Florian Schmaus gentoo org> AuthorDate: Wed Apr 3 19:16:16 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Apr 3 19:17:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341f8fb9 x11-wm/herbstluftwm: sync live Signed-off-by: Florian Schmaus gentoo.org> x11-wm/herbstluftwm/herbstluftwm-9999.ebuild | 26 +++++++++++++------------- 1 file 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"