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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69EE2138350 for ; Sun, 22 Mar 2020 10:09:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF7C3E0B4C; Sun, 22 Mar 2020 10:09:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4277E0B54 for ; Sun, 22 Mar 2020 10:09:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F246B34F4A2 for ; Sun, 22 Mar 2020 10:09:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9688150 for ; Sun, 22 Mar 2020 10:09:52 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1584871772.587ef1171ffeffa68e6b8cfa48e80ae3f1022b50.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/redo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/redo/redo-99999.ebuild X-VCS-Directories: dev-util/redo/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 587ef1171ffeffa68e6b8cfa48e80ae3f1022b50 X-VCS-Branch: master Date: Sun, 22 Mar 2020 10:09:52 +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: 2e3c359d-a647-4f67-9cd9-a60c81116bc5 X-Archives-Hash: 18bdf7ea4b4d98bd8ce0019d2a0c7a62 commit: 587ef1171ffeffa68e6b8cfa48e80ae3f1022b50 Author: Jeroen Roovers gentoo org> AuthorDate: Sun Mar 22 10:09:17 2020 +0000 Commit: Jeroen Roovers gentoo 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 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 }