From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/genders/
Date: Mon, 27 Sep 2021 07:09:00 +0000 (UTC) [thread overview]
Message-ID: <1632726538.06a1feea9dc6542991d71bea792a2076f093eafa.Alessandro-Barbieri@gentoo> (raw)
commit: 06a1feea9dc6542991d71bea792a2076f093eafa
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Sep 27 06:54:01 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Sep 27 07:08:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=06a1feea
sys-cluster/genders: ebuild maintenance
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
...ders-1.28.1.ebuild => genders-1.28.1-r1.ebuild} | 47 +++++++++++-----------
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/sys-cluster/genders/genders-1.28.1.ebuild b/sys-cluster/genders/genders-1.28.1-r1.ebuild
similarity index 73%
rename from sys-cluster/genders/genders-1.28.1.ebuild
rename to sys-cluster/genders/genders-1.28.1-r1.ebuild
index c58a8415b..10e804706 100644
--- a/sys-cluster/genders/genders-1.28.1.ebuild
+++ b/sys-cluster/genders/genders-1.28.1-r1.ebuild
@@ -1,32 +1,24 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=no
+MY_PV="$(ver_rs 1-2 -)"
+MY_P="${PN}-${MY_PV}"
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit autotools distutils-r1 perl-module java-pkg-opt-2 flag-o-matic
-
-if [[ ${PV} = 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/chaos/${PN}.git"
-else
- MY_PV="$(ver_rs 1-2 -)"
- MY_P="${PN}-${MY_PV}"
- SRC_URI="https://github.com/chaos/${PN}/archive/${MY_P}.tar.gz"
- KEYWORDS="~amd64"
- S="${WORKDIR}/${PN}-${MY_P}"
-fi
+inherit distutils-r1 perl-module java-pkg-opt-2 flag-o-matic
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}"
+
+KEYWORDS="~amd64"
LICENSE="GPL-2"
SLOT="0"
IUSE="cxx java perl python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DOCS=( README TUTORIAL NEWS )
CDEPEND="
perl? ( dev-lang/perl:= )
@@ -41,6 +33,9 @@ RDEPEND="
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
@@ -67,41 +62,45 @@ src_compile() {
default
if use perl ; then
- cd "${S}/src/extensions/perl"
+ pushd "${S}/src/extensions/perl" || die
perl-module_src_configure
perl-module_src_compile
+ popd || die
fi
if use python; then
- cd "${S}/src/extensions/python"
+ pushd "${S}/src/extensions/python" || die
cp genderssetup.py setup.py
distutils-r1_src_compile
+ popd || die
fi
}
src_test() {
- cd src/testsuite
+ pushd src/testsuite || die
default
- cd ../..
+ popd || die
}
src_install() {
default
if use perl ; then
- cd "${S}/src/extensions/perl"
+ pushd "${S}/src/extensions/perl" || die
unset DOCS
myinst=( DESTDIR="${D}" )
perl-module_src_install
+ popd || die
fi
if use python; then
- cd "${S}/src/extensions/python"
+ pushd "${S}/src/extensions/python" || die
unset DOCS
python_install() {
distutils-r1_python_install
}
distutils-r1_src_install
+ popd || die
fi
find "${ED}" -name '*.la' -delete || die
next reply other threads:[~2021-09-27 7:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-27 7:09 Alessandro Barbieri [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-15 1:03 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/genders/ Julien Roy
2024-05-15 0:59 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2022-06-07 12:01 Alessandro Barbieri
2022-05-28 12:53 Alessandro Barbieri
2021-09-27 7:09 Alessandro Barbieri
2021-03-28 11:43 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-28 10:52 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-26 9:09 Theo Anderson
2020-12-11 15:40 Alessandro Barbieri
2020-11-23 23:54 Theo Anderson
2020-04-25 0:37 Alessandro Barbieri
2020-03-08 16:21 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-05 10:53 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-08 16:21 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-05 10:55 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-05 10:43 Andrew Ammerlaan
2020-03-05 10:41 Andrew Ammerlaan
2020-03-03 5:11 Alessandro Barbieri
2020-03-02 22:04 Alessandro Barbieri
2020-02-29 2:54 Alessandro Barbieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1632726538.06a1feea9dc6542991d71bea792a2076f093eafa.Alessandro-Barbieri@gentoo \
--to=lssndrbarbieri@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox