From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1094231-garchives=archives.gentoo.org@lists.gentoo.org>
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 DC273138334
	for <garchives@archives.gentoo.org>; Tue,  4 Jun 2019 16:34:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8EBF4E095E;
	Tue,  4 Jun 2019 16:34:07 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 62C77E095E
	for <gentoo-commits@lists.gentoo.org>; Tue,  4 Jun 2019 16:34:07 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 1AA07345720
	for <gentoo-commits@lists.gentoo.org>; Tue,  4 Jun 2019 16:34:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 29403608
	for <gentoo-commits@lists.gentoo.org>; Tue,  4 Jun 2019 16:34:04 +0000 (UTC)
From: "Jason Zaman" <perfinion@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" <perfinion@gentoo.org>
Message-ID: <1559665969.cce849c3c581c45f7d9d6deb09c07cb55c96a421.perfinion@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorflow-estimator/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-libs/tensorflow-estimator/Manifest sci-libs/tensorflow-estimator/tensorflow-estimator-1.14.0_rc0.ebuild
X-VCS-Directories: sci-libs/tensorflow-estimator/
X-VCS-Committer: perfinion
X-VCS-Committer-Name: Jason Zaman
X-VCS-Revision: cce849c3c581c45f7d9d6deb09c07cb55c96a421
X-VCS-Branch: master
Date: Tue,  4 Jun 2019 16:34:04 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a52115c6-2ea6-4674-ae2f-a5329bf4924f
X-Archives-Hash: ee8b42ba703f75fbfeb3b439cfdadbd9

commit:     cce849c3c581c45f7d9d6deb09c07cb55c96a421
Author:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  4 05:24:44 2019 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Tue Jun  4 16:32:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cce849c3

sci-libs/tensorflow-estimator: bump 1.14.0_rc0

Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 sci-libs/tensorflow-estimator/Manifest             |  1 +
 .../tensorflow-estimator-1.14.0_rc0.ebuild         | 58 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/sci-libs/tensorflow-estimator/Manifest b/sci-libs/tensorflow-estimator/Manifest
index f3b39cff776..ec758432097 100644
--- a/sci-libs/tensorflow-estimator/Manifest
+++ b/sci-libs/tensorflow-estimator/Manifest
@@ -1 +1,2 @@
 DIST tensorflow-estimator-1.13.0.tar.gz 530871 BLAKE2B 4f208ed20e10fa68e06d21c9865cd07623e14362bdcff456bc9b412431c8f12f289c8a8f8ad89cb1f0ec98b1432844632d7e1097ea29d40bf6f67b90b4968f93 SHA512 e4be92b805776d2be5f391f737f1043b994f42721173c4d4a7dbf3fac9b00121cb072091a474bf71c7dcd952fc8b330cf9254c7a5ad9d096ba1cdc12ba12078b
+DIST tensorflow-estimator-1.14.0_rc0.tar.gz 669520 BLAKE2B 876f55b3f35b12ed81f7e978b92daa5fe250d3c45bee236565bbf437664c338a5de6d16eb829d7d3c502089c10f13d5d502c903a970f375aa03fcce3ecdd9a1e SHA512 046d8fd276d77dbc611c8aa7f73d33255222c027f538c5e688ab7a1898b0d8ef4462624368842352aadee711b81111fa38ccb219ce10cb143f8662c8b26c6285

diff --git a/sci-libs/tensorflow-estimator/tensorflow-estimator-1.14.0_rc0.ebuild b/sci-libs/tensorflow-estimator/tensorflow-estimator-1.14.0_rc0.ebuild
new file mode 100644
index 00000000000..d72026f052a
--- /dev/null
+++ b/sci-libs/tensorflow-estimator/tensorflow-estimator-1.14.0_rc0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Jason Zaman
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python{3_5,3_6,3_7} )
+MY_PN="estimator"
+MY_PV=${PV/_rc/-rc}
+MY_P=${MY_PN}-${MY_PV}
+
+inherit bazel distutils-r1 flag-o-matic toolchain-funcs
+
+DESCRIPTION="A high-level TensorFlow API that greatly simplifies machine learning programming"
+HOMEPAGE="https://www.tensorflow.org/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+SRC_URI="https://github.com/tensorflow/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+RDEPEND="sci-libs/tensorflow[python,${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-java/java-config"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( CONTRIBUTING.md README.md )
+
+src_prepare() {
+	bazel_setup_bazelrc
+	default
+}
+
+src_compile() {
+	export JAVA_HOME=$(java-config --jre-home)
+
+	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
+}
+
+src_install() {
+	do_install() {
+		cd "${T}/src" || die
+		esetup.py install
+		python_optimize
+	}
+	python_foreach_impl do_install
+
+	cd "${S}" || die
+	einstalldocs
+}