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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BBE9D1382C5 for ; Wed, 7 Apr 2021 23:05:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14338E08FB; Wed, 7 Apr 2021 23:05:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E893DE0908 for ; Wed, 7 Apr 2021 23:05:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7AC6340CEE for ; Wed, 7 Apr 2021 23:05:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26910640 for ; Wed, 7 Apr 2021 23:05:09 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1617836644.08544d9afaff2107bc9ec6ee919371a3f41df44f.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/xpra/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/xpra/xpra-4.1.2.ebuild X-VCS-Directories: x11-wm/xpra/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 08544d9afaff2107bc9ec6ee919371a3f41df44f X-VCS-Branch: master Date: Wed, 7 Apr 2021 23:05:09 +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: d528fb83-ac58-4392-a9e7-5603bcb2c845 X-Archives-Hash: 759094e56d17f813bbcf9ff7bd571af9 commit: 08544d9afaff2107bc9ec6ee919371a3f41df44f Author: James Le Cuirot gentoo org> AuthorDate: Wed Apr 7 23:04:04 2021 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Apr 7 23:04:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08544d9a x11-wm/xpra: Fix udev rule installation path Although /usr/lib/udev is mentioned in udev's documentation, Gentoo typically uses /lib/udev so move the directory. Closes: https://bugs.gentoo.org/777867 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: James Le Cuirot gentoo.org> x11-wm/xpra/xpra-4.1.2.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/x11-wm/xpra/xpra-4.1.2.ebuild b/x11-wm/xpra/xpra-4.1.2.ebuild index 65e29330271..cde55d55195 100644 --- a/x11-wm/xpra/xpra-4.1.2.ebuild +++ b/x11-wm/xpra/xpra-4.1.2.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) DISTUTILS_SINGLE_IMPL=yes DISTUTILS_USE_SETUPTOOLS=no -inherit xdg distutils-r1 tmpfiles prefix +inherit xdg distutils-r1 tmpfiles prefix udev DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" HOMEPAGE="https://xpra.org/" @@ -157,3 +157,12 @@ python_configure_all() { export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra" } + +python_install_all() { + distutils-r1_python_prepare_all + + # Move udev dir to the right place. + local dir=$(get_udevdir) + dodir "${dir%/*}" + mv -vnT "${ED}"/usr/lib/udev "${ED}${dir}" || die +}