From 21435953e16cda318a82334ddbadb3b5c36d9ea7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Jan 2020 15:51:32 +0000 Subject: gentoo resync : 15.01.2020 --- sci-visualization/tensorboard/Manifest | 6 ++- .../tensorboard/tensorboard-1.15.0.ebuild | 6 +-- .../tensorboard/tensorboard-2.0.0.ebuild | 6 +-- .../tensorboard/tensorboard-2.1.0-r1.ebuild | 62 ++++++++++++++++++++++ 4 files changed, 72 insertions(+), 8 deletions(-) create mode 100644 sci-visualization/tensorboard/tensorboard-2.1.0-r1.ebuild (limited to 'sci-visualization/tensorboard') diff --git a/sci-visualization/tensorboard/Manifest b/sci-visualization/tensorboard/Manifest index eb9efa153dc7..d2f14353fe7a 100644 --- a/sci-visualization/tensorboard/Manifest +++ b/sci-visualization/tensorboard/Manifest @@ -1,5 +1,7 @@ DIST tensorboard-1.15.0.zip 3765194 BLAKE2B 54a9987b65d4e2b127789f0e66eb5bdef8c024d19a82867632b44eefc4718bc6eb6c68fa61fdb2306af2c3adbacc3c75ec15f7aa331038b15cec27af2d846f85 SHA512 7b47d60929b4be91b4d56e36fc5a19b79511b8f3a1081fe308d3a107f978f2c5d23ad2d209104de983bc44f4506cdb0cb6e09b37e552dc042600ea16e14827dc DIST tensorboard-2.0.0.zip 3776140 BLAKE2B 2bfd5b9d5b1c21f7df19ce5dae8a3d72381092630d1f53409fa0b96cab56be323ddef116bab95184d045f82fec88f4162e1f7277b25ed9c19b77189cf1a132ba SHA512 e87ea39eae9b64c3314de771de98c21148517aee4103a4bc23d674273b1a220248d6ba85a9f94481c6d67e8d3733af099b91df3dae38537411082c1595aad73d -EBUILD tensorboard-1.15.0.ebuild 1745 BLAKE2B e00437ceb6474f9bf48921c6801f6f4ee586a5e24448e272b019ca2496f98feb57d6ebd6a0e59512b749d2fe7b8c61812eba24c378067ab61a0fd32e175ca83e SHA512 5ed3d7a0543a72cc5848e0b145c2e0bf8fd28970f0595fe15f082c4442bbd28e9e606883d699c5975675cd09c5335a293f95e48830aa2036c581c3bf9400f5e9 -EBUILD tensorboard-2.0.0.ebuild 1745 BLAKE2B e00437ceb6474f9bf48921c6801f6f4ee586a5e24448e272b019ca2496f98feb57d6ebd6a0e59512b749d2fe7b8c61812eba24c378067ab61a0fd32e175ca83e SHA512 5ed3d7a0543a72cc5848e0b145c2e0bf8fd28970f0595fe15f082c4442bbd28e9e606883d699c5975675cd09c5335a293f95e48830aa2036c581c3bf9400f5e9 +DIST tensorboard-2.1.0.zip 3835182 BLAKE2B c2c7dbc1ba4b85c52df6e693e1bd425bd76fe6db7ca25582b57d9c65c68b191dcdba2623ab0560139f1cac1bdf5c7a47261daaaf51fca46f2c5bf441f832a6fd SHA512 7463ace0863b90312a62a7fa96f4eca0147e85cf46ff21729f8996a794d54e14d876d3abe083d6aa4efd8e4e1582f7d5029de367f199981a34d4057b558bc51c +EBUILD tensorboard-1.15.0.ebuild 1727 BLAKE2B 7778041f42cff7fe3ed397a674e74a00815f0f16d48a228de2bb5541df362366a3072afc24b0a5fdb97523709c89287d752dee70057bd799048c69d50c3ff50e SHA512 9039002ee8f46f944a16f197556bbacb524bbcef7a74ae83f172ff7932cf2aa744e5c966826bce78ce4495d75dcc17c57d221bd97cb5e603e08b2c2365895cd7 +EBUILD tensorboard-2.0.0.ebuild 1727 BLAKE2B 7778041f42cff7fe3ed397a674e74a00815f0f16d48a228de2bb5541df362366a3072afc24b0a5fdb97523709c89287d752dee70057bd799048c69d50c3ff50e SHA512 9039002ee8f46f944a16f197556bbacb524bbcef7a74ae83f172ff7932cf2aa744e5c966826bce78ce4495d75dcc17c57d221bd97cb5e603e08b2c2365895cd7 +EBUILD tensorboard-2.1.0-r1.ebuild 1878 BLAKE2B b5a2c5ea2331234278d9f093ccce4b0685cc21205e9115088d3c14e38fd3401099437c66d7b3b25ecd0dddded134d24a43bba10f37d1c38b4a303406150db358 SHA512 9de28409a09cc2332abc874f00d43cd8d79b52be6d72cf5fd297a93aef05e6c34487dcfe4cda12592a2b4ef7269cb866ce7ccd76436a3ee2dd71aa3730a77de6 MISC metadata.xml 494 BLAKE2B 367959e934fdf8e447da9632a05ea0ada6116a7c39cf42096a3b24f0dcf0c0bfbd3263e6f3913611c27e76f629b77d1e5022fa124d7e79f03a224bd3627bb538 SHA512 b59bedcac4e07ddbb62e90df57670116ba51c3d8c6294679ba5d8f17d7adbf3644f3d203c1d1ef4fa06d7e50640148ee259a081afb807477784350b98c52da11 diff --git a/sci-visualization/tensorboard/tensorboard-1.15.0.ebuild b/sci-visualization/tensorboard/tensorboard-1.15.0.ebuild index c9b1f9175591..10bba99a3648 100644 --- a/sci-visualization/tensorboard/tensorboard-1.15.0.ebuild +++ b/sci-visualization/tensorboard/tensorboard-1.15.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7} ) -inherit python-r1 python-utils-r1 +PYTHON_COMPAT=( python3_{6,7} ) +inherit python-r1 DESCRIPTION="TensorFlow's Visualization Toolkit" HOMEPAGE="https://www.tensorflow.org/" diff --git a/sci-visualization/tensorboard/tensorboard-2.0.0.ebuild b/sci-visualization/tensorboard/tensorboard-2.0.0.ebuild index c9b1f9175591..10bba99a3648 100644 --- a/sci-visualization/tensorboard/tensorboard-2.0.0.ebuild +++ b/sci-visualization/tensorboard/tensorboard-2.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7} ) -inherit python-r1 python-utils-r1 +PYTHON_COMPAT=( python3_{6,7} ) +inherit python-r1 DESCRIPTION="TensorFlow's Visualization Toolkit" HOMEPAGE="https://www.tensorflow.org/" diff --git a/sci-visualization/tensorboard/tensorboard-2.1.0-r1.ebuild b/sci-visualization/tensorboard/tensorboard-2.1.0-r1.ebuild new file mode 100644 index 000000000000..385c77db9a5a --- /dev/null +++ b/sci-visualization/tensorboard/tensorboard-2.1.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +inherit python-r1 + +DESCRIPTION="TensorFlow's Visualization Toolkit" +HOMEPAGE="https://www.tensorflow.org/" +SRC_URI="https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl -> ${P}.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/bleach[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.6.3[${PYTHON_USEDEP}] + >=dev-python/google-auth-oauthlib-0.4.1[${PYTHON_USEDEP}] + dev-python/grpcio[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/setuptools-41[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=sci-libs/scipy-1.4.1[${PYTHON_USEDEP}] + virtual/python-futures[${PYTHON_USEDEP}]" +BDEPEND="app-arch/unzip + ${PYTHON_DEPS}" +PDEPEND="sci-libs/tensorflow[python,${PYTHON_USEDEP}]" + +S="${WORKDIR}" + +src_prepare() { + eapply_user + + rm -rf "${S}/${PN}/_vendor/bleach" || die + rm -rf "${S}/${PN}/_vendor/html5lib" || die + sed -i -e '/_vendor.bleach/d' -e '/_vendor.html5lib/d' "${S}/${P}.dist-info/RECORD" || die "failed to unvendor" + + find "${S}/${PN}" -name '*.py' -exec sed -i \ + -e 's/^from tensorboard\._vendor import html5lib/import html5lib/' \ + -e 's/^from tensorboard\._vendor import bleach/import bleach/' \ + -e 's/^from tensorboard\._vendor\.html5lib/from html5lib/' \ + -e 's/^from tensorboard\._vendor\.bleach/from bleach/' \ + {} + || die "failed to unvendor" +} + +src_install() { + do_install() { + python_domodule "${PN}" + python_domodule "${P}.dist-info" + } + python_foreach_impl do_install +} -- cgit v1.2.3