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, 02 Dec 2019 14:50:55
Message-Id: 1575298202.20b80def0c29932e1435e9fdfa05e0de259dbbd2.perfinion@gentoo
1 commit: 20b80def0c29932e1435e9fdfa05e0de259dbbd2
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 2 09:34:18 2019 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 2 14:50:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20b80def
7
8 sci-libs/tensorflow-estimator: drop old
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 | 1 -
14 .../tensorflow-estimator-1.13.0.ebuild | 61 ----------------------
15 2 files changed, 62 deletions(-)
16
17 diff --git a/sci-libs/tensorflow-estimator/Manifest b/sci-libs/tensorflow-estimator/Manifest
18 index 58814ea8687..9a00ca7d70e 100644
19 --- a/sci-libs/tensorflow-estimator/Manifest
20 +++ b/sci-libs/tensorflow-estimator/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST tensorflow-estimator-1.13.0.tar.gz 530871 BLAKE2B 4f208ed20e10fa68e06d21c9865cd07623e14362bdcff456bc9b412431c8f12f289c8a8f8ad89cb1f0ec98b1432844632d7e1097ea29d40bf6f67b90b4968f93 SHA512 e4be92b805776d2be5f391f737f1043b994f42721173c4d4a7dbf3fac9b00121cb072091a474bf71c7dcd952fc8b330cf9254c7a5ad9d096ba1cdc12ba12078b
23 DIST tensorflow-estimator-1.14.0.tar.gz 670750 BLAKE2B d24bba87131605f965be05cd76103e77c45c606af685f08d478cf4acaf2975aba6134bfe9ea51d1837297cf4ce5339bad761af6c00077193ccbae3f1bbcaa667 SHA512 65d21f4d275edc57feb0b36775f275d7b7adc1f5c2958b8269dcf61bed0189570adcb2eaf981e2ae4ba7e6ccec6d4d467384a267a6a29c325dc8126b1bdced5a
24 DIST tensorflow-estimator-1.15.0.tar.gz 696331 BLAKE2B 67aac4adb05149de13d68595e3520f4b843dedd48b58b0b0bea920767f04f64291842b9931f2540b6c6e997bbd01f8e23f64da9ea02ee295f57c777186e5ab19 SHA512 ea0f0c9f74db3d7bed5ee2b38a8eafbeae8fddd824c410461a88ecebc3e11ad6f885cc7404b3af8c7751562bbc2b71fb7e0e5627cb5dea05617ec1a383279bee
25 DIST tensorflow-estimator-2.0.0.tar.gz 618578 BLAKE2B e7e13b6a38f9d23350510aaef689761bc8459556db487572da0ee07d5ae0f1b0ec62517037ecd2f6b109f9657d42127a149405b7780dba4c1086f87319d77ad6 SHA512 99bbdb4be9cd9f46128657b262fc6daa61a1dbfad6c430c43bb62ef99cefec10b10bf03090adcb21bdac0404e00084b4e5c4961761a52462afdeb105ef1e0c73
26
27 diff --git a/sci-libs/tensorflow-estimator/tensorflow-estimator-1.13.0.ebuild b/sci-libs/tensorflow-estimator/tensorflow-estimator-1.13.0.ebuild
28 deleted file mode 100644
29 index f9250b24498..00000000000
30 --- a/sci-libs/tensorflow-estimator/tensorflow-estimator-1.13.0.ebuild
31 +++ /dev/null
32 @@ -1,61 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python{3_5,3_6,3_7} )
39 -MY_PN="estimator"
40 -MY_PV=${PV/_rc/-rc}
41 -MY_P=${MY_PN}-${MY_PV}
42 -
43 -inherit bazel distutils-r1 flag-o-matic toolchain-funcs
44 -
45 -DESCRIPTION="A high-level TensorFlow API that greatly simplifies machine learning programming"
46 -HOMEPAGE="https://www.tensorflow.org/"
47 -
48 -LICENSE="Apache-2.0"
49 -SLOT="0"
50 -KEYWORDS="~amd64"
51 -IUSE=""
52 -
53 -SRC_URI="https://github.com/tensorflow/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
54 -
55 -RDEPEND="sci-libs/tensorflow[python,${PYTHON_USEDEP}]"
56 -DEPEND="${RDEPEND}"
57 -BDEPEND="
58 - dev-java/java-config"
59 -
60 -S="${WORKDIR}/${MY_P}"
61 -
62 -PATCHES=(
63 - "${FILESDIR}/0001-pip_package-modularize-build-script-to-allow-distros.patch"
64 -)
65 -DOCS=( CONTRIBUTING.md README.md )
66 -
67 -src_prepare() {
68 - bazel_setup_bazelrc
69 - default
70 -}
71 -
72 -src_compile() {
73 - export JAVA_HOME=$(java-config --jre-home)
74 -
75 - ebazel build //tensorflow_estimator/tools/pip_package:build_pip_package
76 - ebazel shutdown
77 -
78 - local srcdir="${T}/src"
79 - mkdir -p "${srcdir}" || die
80 - bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package --src "${srcdir}" || die
81 -}
82 -
83 -src_install() {
84 - do_install() {
85 - cd "${T}/src" || die
86 - esetup.py install
87 - python_optimize
88 - }
89 - python_foreach_impl do_install
90 -
91 - cd "${S}" || die
92 - einstalldocs
93 -}