diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2017-02-28 21:27:22 +0000 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2017-02-28 21:28:27 +0000 |
commit | aedf6e90d3b5879d0550d57ecb50605305856aa8 (patch) | |
tree | afef72fb103975a5840b6d0db6109875ffe63bc9 /dev-python | |
parent | dev-python/QtPy: add opengl flag (diff) | |
download | gentoo-aedf6e90d3b5879d0550d57ecb50605305856aa8.tar.gz gentoo-aedf6e90d3b5879d0550d57ecb50605305856aa8.tar.bz2 gentoo-aedf6e90d3b5879d0550d57ecb50605305856aa8.zip |
dev-python/glue-vispy-viewers: initial import
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/glue-vispy-viewers/Manifest | 1 | ||||
-rw-r--r-- | dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.1.ebuild | 44 | ||||
-rw-r--r-- | dev-python/glue-vispy-viewers/metadata.xml | 15 |
3 files changed, 60 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <longdescription lang="en"> + Plugin to view 3D in Glue visualization toolkit. + </longdescription> + <upstream> + <remote-id type="pypi">glue-vispy-viewers</remote-id> + <remote-id type="github">glue-viz/glue-vispy-viewers</remote-id> + </upstream> +</pkgmetadata> |