public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/pcs/
Date: Sun,  6 Dec 2020 19:12:15 +0000 (UTC)	[thread overview]
Message-ID: <1607281919.5105f95191e3e005642c18c3531319861040d281.andrewammerlaan@gentoo> (raw)
Message-ID: <20201206191215.kySM0WPVMZOW1GMUTSsnVPYqSu5BFmpKECmkq6q6LKE@z> (raw)

commit:     5105f95191e3e005642c18c3531319861040d281
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Dec  6 19:11:59 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Dec  6 19:11:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5105f951

sys-cluster/pcs: make repoman happy

- correctly depend on python packages
- correctly depend on ruby packages
- make symlink relative

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-cluster/pcs/pcs-0.10.7.ebuild | 39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)

diff --git a/sys-cluster/pcs/pcs-0.10.7.ebuild b/sys-cluster/pcs/pcs-0.10.7.ebuild
index 5b455099..a0f3ad18 100644
--- a/sys-cluster/pcs/pcs-0.10.7.ebuild
+++ b/sys-cluster/pcs/pcs-0.10.7.ebuild
@@ -4,8 +4,8 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
-#inherit distutils-r1
-inherit python-utils-r1 systemd
+USE_RUBY="ruby25 ruby26"
+inherit distutils-r1 ruby-ng systemd
 
 DESCRIPTION="Pacemaker/Corosync Configuration System"
 HOMEPAGE="https://github.com/ClusterLabs/pcs"
@@ -16,25 +16,31 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="snmp systemd"
 
-DEPEND="media-libs/fontconfig
-	>=dev-lang/ruby-2.2
-	dev-ruby/rubygems
-	dev-ruby/bundler
+DEPEND="
+	media-libs/fontconfig
 	dev-libs/libffi
 	sys-apps/coreutils
 "
 RDEPEND="${DEPEND}
 	>=www-servers/tornado-6.0
 	<www-servers/tornado-7.0
-	dev-python/python-dateutil
-	dev-python/distro
-	dev-python/dacite
-	dev-python/lxml
-	dev-python/pyopenssl
-	dev-python/pycurl
-	dev-python/pyparsing
+	dev-python/python-dateutil[${PYTHON_USEDEP}]
+	dev-python/distro[${PYTHON_USEDEP}]
+	dev-python/dacite[${PYTHON_USEDEP}]
+	dev-python/lxml[${PYTHON_USEDEP}]
+	dev-python/pyopenssl[${PYTHON_USEDEP}]
+	dev-python/pycurl[${PYTHON_USEDEP}]
+	dev-python/pyparsing[${PYTHON_USEDEP}]
 	sys-process/psmisc
 	dev-libs/openssl
+	sys-libs/pam
+	>=sys-cluster/corosync-3.0
+	>=sys-cluster/pacemaker-2.0
+"
+
+ruby_add_rdepend "
+	dev-ruby/bundler
+	dev-ruby/rubygems
 	dev-ruby/open4
 	dev-ruby/highline
 	dev-ruby/json
@@ -49,13 +55,8 @@ RDEPEND="${DEPEND}
 	dev-ruby/sinatra
 	dev-ruby/open4
 	dev-ruby/backports
-	sys-libs/pam
-	>=sys-cluster/corosync-3.0
-	>=sys-cluster/pacemaker-2.0
 "
 
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
 PATCHES=( "${FILESDIR}/remove-ruby-bundle-path.patch" "${FILESDIR}/openrc-0.10.7.patch" )
 
 src_compile() {
@@ -80,7 +81,7 @@ src_install() {
 	keepdir /var/lib/pcsd
 
 	# symlink the /usr/lib/pcs/pcs to /usr/sbin/pcs for pcsd
-	dosym /usr/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"


             reply	other threads:[~2020-12-06 19:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06 19:12 Andrew Ammerlaan [this message]
2020-12-06 19:12 ` [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/pcs/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2022-04-23 19:07 Andrew Ammerlaan
2022-04-23 18:57 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-04-13 12:29 Andrea Postiglione
2022-04-04 14:49 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-04-04 14:34 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-04-03 16:47 Andrea Postiglione
2022-01-21 12:35 Andrea Postiglione
2022-01-21 12:29 Andrea Postiglione
2021-07-11 22:28 Alessandro Barbieri
2021-04-11 14:45 Andrea Postiglione
2021-04-11 14:38 Andrea Postiglione
2021-03-28 11:43 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-28 10:52 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-03-27 18:35 Alessandro Barbieri
2021-03-24  9:05 Andrew Ammerlaan
2021-03-23  0:52 Alessandro Barbieri
2021-03-23  0:52 Alessandro Barbieri
2021-03-23  0:52 Alessandro Barbieri
2021-03-20 17:38 Andrew Ammerlaan
2021-03-20 12:05 Andrea Postiglione
2020-12-15 11:16 Andrea Postiglione
2020-12-09  1:08 Alessandro Barbieri
2020-12-09  1:08 Alessandro Barbieri
2020-12-08 16:52 Andrea Postiglione
2020-12-08 16:51 Andrea Postiglione
2020-12-08  0:35 Alessandro Barbieri
2020-12-07 16:16 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-12-07 16:16 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-06 17:35 Andrea Postiglione
2020-12-06  8:52 Andrea Postiglione

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1607281919.5105f95191e3e005642c18c3531319861040d281.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox