summaryrefslogtreecommitdiff
path: root/sys-cluster/crmsh/crmsh-4.6.2.ebuild
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-06-13 21:45:22 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-06-13 21:45:22 +0100
commitded4d89850bd75597b68ac9346fec04c0b4f5001 (patch)
tree3fd95929c2bbd638107757f28f474b1750e99341 /sys-cluster/crmsh/crmsh-4.6.2.ebuild
parentAdd haproxy-load-daemon (diff)
downloadportage-main.tar.bz2
portage-main.tar.xz
portage-main.zip
Stabilise old, add new crmshHEADmain
Diffstat (limited to 'sys-cluster/crmsh/crmsh-4.6.2.ebuild')
-rw-r--r--sys-cluster/crmsh/crmsh-4.6.2.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/crmsh/crmsh-4.6.2.ebuild b/sys-cluster/crmsh/crmsh-4.6.2.ebuild
new file mode 100644
index 0000000..78a0958
--- /dev/null
+++ b/sys-cluster/crmsh/crmsh-4.6.2.ebuild
@@ -0,0 +1,39 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+SRC_URI="https://github.com/crmsh/crmsh/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~hppa ~x86"
+
+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/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ ')
+"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ python_fix_shebang "${ED}"
+ python_optimize
+}