diff options
Diffstat (limited to 'sci-visualization/tensorboard')
-rw-r--r-- | sci-visualization/tensorboard/Manifest | 2 | ||||
-rw-r--r-- | sci-visualization/tensorboard/tensorboard-1.13.1.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-visualization/tensorboard/Manifest b/sci-visualization/tensorboard/Manifest index 2b720728f5d8..d17501ebe45e 100644 --- a/sci-visualization/tensorboard/Manifest +++ b/sci-visualization/tensorboard/Manifest @@ -2,8 +2,10 @@ DIST tensorboard-1.10.0.zip 3280385 BLAKE2B b4e9f6d4fc6252b57f31e8514516205c8f81 DIST tensorboard-1.11.0.zip 3027414 BLAKE2B 5a0c325755551d5dfea98cc96cfa5ee0a8c9d39c2e7bcf8139daea54dcc89e5004de0dd90069e626264e11633acc283055ee3e73654b3d883418e07eef6f0f08 SHA512 d3948143a883ed6c6353cfab945814ff4ef21833b38875f003ef375d1e3a63dd65fce49ef80b2eec5827c46ffb6a82f8464f2b0e7d4af348ad8ba51ce4829426 DIST tensorboard-1.12.1.zip 3046273 BLAKE2B 13d49cc9ed194c629943942b95c7a084220ce5f7ac2faaf5c010f8c4b71412144528feb58b2b67cae0d342f6a41e078c0fdffa45fdf526ec93b39ad204242c7c SHA512 b739f387c27a609d3064f7f7a162780d8807f4f9f6b95401f088bc7d6a1763613148056472c8b24b0941d562bb14bb323a82a248deb416ec5fba27fc25d7e62f DIST tensorboard-1.12.2.zip 3046421 BLAKE2B a43d2b10845364deac5742652bbae6edb6c87400ea45f03acf5ea2a7363f7687911c14a4d23631d329aec017ecac0d42ccda5501f1061f7835acadfc1ba2b377 SHA512 41b8fbd4b0e015931929cd701986c655785221debec3041638d807f412b73d46fbf1c9ad01cb20dbbe9bb8886f9e2e2439afa724f156fcea5bd35e74e278ac9b +DIST tensorboard-1.13.1.zip 3187614 BLAKE2B e1b8cb43f7941b843e4fa8c84746f4b341e7c7e246422182eec9e1d3e2a5c367fb818c8e3ddd20cb6b5f64515a986dc5e814728340f0592d346dc55ec6065648 SHA512 d1581b7f694909e94a09d4c3fb2d34ddc31a18a6a09323ef48221e88560a9ec3bbb050ff12a2cd78607a2545053cabc448eab7264036a54dddc4720becfc44b3 EBUILD tensorboard-1.10.0.ebuild 1330 BLAKE2B b1300796ebf50322673def76c4f14b5a847c86ca7f07450ff2c359ed9cebb7ca30ff354f4f5d86fec6f78a91f4717cb6b127f0f6be32e8139221493df49efa6a SHA512 a505ef05c7ab8457b48b3ae6e9530f26524d69e9f1b2e3e0ee22bedcc21139fce22f32a21537899cbe473d55eff63db3dc039e5efb80eea6b04d82e009b9b37a EBUILD tensorboard-1.11.0-r1.ebuild 1492 BLAKE2B fe713d5dbad7170491d504a3216d6af6696e20a2b14cf18b9d4e664123424ae23402702aba861319888e2f6cdd07f1934109690acd859eaf7ab5c15d1ecdb19b SHA512 41da7faac2d44fe3237b78be3a6ccd5c92a6533d549dbecf7d61a09d930bf55aa807be67e21fbc960d95e214b6d45ef5140e2003a3cc6fb9175f13b5b0675d20 EBUILD tensorboard-1.12.1.ebuild 1684 BLAKE2B 1bd51539e62da293e6031489ded3b72c025755a7894d187e303a560daeab336ae6ab746c89820d36caf5e56b69578ba690fcf4bcbd680cc4ab3fc2fe80faa557 SHA512 82d3c601436570583d03c17fb033cfebdc597af233824d206bbf1319f2c9e72650e98b949e8e09d620d030a4ffa4d5cffa208502853f2a69c008a1faa09c1340 EBUILD tensorboard-1.12.2.ebuild 1684 BLAKE2B 3f4c789329c1c03d6e3b336d5b7e81d000aebf7ffebce4f9f511fb81a90362bd3650bcaf0a096f03763f09223d454d4ed039f6a975f6e7d0eab6fd168c09d359 SHA512 572d962eb31aac228c420e2460f71b85588c365d9eda21cebef2b70715062683c5ca9021ff8cbabefa1d0228c242f9a2181fc96ccd798ce88f371155e418ba3d +EBUILD tensorboard-1.13.1.ebuild 1686 BLAKE2B 83cd0b46f777c0f8cb5f45e3944fbc71380378ded97b58893db1b168f3c7c6ffa2754a82a205399a71622788bbbebf25bb930905fc66e7b091e25027a1a12237 SHA512 a99907ca3b21e8f18f424dc5d99caae234326278dfdda06935801ee9072f729542108069835918d6ef7cbdfeb6dddd72b1cf9b71a18f30ca16cd9b08966cb34e MISC metadata.xml 494 BLAKE2B 367959e934fdf8e447da9632a05ea0ada6116a7c39cf42096a3b24f0dcf0c0bfbd3263e6f3913611c27e76f629b77d1e5022fa124d7e79f03a224bd3627bb538 SHA512 b59bedcac4e07ddbb62e90df57670116ba51c3d8c6294679ba5d8f17d7adbf3644f3d203c1d1ef4fa06d7e50640148ee259a081afb807477784350b98c52da11 diff --git a/sci-visualization/tensorboard/tensorboard-1.13.1.ebuild b/sci-visualization/tensorboard/tensorboard-1.13.1.ebuild new file mode 100644 index 000000000000..c5f7d80d69d2 --- /dev/null +++ b/sci-visualization/tensorboard/tensorboard-1.13.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Jason Zaman +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +inherit python-r1 python-utils-r1 + +DESCRIPTION="TensorFlow's Visualization Toolkit" +HOMEPAGE="https://www.tensorflow.org/" +SRC_URI="https://files.pythonhosted.org/packages/0f/39/bdd75b08a6fba41f098b6cb091b9e8c7a80e1b4d679a581a0ccd17b10373/${P}-py3-none-any.whl -> ${P}.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + dev-python/bleach[${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/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + virtual/python-futures[${PYTHON_USEDEP}]" +BDEPEND="app-arch/unzip" +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 +} |