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 57A3B158093 for ; Tue, 7 Jun 2022 12:02:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F670E087A; Tue, 7 Jun 2022 12:02:00 +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 7DE85E087A for ; Tue, 7 Jun 2022 12:02:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 467E53418A4 for ; Tue, 7 Jun 2022 12:01:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D613D502 for ; Tue, 7 Jun 2022 12:01:48 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1654603306.3e52eb73789654c3967bd3fd197a2b7b8f3ab8bf.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/genders/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/genders/genders-1.28.1-r1.ebuild sys-cluster/genders/genders-1.28.1.ebuild X-VCS-Directories: sys-cluster/genders/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 3e52eb73789654c3967bd3fd197a2b7b8f3ab8bf X-VCS-Branch: dev Date: Tue, 7 Jun 2022 12:01:48 +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: e9f0199e-eb71-4087-a808-a47ae731b788 X-Archives-Hash: 0fb92ac598a536ed82dadf9665da5ff7 commit: 3e52eb73789654c3967bd3fd197a2b7b8f3ab8bf Author: Alessandro Barbieri gmail com> AuthorDate: Tue Jun 7 11:44:09 2022 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Tue Jun 7 12:01:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3e52eb73 sys-cluster/genders: EAPI 8 Signed-off-by: Alessandro Barbieri gmail.com> ...ders-1.28.1.ebuild => genders-1.28.1-r1.ebuild} | 24 ++++++++++++---------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/sys-cluster/genders/genders-1.28.1.ebuild b/sys-cluster/genders/genders-1.28.1-r1.ebuild similarity index 80% rename from sys-cluster/genders/genders-1.28.1.ebuild rename to sys-cluster/genders/genders-1.28.1-r1.ebuild index 772e6535e..be7bae790 100644 --- a/sys-cluster/genders/genders-1.28.1.ebuild +++ b/sys-cluster/genders/genders-1.28.1-r1.ebuild @@ -1,16 +1,16 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DISTUTILS_USE_SETUPTOOLS=no MY_PV="$(ver_rs 1-2 -)" MY_P="${PN}-${MY_PV}" PYTHON_COMPAT=( python3_{8..11} pypy3 ) -inherit distutils-r1 perl-module java-pkg-opt-2 flag-o-matic +inherit distutils-r1 edo flag-o-matic java-pkg-opt-2 perl-module -DESCRIPTION="Static cluster configuration database used for cluster configuration management." +DESCRIPTION="Static cluster configuration database used for cluster configuration management" HOMEPAGE="https://github.com/chaos/genders" SRC_URI="https://github.com/chaos/${PN}/archive/${MY_P}.tar.gz" S="${WORKDIR}/${PN}-${MY_P}" @@ -21,26 +21,27 @@ SLOT="0" IUSE="cxx java perl python" CDEPEND=" - perl? ( dev-lang/perl:= ) + perl? ( dev-lang/perl:= ) python? ( ${PYTHON_DEPS} ) " DEPEND=" ${CDEPEND} - java? ( virtual/jdk:1.8 ) + java? ( virtual/jdk:1.8 ) " RDEPEND=" ${DEPEND} - java? ( virtual/jre:1.8 ) + java? ( virtual/jre:1.8 ) " REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DOCS=( README TUTORIAL NEWS ) src_prepare() { - sed -i "s|perl python||" src/extensions/Makefile.am - sed -i "s|\$(DESTDIR)\$(docdir)-\$(VERSION)-javadoc|\$(DESTDIR)\$(docdir)/html/javadoc|" src/extensions/java/Makefile.am + sed -i "s|perl python||" src/extensions/Makefile.am || die + sed -i "s|\$(DESTDIR)\$(docdir)-\$(VERSION)-javadoc|\$(DESTDIR)\$(docdir)/html/javadoc|" src/extensions/java/Makefile.am || die eapply_user - ./autogen.sh + java-pkg_clean + edo ./autogen.sh } src_configure() { @@ -61,7 +62,7 @@ src_configure() { src_compile() { default - if use perl ; then + if use perl; then pushd "${S}/src/extensions/perl" || die perl-module_src_configure perl-module_src_compile @@ -70,7 +71,7 @@ src_compile() { if use python; then pushd "${S}/src/extensions/python" || die - cp genderssetup.py setup.py + cp genderssetup.py setup.py || die distutils-r1_src_compile popd || die fi @@ -104,4 +105,5 @@ src_install() { fi find "${ED}" -name '*.la' -delete || die + find "${ED}" -name '*.a' -delete || die }