summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-06-27 02:33:03 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-06-27 02:48:49 +0000
commit628c594da38b965f9931e71acf75cdec3810fc4e (patch)
tree95ef430c252435317c3ff8d91148537d84872ed8 /dev-python/glue-vispy-viewers
parentdev-python/glueviz: version bump (diff)
downloadgentoo-628c594da38b965f9931e71acf75cdec3810fc4e.tar.gz
gentoo-628c594da38b965f9931e71acf75cdec3810fc4e.tar.bz2
gentoo-628c594da38b965f9931e71acf75cdec3810fc4e.zip
dev-python/glue-vispy-viewers: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/glue-vispy-viewers')
-rw-r--r--dev-python/glue-vispy-viewers/Manifest1
-rw-r--r--dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/glue-vispy-viewers/Manifest b/dev-python/glue-vispy-viewers/Manifest
index 237d574e2d16..2356c93148ce 100644
--- a/dev-python/glue-vispy-viewers/Manifest
+++ b/dev-python/glue-vispy-viewers/Manifest
@@ -1 +1,2 @@
DIST glue-vispy-viewers-0.7.1.tar.gz 682074 SHA256 ad42bb4726a3f80dc2096de0bfa0c3f4f322fd52a359601bfe9b9fab3e3e041d SHA512 7d32abd75049a0f8d95ae99baf8590f1748f0232ed134c10f6625edfd31009642f836c4232e2c727a193d9cd2a085c1af4d0a4602ca326cee4b3dac3bd1390f3 WHIRLPOOL 442c102412bcf04baa48b2f947261fc6a9aae27edd6b0b32a607dd435fc525934209236b8cca6b4875dd4335212a0d41265faefca20b7452f12a278bb7214a99
+DIST glue-vispy-viewers-0.7.2.tar.gz 682795 SHA256 2daed5f7c5cc01feda1f0d19ec94feca37192ac97be669b276c649f2f6fd1e72 SHA512 687bb732a55d18c50aa16aec0b7c1b56712e84556f60c6ea8600f0c2c5cce9404c54f4d7a6b9d193f94202b16e9902045c3e8c3fc0f0347c3a30ff7b21177c27 WHIRLPOOL a15a52c205c44f276441de3d86534bb165c8167bfd78de59070a19bf3900e8079834562b203f1d6aee55182df6bcf61138a636a291fe05b60bc3b499de320c71
diff --git a/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild b/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild
new file mode 100644
index 000000000000..16235c1bad69
--- /dev/null
+++ b/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Vispy-based viewers for Glue"
+HOMEPAGE="https://github.com/glue-viz/glue-3d-viewer"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+DOCS=( README.rst CHANGES.md )
+
+RDEPEND="
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/glueviz[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pyopengl[${PYTHON_USEDEP}]
+ dev-python/QtPy[${PYTHON_USEDEP},designer,gui]
+ sci-libs/scipy[${PYTHON_USEDEP}]
+"
+
+DEPEND="
+ dev-python/astropy-helpers[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ cd "${BUILD_DIR}"/lib || die
+ echo "backend: Agg" > matplotlibrc
+ virtx py.test || die
+}