commit: 24883715f6fab5df1a2d8cf7c7ca5830c5d588a2
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Dec 7 16:16:17 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> 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 <andrewammerlaan <AT> 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
}