From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9954A15808B for ; Sun, 13 Mar 2022 05:54:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CECC0E0867; Sun, 13 Mar 2022 05:54:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ABBC0E0867 for ; Sun, 13 Mar 2022 05:54:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 781DA343281 for ; Sun, 13 Mar 2022 05:54:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A6B3320 for ; Sun, 13 Mar 2022 05:54:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1647150593.f2884cffd6f8b05d6324e9f63ed1c672b2b34be1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/crmsh/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/crmsh/crmsh-4.2.1-r2.ebuild X-VCS-Directories: sys-cluster/crmsh/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f2884cffd6f8b05d6324e9f63ed1c672b2b34be1 X-VCS-Branch: master Date: Sun, 13 Mar 2022 05:54:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3ffa33fe-9274-489a-af8b-730fac6649a5 X-Archives-Hash: 1a80f01cb26656106ee5dd2c94aee484 commit: f2884cffd6f8b05d6324e9f63ed1c672b2b34be1 Author: Sam James gentoo org> AuthorDate: Sun Mar 13 05:49:21 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Mar 13 05:49:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2884cff sys-cluster/crmsh: [QA] use eautoreconf - AUTOTOOLS_AUTORECONF was for autotools-utils.eclass, not autotools.eclass, but autotools-utils.eclass (which is gone) wasn't being inherited anyway. - Use eautoreconf instead of autogen.sh (handles everything we need, plus inheriting autotools.eclass guarantees correct dependencies). Signed-off-by: Sam James gentoo.org> sys-cluster/crmsh/crmsh-4.2.1-r2.ebuild | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/sys-cluster/crmsh/crmsh-4.2.1-r2.ebuild b/sys-cluster/crmsh/crmsh-4.2.1-r2.ebuild new file mode 100644 index 000000000000..ffab4f2a9c1d --- /dev/null +++ b/sys-cluster/crmsh/crmsh-4.2.1-r2.ebuild @@ -0,0 +1,43 @@ +# 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-3 + 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-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} + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/parallax[${PYTHON_USEDEP}] +" + +src_prepare() { + default + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + python_foreach_impl python_optimize +}