diff options
Diffstat (limited to 'dev-python/glue-vispy-viewers')
-rw-r--r-- | dev-python/glue-vispy-viewers/Manifest | 3 | ||||
-rw-r--r-- | dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild | 44 | ||||
-rw-r--r-- | dev-python/glue-vispy-viewers/metadata.xml | 15 |
3 files changed, 62 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..4250e6844ff0 --- /dev/null +++ b/dev-python/glue-vispy-viewers/Manifest @@ -0,0 +1,3 @@ +DIST glue-vispy-viewers-0.7.2.tar.gz 682795 BLAKE2B 2c7a2a7f92405b2e30a74fadf748bf0ec73655642198e25a14c46aca94c29536056056a6ef01316758b0ab581e13e277afc21af2bfcb19d77280414e1a1fd978 SHA512 687bb732a55d18c50aa16aec0b7c1b56712e84556f60c6ea8600f0c2c5cce9404c54f4d7a6b9d193f94202b16e9902045c3e8c3fc0f0347c3a30ff7b21177c27 +EBUILD glue-vispy-viewers-0.7.2.ebuild 1011 BLAKE2B f98f28cbf6dd30ef5e91927b55319e7d2e703b7cd924567a65787e809b84caff34e2d75d357856f70afee9564e79b92da59309e590b913e0d1519ef51c3cf2fb SHA512 b80dc72bc51c400ab59e987d2c2917c4f49d84a1c4bdeb090442cc2ff2a3fbae2aad95a1100e194178ce80e524a70410de67b6e1c86df420908900b8c1f61c9d +MISC metadata.xml 529 BLAKE2B cfc15f2ed57fe05e8ad8074a9e527d122438ee1099a64a2da98248b64366e8658d9926759eca82a76b980b51620f63e1a6436d1ad1edd02ec8d3f85a904922b0 SHA512 4682153ce74e9d7276224de2f44d8e6a091d43d9705229e538350b3f968151c497f310ac2f1a24a3b980db9d4ccdb45af7ace313e739e665bf456d4af45657e5 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 +} 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> |