diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-cluster/crmsh |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-cluster/crmsh')
-rw-r--r-- | sys-cluster/crmsh/Manifest | 5 | ||||
-rw-r--r-- | sys-cluster/crmsh/crmsh-2.1.1.ebuild | 55 | ||||
-rw-r--r-- | sys-cluster/crmsh/metadata.xml | 11 |
3 files changed, 71 insertions, 0 deletions
diff --git a/sys-cluster/crmsh/Manifest b/sys-cluster/crmsh/Manifest new file mode 100644 index 000000000000..6a819731e0c5 --- /dev/null +++ b/sys-cluster/crmsh/Manifest @@ -0,0 +1,5 @@ +DIST crmsh-2.1.1.tar.gz 733302 SHA256 11dea68a2fea9d069ff31a35e4ab2fc29b279dbe1fa0d1958f942830400bdb7e SHA512 556190e4e8da009d5f84f6356eeae2f5a18d8ca19d8c384c01d4d8526f7a20bb9545a08a6abe7cb6d9c33d9ae62ba0ea5df9ff0ae90341a53d9f7b201f5788ae WHIRLPOOL 731339a7309b6351f1227b9b83f35d172bf8cdc4a8cde7884b43c6f0169746ad60932ded43739a6070936ef44fd518f2d1a90a61e82be191e9c6a855fcc24caf +EBUILD crmsh-2.1.1.ebuild 1198 SHA256 b0475feb1fbff5ddb7fbc91753b5f4f093046b2da739e78c1d42acc58aa0cc72 SHA512 7ff9b5e19a76b8cf857a3dc144633a045010071c519fd63c3d3b246baa4f2419261a1e49e7886426cfd1fdd356a0aa8f28852b7b367e0ba73ed13b86a23ead6a WHIRLPOOL bf103a8bb68d85926f0402a719e92f5c9d69f50f6a631f9a86d9b9bb56bdc9d02b6d43b507338c1c3372f0c1e32fdc9c854933a0997b9c17f4a1c37c9096ebf1 +MISC ChangeLog 2424 SHA256 a094f46e4925026cf4d42924bf27663ee5a1b93ec0407419ac53af529ee8b150 SHA512 2c7a0a37efcd84ddec2118c413b1f3fdef6584f3b5c52a74007cbefdef8f411d6bdce449eba11204bcc964389ce3763114f4bf3f139a1bdef17f0285689ab3d4 WHIRLPOOL 284fc9395fefb01e2aa9be849d927b86a764a8e5028f6388d578ae273a7c64df8faf739b273c4a04f79553d7ba80db1f13793ed5b2ad7762afcbb8caff5f47d1 +MISC ChangeLog-2015 2310 SHA256 324ae7b394dfda6767233e5d72e761f0d82153fee7e72b899e380bea41c3a9a9 SHA512 95b67693606ee6c42ce636a613d3635b1206322be4a1e6cec134d47afb1df8fb11bed2a8e9dc54ae82dc09204660eb8bd0da362b089df15a60e6454b7bb244cd WHIRLPOOL 2e1c7037c5cbddb157d65a590bc4377b80948b392095625833fa89f419e05c5401e5cb75b3852147edb5cb784ba1516b76ef894f9d96371b9e734d71b358cdb7 +MISC metadata.xml 343 SHA256 98d8bcc1b90be8adcf9b252832b158ffc7187c3b7611cbeac505f18ba6e4bade SHA512 0830e62f1461e108e47feed29a48d172e63003be6d55e10f647f9a02ef90c0c7b3ad0c1e6a805edef9ebe6b015adfa3b86fbc058d0c9e19188f9e9f8304a5d91 WHIRLPOOL ac1e9ca43116059d489ec468f53dd96b37d341f8361fe751c7b593fcdab4befb43ca2f4beee4d415067d77de4ea9cab178b035ea7a99df497a53993e1dec073f diff --git a/sys-cluster/crmsh/crmsh-2.1.1.ebuild b/sys-cluster/crmsh/crmsh-2.1.1.ebuild new file mode 100644 index 000000000000..b47b5686681c --- /dev/null +++ b/sys-cluster/crmsh/crmsh-2.1.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +AUTOTOOLS_AUTORECONF=true +KEYWORDS="" +SRC_URI="" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/crmsh/crmsh" + inherit git-2 + 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-utils python-r1 + +DESCRIPTION="Pacemaker command line interface for management and configuration" +HOMEPAGE="https://crmsh.github.io/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + >=sys-cluster/pacemaker-1.1.8" +RDEPEND="${DEPEND} + dev-python/lxml[${PYTHON_USEDEP}]" + +src_prepare() { + sed \ + -e 's@CRM_CACHE_DIR=${localstatedir}/cache/crm@CRM_CACHE_DIR=${localstatedir}/crmsh@g' \ + -i configure.ac || die + autotools-utils_src_prepare +} + +src_configure() { + python_foreach_impl autotools-utils_src_configure +} + +src_compile() { + python_foreach_impl autotools-utils_src_compile +} + +src_install() { + python_foreach_impl autotools-utils_src_install + python_replicate_script "${ED}"/usr/sbin/crm +} diff --git a/sys-cluster/crmsh/metadata.xml b/sys-cluster/crmsh/metadata.xml new file mode 100644 index 000000000000..5d4d1b0fa52f --- /dev/null +++ b/sys-cluster/crmsh/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cluster@gentoo.org</email> + <name>Gentoo Cluster Project</name> + </maintainer> + <upstream> + <remote-id type="github">crmsh/crmsh</remote-id> + </upstream> +</pkgmetadata> |