From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/redo/
Date: Sun, 22 Mar 2020 10:09:52 +0000 (UTC) [thread overview]
Message-ID: <1584871772.587ef1171ffeffa68e6b8cfa48e80ae3f1022b50.jer@gentoo> (raw)
commit: 587ef1171ffeffa68e6b8cfa48e80ae3f1022b50
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 22 10:09:17 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Mar 22 10:09:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=587ef117
dev-util/redo: Update live ebuild
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
dev-util/redo/redo-99999.ebuild | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/dev-util/redo/redo-99999.ebuild b/dev-util/redo/redo-99999.ebuild
index 6e92129f9b4..eb551f91c49 100644
--- a/dev-util/redo/redo-99999.ebuild
+++ b/dev-util/redo/redo-99999.ebuild
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_REQ_USE="sqlite"
-inherit git-r3 multilib multiprocessing python-single-r1
+inherit git-r3 multilib multiprocessing python-utils-r1 python-single-r1
DESCRIPTION="Smaller, easier, more powerful, and more reliable than make"
HOMEPAGE="https://github.com/apenwarr/redo"
@@ -13,7 +13,7 @@ EGIT_REPO_URI="https://github.com/apenwarr/redo"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS=""
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="
$(python_gen_cond_dep '
@@ -26,6 +26,10 @@ RDEPEND="
${BDEPEND}
"
+src_configure() {
+ echo ${PYTHON} > redo/whichpython || die
+}
+
src_compile() {
./do -j$(makeopts_jobs) build || die
}
@@ -38,7 +42,7 @@ src_test() {
src_install() {
DESTDIR="${D}" \
DOCDIR="${D}/usr/share/doc/${PF}" \
- LIBDIR="${D}/usr/$(get_libdir)/${PN}" \
+ LIBDIR="${D}/$(python_get_sitedir)/${PN}" \
./do -j$(makeopts_jobs) \
install || die
@@ -47,4 +51,6 @@ src_install() {
sed -i \
-e 's|/lib/|/'"$(get_libdir)"'/|g' \
"${D}"/usr/bin/* || die
+
+ python_optimize
}
next reply other threads:[~2020-03-22 10:09 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-22 10:09 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-06 11:41 [gentoo-commits] repo/gentoo:master commit in: dev-util/redo/ Joonas Niilola
2024-11-06 11:41 Joonas Niilola
2022-06-23 5:35 Sam James
2022-06-23 5:35 Sam James
2022-04-17 19:00 Sam James
2022-03-10 21:12 Sam James
2020-07-25 10:22 Michał Górny
2020-06-15 7:31 Jeroen Roovers
2020-03-22 10:09 Jeroen Roovers
2020-02-09 16:25 Michał Górny
2019-12-22 9:48 Jeroen Roovers
2019-12-22 9:36 Jeroen Roovers
2019-12-22 9:36 Jeroen Roovers
2019-09-15 9:01 Jeroen Roovers
2019-08-13 16:13 Michał Górny
2019-08-12 19:52 Michał Górny
2019-07-26 4:46 Jeroen Roovers
2019-07-25 5:38 Jeroen Roovers
2019-06-19 7:31 Jeroen Roovers
2019-01-06 17:44 Jeroen Roovers
2019-01-06 17:44 Jeroen Roovers
2018-11-24 13:44 Jeroen Roovers
2018-11-24 13:33 Jeroen Roovers
2018-11-03 14:04 Jeroen Roovers
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=1584871772.587ef1171ffeffa68e6b8cfa48e80ae3f1022b50.jer@gentoo \
--to=jer@gentoo.org \
--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