public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/crmsh/
Date: Wed, 10 Aug 2022 03:31:15 +0000 (UTC)	[thread overview]
Message-ID: <1660102254.ef3d28b9ec4691891312c63b9e411d024b1c00ac.sam@gentoo> (raw)

commit:     ef3d28b9ec4691891312c63b9e411d024b1c00ac
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 03:29:52 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 03:30:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef3d28b9

sys-cluster/crmsh: switch to python-single-r1

It doesn't support multiple Python implementations
right now but it wasn't using python-r1 correctly
anyway (missing python_setup) and was ignoring
the selected target, just going off /usr/bin/python3.

Closes: https://bugs.gentoo.org/864430
Closes: https://bugs.gentoo.org/863749
Closes: https://bugs.gentoo.org/728152
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/crmsh/crmsh-4.2.1-r3.ebuild | 46 +++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/sys-cluster/crmsh/crmsh-4.2.1-r3.ebuild b/sys-cluster/crmsh/crmsh-4.2.1-r3.ebuild
new file mode 100644
index 000000000000..88ea25ce1490
--- /dev/null
+++ b/sys-cluster/crmsh/crmsh-4.2.1-r3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+if [[ ${PV} == *9999 ]]; then
+	EGIT_REPO_URI="https://github.com/crmsh/crmsh"
+	inherit git-r3
+	S="${WORKDIR}/${PN}-${MY_TREE}"
+else
+	SRC_URI="https://github.com/crmsh/crmsh/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~hppa ~x86"
+fi
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Pacemaker command line interface for management and configuration"
+HOMEPAGE="https://crmsh.github.io/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+	>=sys-cluster/pacemaker-1.1.9"
+RDEPEND="${DEPEND}
+	$(python_gen_cond_dep '
+		dev-python/lxml[${PYTHON_USEDEP}]
+		dev-python/parallax[${PYTHON_USEDEP}]
+		dev-python/setuptools[${PYTHON_USEDEP}]
+	')
+"
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	python_optimize
+}


             reply	other threads:[~2022-08-10  3:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-10  3:31 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-17  8:14 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/crmsh/ Michał Górny
2023-11-08 10:58 Sergey Popov
2022-11-25  8:56 Sergey Popov
2022-11-25  8:56 Sergey Popov
2022-03-13  5:54 Sam James
2021-05-08 12:43 Sergey Popov
2021-02-15  0:32 Sam James
2021-02-08  9:25 Alexys Jacob
2020-09-19 12:29 Michał Górny
2019-12-12 22:24 Alexys Jacob
2018-08-14 22:02 Alexys Jacob
2017-07-30  9:23 Michał Górny

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=1660102254.ef3d28b9ec4691891312c63b9e411d024b1c00ac.sam@gentoo \
    --to=sam@gentoo.org \
    --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