summaryrefslogtreecommitdiff
path: root/sci-visualization
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /sci-visualization
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/Manifest.gzbin5697 -> 5694 bytes
-rw-r--r--sci-visualization/spyview/Manifest1
-rw-r--r--sci-visualization/spyview/spyview-9999.ebuild75
-rw-r--r--sci-visualization/tensorboard/Manifest2
-rw-r--r--sci-visualization/tensorboard/tensorboard-1.12.1.ebuild55
5 files changed, 133 insertions, 0 deletions
diff --git a/sci-visualization/Manifest.gz b/sci-visualization/Manifest.gz
index 62441f6c02ed..9bd3fab9bb31 100644
--- a/sci-visualization/Manifest.gz
+++ b/sci-visualization/Manifest.gz
Binary files differ
diff --git a/sci-visualization/spyview/Manifest b/sci-visualization/spyview/Manifest
index 5b1070837517..b5edd26bc3d5 100644
--- a/sci-visualization/spyview/Manifest
+++ b/sci-visualization/spyview/Manifest
@@ -1,4 +1,5 @@
DIST spyview-20150124-patchset.tar.bz2 8268 BLAKE2B db7a710e2d61ad4f68e9dd31834f855b122b57fa532eb047a5efd7dd02423974f47652e4770144d02a317bf5a50c0ff852fd752ab331bad0c9efe237905916e0 SHA512 615465056df3786e18d5916dea0ad8ebd31c37ddf6531b85c080f53e0d9776c4f7519bd160ca8a0f29343b2f9fad40abef8d6b7194c4e54d6e2e14557562cc49
DIST spyview-20150124.tgz 14772947 BLAKE2B 18d3298e0498c4be91065c8651d379428541f3156ec7f2f0a6970ce5caafaa81da2ff6fbfcca42d77cfffedd293484aad19c7240ab9500e0cf7764cdb5e6ee4c SHA512 63c58c7729ceab9e1bfbb14b5d257a1d4ca51e43f7b014caffc8adf66767c17b47794b34cfc2f754c2905ff926302d66d438a582fe359a6c8d3e04b072993f5b
EBUILD spyview-20150124-r1.ebuild 1421 BLAKE2B 5c1b6ac0940164f0faaffe8fb56bf3b969227b1833b491ef4ca2b7a691dc4c9f8458a565c732b45b5295d446e298f73797196ecf0295f056343c0864b41a57ee SHA512 f1b5e9674ee69540807b12f55dd53ff9b286d6ed78de0a42f8fe10ce65fb6ca364b89bd22b14e4b03c4396b77e8e9d9c9b8b91ffd390d5695fc83062acfd56c7
+EBUILD spyview-9999.ebuild 1680 BLAKE2B 92cc57325bf732a7f03360eb549efa7741e40fcb013356e30854174f5799dd8efe1dcb02a55eef91bb9cb2b94d3e84b81030339f84629f9d9ca84f1154a27820 SHA512 d70eedf2c7a17d3b18959dd014dcbb26e76fa9421149894c3c2e66d1b9c6e22bcc9cdda880c59cbfd996b749c733293508c70a1ee2e5884208c12bc3f29233c0
MISC metadata.xml 346 BLAKE2B 9e4069b3bc88206f33580deed7736d12cb6de27ef3a4fc88d7e4a82758eb4e683a3bb4c4f42954a426a7d9ee3707b4e4a04f1779616393cf53830d15c667bedb SHA512 51dd8374cf0d0a3e18fc12a8a549a553ea9bc0a66b18fdadf39e5f0102e4ac5ddfe403de35372d95d8e2ab06b9b530118b5977ff466952e905fe7facbf23b52f
diff --git a/sci-visualization/spyview/spyview-9999.ebuild b/sci-visualization/spyview/spyview-9999.ebuild
new file mode 100644
index 000000000000..8250f9599d4a
--- /dev/null
+++ b/sci-visualization/spyview/spyview-9999.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="2D and 3D data visualization and analysis program"
+HOMEPAGE="https://github.com/gsteele13/spyview"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/gsteele13/spyview.git"
+else
+ SRC_URI="https://github.com/gsteele13/spyview/archive/966012afae2fbb77262bd96a7e530e81b0ed3b90.tar.gz -> $P.tgz
+ https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+COMMON_DEPEND="
+ >=dev-libs/boost-1.62.0:=
+ media-libs/netpbm
+ x11-libs/fltk:1[opengl]
+ app-text/ghostscript-gpl
+ virtual/glu
+"
+
+DEPEND="${COMMON_DEPEND}
+ sys-apps/groff"
+
+RDEPEND="${COMMON_DEPEND}
+ sci-visualization/gnuplot"
+
+PATCHES=(
+ "${WORKDIR}/${P}-patchset/${P}"-gnuplot_interface_fix.patch
+ "${WORKDIR}/${P}-patchset/${P}"-gcc6cxx14-9.patch
+)
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]] ; then
+ git-r3_src_unpack
+ S="${WORKDIR}/${P}/source"
+ else
+ default
+ mv -v "${WORKDIR}"/spyview-*/source "${S}" || die
+ fi
+}
+
+src_prepare() {
+ append-cflags $(fltk-config --cflags)
+ append-cxxflags $(fltk-config --cxxflags)
+
+ append-cxxflags -std=c++14
+
+ append-cppflags -I"${EPREFIX}"/usr/include/netpbm
+
+ # append-ldflags $(fltk-config --ldflags)
+ # this one leads to an insane amount of warnings
+ append-ldflags -L$(dirname $(fltk-config --libs))
+
+ while IFS="" read -d $'\0' -r file; do
+ sed -i -e 's:-mwindows -mconsole::g' "$file" || die
+ done < <(find "${S}" -name Makefile.am -print0)
+
+ if [[ ${PV} == *9999* ]] ; then
+ eapply_user
+ else
+ default
+ fi
+ eautoreconf
+}
diff --git a/sci-visualization/tensorboard/Manifest b/sci-visualization/tensorboard/Manifest
index 23c8c571c633..03a6d1c15440 100644
--- a/sci-visualization/tensorboard/Manifest
+++ b/sci-visualization/tensorboard/Manifest
@@ -1,5 +1,7 @@
DIST tensorboard-1.10.0.zip 3280385 BLAKE2B b4e9f6d4fc6252b57f31e8514516205c8f8150d3d2c0f46049338fe7d7dd601b75c0b1c21945e06d077511426f85c65a318e184f9fd40758b1f83a7e93364518 SHA512 2c3a741c4627242e2e4c144d09089c951291826fe1839cf04d9f369b4e88cd5d7fb02b0789ea11cb4810ef458e167e98562ba55ac7cfcc048e4117f12b531818
DIST tensorboard-1.11.0.zip 3027414 BLAKE2B 5a0c325755551d5dfea98cc96cfa5ee0a8c9d39c2e7bcf8139daea54dcc89e5004de0dd90069e626264e11633acc283055ee3e73654b3d883418e07eef6f0f08 SHA512 d3948143a883ed6c6353cfab945814ff4ef21833b38875f003ef375d1e3a63dd65fce49ef80b2eec5827c46ffb6a82f8464f2b0e7d4af348ad8ba51ce4829426
+DIST tensorboard-1.12.1.zip 3046273 BLAKE2B 13d49cc9ed194c629943942b95c7a084220ce5f7ac2faaf5c010f8c4b71412144528feb58b2b67cae0d342f6a41e078c0fdffa45fdf526ec93b39ad204242c7c SHA512 b739f387c27a609d3064f7f7a162780d8807f4f9f6b95401f088bc7d6a1763613148056472c8b24b0941d562bb14bb323a82a248deb416ec5fba27fc25d7e62f
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
MISC metadata.xml 494 BLAKE2B 367959e934fdf8e447da9632a05ea0ada6116a7c39cf42096a3b24f0dcf0c0bfbd3263e6f3913611c27e76f629b77d1e5022fa124d7e79f03a224bd3627bb538 SHA512 b59bedcac4e07ddbb62e90df57670116ba51c3d8c6294679ba5d8f17d7adbf3644f3d203c1d1ef4fa06d7e50640148ee259a081afb807477784350b98c52da11
diff --git a/sci-visualization/tensorboard/tensorboard-1.12.1.ebuild b/sci-visualization/tensorboard/tensorboard-1.12.1.ebuild
new file mode 100644
index 000000000000..8a277ed91654
--- /dev/null
+++ b/sci-visualization/tensorboard/tensorboard-1.12.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Jason Zaman
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+inherit python-r1 python-utils-r1
+
+DESCRIPTION="TensorFlow's Visualization Toolkit"
+HOMEPAGE="https://www.tensorflow.org/"
+SRC_URI="https://files.pythonhosted.org/packages/bd/7e/528c868bb8a0542c8a5686ff3a08502d2691bd50499c6e55f8989fa8e5a0/${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
+}