summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2023-11-08 13:54:09 +0300
committerSergey Popov <pinkbyte@gentoo.org>2023-11-08 13:58:29 +0300
commitc104794da495831ac6c1552091ec95e9a9bbbbca (patch)
tree915192f6feded8e29333e511a2f32b787e8dd3a8
parentx11-terms/kitty: add 0.31.0 (diff)
downloadgentoo-c104794da495831ac6c1552091ec95e9a9bbbbca.tar.gz
gentoo-c104794da495831ac6c1552091ec95e9a9bbbbca.tar.bz2
gentoo-c104794da495831ac6c1552091ec95e9a9bbbbca.zip
sys-cluster/crmsh-4.5.0: version bump
Signed-off-by: Christian Richter <motzned@gmail.com> Signed-off-by: Sergey Popov <pinkbyte@gentoo.org> Bug: https://bugs.gentoo.org/765352 Closes: https://bugs.gentoo.org/864925 Closes: https://bugs.gentoo.org/897286 Closes: https://github.com/gentoo/gentoo/pull/27926
-rw-r--r--sys-cluster/crmsh/Manifest1
-rw-r--r--sys-cluster/crmsh/crmsh-4.5.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-cluster/crmsh/Manifest b/sys-cluster/crmsh/Manifest
index 0f9a946bfcca..b5544bcfcc67 100644
--- a/sys-cluster/crmsh/Manifest
+++ b/sys-cluster/crmsh/Manifest
@@ -1 +1,2 @@
DIST crmsh-4.2.1.tar.gz 1058921 BLAKE2B 84d1f8685e792d9f453b2d185ccda4e8c2c9566becd85ed8308c014bd18e1479f601f3e89e4a1c3464c0d5bb797d7ddf9ddff479cd8c4c0d2998fd528f8ecbd2 SHA512 df0945f1b977993a0aca89af7c9030bc798aac4397a9d448d47bf68331e8aec83fa6155f2897f3c84573bcdb20fa384a1489b4f1d69fd1a831ece2fdb2b5b321
+DIST crmsh-4.5.0.tar.gz 1210069 BLAKE2B 078baa9b0c0cadb19f041ad48ffb9588f8c1eff634f115bc9ddd46be7e5c2555a1c493332f6cf01f08c683d39687f0e1e71854f6c56c3e1f30fe712ecb65c772 SHA512 f76e41ffc2fc9ac728350f551e658852015c4fd430f69f7a6d0882c265f65ae545f2ef1102bd20349790e46a0a3ec8222947eee6aef73d0afcaf13eb2b3c56a3
diff --git a/sys-cluster/crmsh/crmsh-4.5.0.ebuild b/sys-cluster/crmsh/crmsh-4.5.0.ebuild
new file mode 100644
index 000000000000..02b052288712
--- /dev/null
+++ b/sys-cluster/crmsh/crmsh-4.5.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10,11} )
+
+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-2.1.2"
+RDEPEND="${DEPEND}
+ $(python_gen_cond_dep '
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/parallax[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ ')
+"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ python_optimize
+}