Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorflow-estimator/
Date: Mon, 23 Dec 2019 19:48:41
Message-Id: 1577130488.2ec89af7d200436fbebd34611d611204d3d182ad.perfinion@gentoo
1 commit: 2ec89af7d200436fbebd34611d611204d3d182ad
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 23 17:46:47 2019 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 23 19:48:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ec89af7
7
8 sci-libs/tensorflow-estimator: bump 2.0.1
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 sci-libs/tensorflow-estimator/Manifest | 3 ++-
14 ...timator-2.0.0.ebuild => tensorflow-estimator-2.0.1.ebuild} | 11 ++++++++++-
15 2 files changed, 12 insertions(+), 2 deletions(-)
16
17 diff --git a/sci-libs/tensorflow-estimator/Manifest b/sci-libs/tensorflow-estimator/Manifest
18 index be1e341052c..a6efdbdc969 100644
19 --- a/sci-libs/tensorflow-estimator/Manifest
20 +++ b/sci-libs/tensorflow-estimator/Manifest
21 @@ -1,2 +1,3 @@
22 +DIST bazelbuild-rules_cc-0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip 72534 BLAKE2B 0bbcc2b3fefb8df84d9f72b13da59c377fcd657ead378f85f80a587f8750302236212ae5c58819933015e62425126bead0733d2924a567fb9c5cb14fb75271a8 SHA512 1818c555504ba89afff88d75fe8b4e1386b3665a3ad477c26b4e9504c8f52f398b6aaedbad41a4ab8b8d9b3f86e0992e7c83a6da70241685d7b79ba177af1035
23 DIST tensorflow-estimator-1.15.1.tar.gz 696316 BLAKE2B 7797ae13fa5f56920df912f7d0eaef214a381acb25632dc2d21c6bbf5744bcc36b32f21e30b18be16d37f7a1deb30b2139d58c2c0f97a1de7a5f767a8a5462d8 SHA512 ae42057870cfb0e19d45ee59bd99c110ecfb3ae43cd5a5536711c7d2528b429c433b0f594e462eae9c40b34dd7813f3b14b1282cbf2edc725e13c45e93da818d
24 -DIST tensorflow-estimator-2.0.0.tar.gz 618578 BLAKE2B e7e13b6a38f9d23350510aaef689761bc8459556db487572da0ee07d5ae0f1b0ec62517037ecd2f6b109f9657d42127a149405b7780dba4c1086f87319d77ad6 SHA512 99bbdb4be9cd9f46128657b262fc6daa61a1dbfad6c430c43bb62ef99cefec10b10bf03090adcb21bdac0404e00084b4e5c4961761a52462afdeb105ef1e0c73
25 +DIST tensorflow-estimator-2.0.1.tar.gz 618583 BLAKE2B d4ae6225cb8a56febc9ffa64d5f811fc41db462534361a183095f724ce6deb17fa22edbd13bacd2d556adcc023dff1daeb7bf7338360b3cb49b19dc3bc3e97d0 SHA512 d7aa35784aa2726c49039be50b73cc957e7f883414bb43101527918bacfa55632df89e6f54cfc58a096512fc49a6ea7524aea87af0579c2a52db2ca7f5ee4bc2
26
27 diff --git a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.0.0.ebuild b/sci-libs/tensorflow-estimator/tensorflow-estimator-2.0.1.ebuild
28 similarity index 79%
29 rename from sci-libs/tensorflow-estimator/tensorflow-estimator-2.0.0.ebuild
30 rename to sci-libs/tensorflow-estimator/tensorflow-estimator-2.0.1.ebuild
31 index fbd9ccf1cd2..0736fbdc237 100644
32 --- a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.0.0.ebuild
33 +++ b/sci-libs/tensorflow-estimator/tensorflow-estimator-2.0.1.ebuild
34 @@ -18,7 +18,11 @@ SLOT="0"
35 KEYWORDS="~amd64"
36 IUSE=""
37
38 -SRC_URI="https://github.com/tensorflow/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
39 +bazel_external_uris="
40 + https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip -> bazelbuild-rules_cc-0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip"
41 +
42 +SRC_URI="https://github.com/tensorflow/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
43 + ${bazel_external_uris}"
44
45 RDEPEND="sci-libs/tensorflow[python,${PYTHON_USEDEP}]"
46 DEPEND="${RDEPEND}"
47 @@ -29,6 +33,11 @@ S="${WORKDIR}/${MY_P}"
48
49 DOCS=( CONTRIBUTING.md README.md )
50
51 +src_unpack() {
52 + unpack "${P}.tar.gz"
53 + bazel_load_distfiles "${bazel_external_uris}"
54 +}
55 +
56 src_prepare() {
57 bazel_setup_bazelrc
58 default