From: "Jason Zaman" <perfinion@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorflow-estimator/
Date: Mon, 8 Jun 2020 05:02:29 +0000 (UTC) [thread overview]
Message-ID: <1591592130.4f0a1a643c32e762f1cf8f07cc14da184788080d.perfinion@gentoo> (raw)
commit: 4f0a1a643c32e762f1cf8f07cc14da184788080d
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 8 04:51:48 2020 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Mon Jun 8 04:55:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0a1a64
sci-libs/tensorflow-estimator: fix compile error
The bazel build step used the incorrect python, so duplicate the sources
and build multiple times
Closes: https://bugs.gentoo.org/725856
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
....2.0.ebuild => tensorflow-estimator-2.2.0-r1.ebuild} | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.2.0.ebuild b/sci-libs/tensorflow-estimator/tensorflow-estimator-2.2.0-r1.ebuild
similarity index 80%
rename from sci-libs/tensorflow-estimator/tensorflow-estimator-2.2.0.ebuild
rename to sci-libs/tensorflow-estimator/tensorflow-estimator-2.2.0-r1.ebuild
index 32a54df07f9..20a13ee1c5a 100644
--- a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.2.0.ebuild
+++ b/sci-libs/tensorflow-estimator/tensorflow-estimator-2.2.0-r1.ebuild
@@ -43,22 +43,27 @@ src_unpack() {
src_prepare() {
bazel_setup_bazelrc
default
+ python_copy_sources
}
src_compile() {
export JAVA_HOME=$(java-config --jre-home)
- ebazel build //tensorflow_estimator/tools/pip_package:build_pip_package
- ebazel shutdown
+ do_compile() {
+ ebazel build //tensorflow_estimator/tools/pip_package:build_pip_package
+ ebazel shutdown
- local srcdir="${T}/src"
- mkdir -p "${srcdir}" || die
- bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package --src "${srcdir}" || die
+ local srcdir="${T}/src-${EPYTHON/./_}"
+ mkdir -p "${srcdir}" || die
+ bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package --src "${srcdir}" || die
+ }
+
+ python_foreach_impl run_in_build_dir do_compile
}
src_install() {
do_install() {
- cd "${T}/src" || die
+ cd "${T}/src-${EPYTHON/./_}" || die
esetup.py install
python_optimize
}
next reply other threads:[~2020-06-08 5:02 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-08 5:02 Jason Zaman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-03 19:35 [gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorflow-estimator/ Jason Zaman
2024-02-03 19:35 Jason Zaman
2023-06-27 13:11 David Seifert
2023-06-05 16:37 Jason Zaman
2023-01-10 14:15 Michał Górny
2022-11-19 18:23 Jason Zaman
2022-09-23 3:06 Jason Zaman
2022-06-26 2:45 Jason Zaman
2022-06-26 2:45 Jason Zaman
2022-02-07 1:58 Jason Zaman
2021-11-17 6:42 Jason Zaman
2021-11-15 17:52 Jason Zaman
2021-11-15 17:52 Jason Zaman
2021-11-12 1:36 Sam James
2021-08-01 13:19 Jason Zaman
2021-06-20 21:56 Jason Zaman
2020-12-25 23:42 Jason Zaman
2020-12-06 20:40 Jason Zaman
2020-11-12 0:33 Jason Zaman
2020-10-09 3:41 Jason Zaman
2020-08-30 0:32 Jason Zaman
2020-05-16 1:00 Jason Zaman
2020-04-07 3:17 Jason Zaman
2019-12-23 19:48 Jason Zaman
2019-12-23 19:48 Jason Zaman
2019-12-09 3:03 Jason Zaman
2019-12-08 17:26 Jason Zaman
2019-12-02 14:50 Jason Zaman
2019-12-02 14:50 Jason Zaman
2019-10-01 14:52 Jason Zaman
2019-09-13 14:22 Jason Zaman
2019-08-07 7:58 Jason Zaman
2019-08-07 7:58 Jason Zaman
2019-06-19 4:09 Jason Zaman
2019-06-04 16:34 Jason Zaman
2019-04-29 14:24 Jason Zaman
2019-04-05 15:41 Jason Zaman
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=1591592130.4f0a1a643c32e762f1cf8f07cc14da184788080d.perfinion@gentoo \
--to=perfinion@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