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: Sun, 26 Jun 2022 02:45:54
Message-Id: 1656211048.ebc33dcb89389f94ed5c29f3353db2f6e7a9f3f3.perfinion@gentoo
1 commit: ebc33dcb89389f94ed5c29f3353db2f6e7a9f3f3
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 16:34:12 2022 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 02:37:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc33dcb
7
8 sci-libs/tensorflow-estimator: drop 2.5.0, 2.7.0
9
10 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
11
12 sci-libs/tensorflow-estimator/Manifest | 4 --
13 .../tensorflow-estimator-2.5.0.ebuild | 77 ----------------------
14 .../tensorflow-estimator-2.7.0.ebuild | 77 ----------------------
15 3 files changed, 158 deletions(-)
16
17 diff --git a/sci-libs/tensorflow-estimator/Manifest b/sci-libs/tensorflow-estimator/Manifest
18 index 0fad4e701ca4..8a617d097d63 100644
19 --- a/sci-libs/tensorflow-estimator/Manifest
20 +++ b/sci-libs/tensorflow-estimator/Manifest
21 @@ -1,7 +1,3 @@
22 -DIST bazelbuild-rules_cc-0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip 72534 BLAKE2B 0bbcc2b3fefb8df84d9f72b13da59c377fcd657ead378f85f80a587f8750302236212ae5c58819933015e62425126bead0733d2924a567fb9c5cb14fb75271a8 SHA512 1818c555504ba89afff88d75fe8b4e1386b3665a3ad477c26b4e9504c8f52f398b6aaedbad41a4ab8b8d9b3f86e0992e7c83a6da70241685d7b79ba177af1035
23 -DIST bazelbuild-rules_cc-8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip 159656 BLAKE2B c2ebed5165907e5452db2e8797253ce17fb39a00d3ca3aab11dec475399821dd529629d710af6f9892b74d0654293bd7989fa2be24caf5836490e8df566c7c18 SHA512 deecf484f5e888db345a57c3b557d6548e4e71fd4c62ea10b4dc9c47be9d303df55c03bb446158675b131064c4eccb401bf217e131e78d629c8fc1836600cb51
24 DIST bazelbuild-rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d.zip 201360 BLAKE2B 0173a8edb17f344b18e42026e2f8a62a1909d4694ab0be83562b6437a3f1ef38889f069269ddd2308b41062e5f375f791be0d2631a8e52ede668203779813b56 SHA512 2ba1dc316d88947c1d17ec67154c052700e3571b8d03370a9f204cf9fe94a1bd58f93a2c4a3c0b02233ee3250053a4c30a4133b5b38745858c1d04be8c9d973f
25 DIST bazelbuild-rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip 9422 BLAKE2B bbc45c97551ee8126335b611ffca6574dac843d4db9b3221b10d26487f8eecfe38ba0cd67a4039a3ad921c25fea6294c43e4f4e7a57a060a30791acd6c4f9d39 SHA512 ba06242feb711e7fb6e821fd9ac029248b4f3e466fb1acf971d0db8196f3efe4d114ef137acbe4913073f8cbe8ccab4d47d8bafa21b867b2d6a6d57f5a647f0c
26 -DIST tensorflow-estimator-2.5.0.tar.gz 689339 BLAKE2B 6fb491b047cabed6edf67cccc913de54e4c2337eb052ba833239b72b07facaf33410b8a57a8f95fc0e2c225190d9b26b7955579d77883dbc236519cb784784c3 SHA512 dc49d92f4d2e63770dd901b272d7c62db50bfef7107e38f6525b6a458ad9915d1cbcdc9961c70c6ef88b9a38361f7b6712f6a2d30e240a35aab4bb25ffe17e71
27 -DIST tensorflow-estimator-2.7.0.tar.gz 691956 BLAKE2B 8a6cdc88fadbac6275d1c766c4b183dc7d1d374a1e898651ecdf0802d2f5c5bbc01d437a85826e3ef5dc0700b44c69ff84d8610fdf7ac3150fa4c0541f901707 SHA512 e02ee93baf2e36f2e42dec71bd2e31486dc96a7ff25d813fbbe3aae1d0eb1fccdda2cfcad46a87c6cdcd143c1b88915b95bc158ac3240a36734b725b3f89bda3
28 DIST tensorflow-estimator-2.8.0.tar.gz 691913 BLAKE2B 7c8059ec3c5e94f67b7fbb49b508e313f0a12eac0627b04471fe1ac82c26aaae2a120a834ce3dc5a16931119ffc31a9d96935b8f727d851885fa132eb08fa2ea SHA512 02a3009fd8f9f560dea6190989af7c58402777a414cd4bf036d24546fc4a747bb8a5515a5d6fea3bdb848cb9604239b19d43096c5f125a1fa434ae8fee44cf0a
29
30 diff --git a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.5.0.ebuild b/sci-libs/tensorflow-estimator/tensorflow-estimator-2.5.0.ebuild
31 deleted file mode 100644
32 index 913bf9e0bcc2..000000000000
33 --- a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.5.0.ebuild
34 +++ /dev/null
35 @@ -1,77 +0,0 @@
36 -# Copyright 1999-2021 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -PYTHON_COMPAT=( python3_{7,8,9} )
42 -MY_PN="estimator"
43 -MY_PV=${PV/_rc/-rc}
44 -MY_P=${MY_PN}-${MY_PV}
45 -
46 -inherit bazel distutils-r1 flag-o-matic toolchain-funcs
47 -
48 -DESCRIPTION="A high-level TensorFlow API that greatly simplifies machine learning programming"
49 -HOMEPAGE="https://www.tensorflow.org/"
50 -
51 -LICENSE="Apache-2.0"
52 -SLOT="0"
53 -KEYWORDS="~amd64"
54 -IUSE=""
55 -
56 -bazel_external_uris="
57 - https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip -> bazelbuild-rules_cc-0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip
58 - https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip -> bazelbuild-rules_cc-8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip
59 - https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip -> bazelbuild-rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d.zip
60 - https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip -> bazelbuild-rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip"
61 -
62 -SRC_URI="https://github.com/tensorflow/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
63 - ${bazel_external_uris}"
64 -
65 -RDEPEND="sci-libs/tensorflow[python,${PYTHON_USEDEP}]"
66 -DEPEND="${RDEPEND}"
67 -BDEPEND="
68 - app-arch/unzip
69 - dev-java/java-config
70 - >=dev-util/bazel-3"
71 -
72 -S="${WORKDIR}/${MY_P}"
73 -
74 -DOCS=( CONTRIBUTING.md README.md )
75 -
76 -src_unpack() {
77 - unpack "${P}.tar.gz"
78 - bazel_load_distfiles "${bazel_external_uris}"
79 -}
80 -
81 -src_prepare() {
82 - bazel_setup_bazelrc
83 - default
84 - python_copy_sources
85 -}
86 -
87 -src_compile() {
88 - export JAVA_HOME=$(java-config --jre-home)
89 -
90 - do_compile() {
91 - ebazel build //tensorflow_estimator/tools/pip_package:build_pip_package
92 - ebazel shutdown
93 -
94 - local srcdir="${T}/src-${EPYTHON/./_}"
95 - mkdir -p "${srcdir}" || die
96 - bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package --src "${srcdir}" || die
97 - }
98 -
99 - python_foreach_impl run_in_build_dir do_compile
100 -}
101 -
102 -src_install() {
103 - do_install() {
104 - cd "${T}/src-${EPYTHON/./_}" || die
105 - esetup.py install
106 - python_optimize
107 - }
108 - python_foreach_impl do_install
109 -
110 - cd "${S}" || die
111 - einstalldocs
112 -}
113
114 diff --git a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.7.0.ebuild b/sci-libs/tensorflow-estimator/tensorflow-estimator-2.7.0.ebuild
115 deleted file mode 100644
116 index f5176e8c9bc9..000000000000
117 --- a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.7.0.ebuild
118 +++ /dev/null
119 @@ -1,77 +0,0 @@
120 -# Copyright 1999-2021 Gentoo Authors
121 -# Distributed under the terms of the GNU General Public License v2
122 -
123 -EAPI=7
124 -
125 -PYTHON_COMPAT=( python3_{7,8,9} )
126 -MY_PN="estimator"
127 -MY_PV=${PV/_rc/-rc}
128 -MY_P=${MY_PN}-${MY_PV}
129 -
130 -inherit bazel distutils-r1
131 -
132 -DESCRIPTION="A high-level TensorFlow API that greatly simplifies machine learning programming"
133 -HOMEPAGE="https://www.tensorflow.org/"
134 -
135 -LICENSE="Apache-2.0"
136 -SLOT="0"
137 -KEYWORDS="~amd64"
138 -IUSE=""
139 -
140 -bazel_external_uris="
141 - https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip -> bazelbuild-rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d.zip
142 - https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip -> bazelbuild-rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip"
143 -
144 -SRC_URI="https://github.com/tensorflow/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
145 - ${bazel_external_uris}"
146 -
147 -RDEPEND="
148 - sci-libs/tensorflow[python,${PYTHON_USEDEP}]
149 - sci-libs/keras[${PYTHON_USEDEP}]"
150 -DEPEND="${RDEPEND}"
151 -BDEPEND="
152 - app-arch/unzip
153 - dev-java/java-config
154 - >=dev-util/bazel-3.7.2"
155 -
156 -S="${WORKDIR}/${MY_P}"
157 -
158 -DOCS=( CONTRIBUTING.md README.md )
159 -
160 -src_unpack() {
161 - unpack "${P}.tar.gz"
162 - bazel_load_distfiles "${bazel_external_uris}"
163 -}
164 -
165 -src_prepare() {
166 - bazel_setup_bazelrc
167 - default
168 - python_copy_sources
169 -}
170 -
171 -src_compile() {
172 - export JAVA_HOME=$(java-config --jre-home)
173 -
174 - do_compile() {
175 - ebazel build //tensorflow_estimator/tools/pip_package:build_pip_package
176 - ebazel shutdown
177 -
178 - local srcdir="${T}/src-${EPYTHON/./_}"
179 - mkdir -p "${srcdir}" || die
180 - bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package --src "${srcdir}" || die
181 - }
182 -
183 - python_foreach_impl run_in_build_dir do_compile
184 -}
185 -
186 -src_install() {
187 - do_install() {
188 - cd "${T}/src-${EPYTHON/./_}" || die
189 - esetup.py install
190 - python_optimize
191 - }
192 - python_foreach_impl do_install
193 -
194 - cd "${S}" || die
195 - einstalldocs
196 -}