From: Sébastien Fabbro Date: Tue, 28 Feb 2017 21:27:22 +0000 (+0000) Subject: dev-python/glue-vispy-viewers: initial import X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aedf6e90d3b5879d0550d57ecb50605305856aa8;p=gentoo.git dev-python/glue-vispy-viewers: initial import Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/dev-python/glue-vispy-viewers/Manifest b/dev-python/glue-vispy-viewers/Manifest new file mode 100644 index 000000000000..237d574e2d16 --- /dev/null +++ b/dev-python/glue-vispy-viewers/Manifest @@ -0,0 +1 @@ +DIST glue-vispy-viewers-0.7.1.tar.gz 682074 SHA256 ad42bb4726a3f80dc2096de0bfa0c3f4f322fd52a359601bfe9b9fab3e3e041d SHA512 7d32abd75049a0f8d95ae99baf8590f1748f0232ed134c10f6625edfd31009642f836c4232e2c727a193d9cd2a085c1af4d0a4602ca326cee4b3dac3bd1390f3 WHIRLPOOL 442c102412bcf04baa48b2f947261fc6a9aae27edd6b0b32a607dd435fc525934209236b8cca6b4875dd4335212a0d41265faefca20b7452f12a278bb7214a99 diff --git a/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.1.ebuild b/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.1.ebuild new file mode 100644 index 000000000000..63e8e293e66e --- /dev/null +++ b/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.1.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} ) + +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 +} diff --git a/dev-python/glue-vispy-viewers/metadata.xml b/dev-python/glue-vispy-viewers/metadata.xml new file mode 100644 index 000000000000..5b0df1b06b07 --- /dev/null +++ b/dev-python/glue-vispy-viewers/metadata.xml @@ -0,0 +1,15 @@ + + + + + sci-astronomy@gentoo.org + Gentoo Astronomy Project + + + Plugin to view 3D in Glue visualization toolkit. + + + glue-vispy-viewers + glue-viz/glue-vispy-viewers + +