diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-04 12:02:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-04 12:02:00 +0100 |
commit | eab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (patch) | |
tree | ce35c6d01b5ff5de95c3a20fef853b9a6518ad2e /sci-libs/tensorflow-estimator/tensorflow-estimator-1.13.0_rc0.ebuild | |
parent | b7ebc951da8800f711142f69d9d958bde67a112d (diff) |
gentoo resync : 04.05.2019
Diffstat (limited to 'sci-libs/tensorflow-estimator/tensorflow-estimator-1.13.0_rc0.ebuild')
-rw-r--r-- | sci-libs/tensorflow-estimator/tensorflow-estimator-1.13.0_rc0.ebuild | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/sci-libs/tensorflow-estimator/tensorflow-estimator-1.13.0_rc0.ebuild b/sci-libs/tensorflow-estimator/tensorflow-estimator-1.13.0_rc0.ebuild deleted file mode 100644 index 766a3206621e..000000000000 --- a/sci-libs/tensorflow-estimator/tensorflow-estimator-1.13.0_rc0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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} ) -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}" - -PATCHES=( - "${FILESDIR}/0001-pip_package-modularize-build-script-to-allow-distros.patch" -) -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 -} |