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 553381382C5 for ; Mon, 7 Dec 2020 16:16:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8287FE0C1A; Mon, 7 Dec 2020 16:16:28 +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 66853E0C1A for ; Mon, 7 Dec 2020 16:16:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 32D38340E8E for ; Mon, 7 Dec 2020 16:16:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8C24474 for ; Mon, 7 Dec 2020 16:16:25 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1607357777.24883715f6fab5df1a2d8cf7c7ca5830c5d588a2.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/pcs/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/pcs/pcs-0.10.7.ebuild X-VCS-Directories: sys-cluster/pcs/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 24883715f6fab5df1a2d8cf7c7ca5830c5d588a2 X-VCS-Branch: dev Date: Mon, 7 Dec 2020 16:16:25 +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: 026cf294-8525-4d9b-a1ed-a6f2050fc904 X-Archives-Hash: 52f116ed4e19c618e4562f263dd3ba7a Message-ID: <20201207161625.1uVwuxRnBLTBGLL-h3ym6VfbyHsgfSXBIvTpghfOg2M@z> commit: 24883715f6fab5df1a2d8cf7c7ca5830c5d588a2 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Dec 7 16:16:17 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Dec 7 16:16:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=24883715 sys-cluster/pcs: fix install Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> sys-cluster/pcs/pcs-0.10.7.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-cluster/pcs/pcs-0.10.7.ebuild b/sys-cluster/pcs/pcs-0.10.7.ebuild index a0f3ad18..56339bee 100644 --- a/sys-cluster/pcs/pcs-0.10.7.ebuild +++ b/sys-cluster/pcs/pcs-0.10.7.ebuild @@ -4,6 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend USE_RUBY="ruby25 ruby26" inherit distutils-r1 ruby-ng systemd @@ -59,6 +60,8 @@ ruby_add_rdepend " PATCHES=( "${FILESDIR}/remove-ruby-bundle-path.patch" "${FILESDIR}/openrc-0.10.7.patch" ) +S="${WORKDIR}/all/${P}" + src_compile() { return } @@ -81,7 +84,7 @@ src_install() { keepdir /var/lib/pcsd # symlink the /usr/lib/pcs/pcs to /usr/sbin/pcs for pcsd - dosym ../../../sbin/pcs "${EPREFIX}/usr/lib/pcs/pcs" + dosym ../../sbin/pcs "${EPREFIX}/usr/lib/pcs/pcs" # use Debian style systemd unit (with config in /etc/default/pcsd) systemd_newunit "${S}/pcsd/pcsd.service.debian" "pcsd.service" @@ -102,4 +105,6 @@ src_install() { rm "${D}/usr/lib/pcs/pcs_snmp_agent" rm "${D}/etc/default/pcs_snmp_agent" fi + + python_foreach_impl python_optimize }