dev-python/glue-vispy-viewers: initial import
authorSébastien Fabbro <bicatali@gentoo.org>
Tue, 28 Feb 2017 21:27:22 +0000 (21:27 +0000)
committerSébastien Fabbro <bicatali@gentoo.org>
Tue, 28 Feb 2017 21:28:27 +0000 (21:28 +0000)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-python/glue-vispy-viewers/Manifest [new file with mode: 0644]
dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.1.ebuild [new file with mode: 0644]
dev-python/glue-vispy-viewers/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/glue-vispy-viewers/Manifest b/dev-python/glue-vispy-viewers/Manifest
new file mode 100644 (file)
index 0000000..237d574
--- /dev/null
@@ -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 (file)
index 0000000..63e8e29
--- /dev/null
@@ -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 (file)
index 0000000..5b0df1b
--- /dev/null
@@ -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>