Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/glue-vispy-viewers/
Date: Tue, 28 Feb 2017 21:28:41
Message-Id: 1488317307.aedf6e90d3b5879d0550d57ecb50605305856aa8.bicatali@gentoo
1 commit: aedf6e90d3b5879d0550d57ecb50605305856aa8
2 Author: S├ębastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 21:27:22 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 21:28:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aedf6e90
7
8 dev-python/glue-vispy-viewers: initial import
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/glue-vispy-viewers/Manifest | 1 +
13 .../glue-vispy-viewers-0.7.1.ebuild | 44 ++++++++++++++++++++++
14 dev-python/glue-vispy-viewers/metadata.xml | 15 ++++++++
15 3 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/glue-vispy-viewers/Manifest b/dev-python/glue-vispy-viewers/Manifest
18 new file mode 100644
19 index 00000000000..237d574e2d1
20 --- /dev/null
21 +++ b/dev-python/glue-vispy-viewers/Manifest
22 @@ -0,0 +1 @@
23 +DIST glue-vispy-viewers-0.7.1.tar.gz 682074 SHA256 ad42bb4726a3f80dc2096de0bfa0c3f4f322fd52a359601bfe9b9fab3e3e041d SHA512 7d32abd75049a0f8d95ae99baf8590f1748f0232ed134c10f6625edfd31009642f836c4232e2c727a193d9cd2a085c1af4d0a4602ca326cee4b3dac3bd1390f3 WHIRLPOOL 442c102412bcf04baa48b2f947261fc6a9aae27edd6b0b32a607dd435fc525934209236b8cca6b4875dd4335212a0d41265faefca20b7452f12a278bb7214a99
24
25 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
26 new file mode 100644
27 index 00000000000..63e8e293e66
28 --- /dev/null
29 +++ b/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.1.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
37 +
38 +inherit distutils-r1 virtualx
39 +
40 +DESCRIPTION="Vispy-based viewers for Glue"
41 +HOMEPAGE="https://github.com/glue-viz/glue-3d-viewer"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +IUSE="test"
48 +
49 +DOCS=( README.rst CHANGES.md )
50 +
51 +RDEPEND="
52 + dev-python/astropy[${PYTHON_USEDEP}]
53 + dev-python/glueviz[${PYTHON_USEDEP}]
54 + dev-python/numpy[${PYTHON_USEDEP}]
55 + dev-python/pyopengl[${PYTHON_USEDEP}]
56 + dev-python/QtPy[${PYTHON_USEDEP},designer,gui]
57 + sci-libs/scipy[${PYTHON_USEDEP}]
58 +"
59 +
60 +DEPEND="
61 + dev-python/astropy-helpers[${PYTHON_USEDEP}]
62 + dev-python/setuptools[${PYTHON_USEDEP}]
63 + test? (
64 + ${RDEPEND}
65 + dev-python/mock[${PYTHON_USEDEP}]
66 + dev-python/pytest[${PYTHON_USEDEP}]
67 + )
68 +"
69 +
70 +python_test() {
71 + cd "${BUILD_DIR}"/lib || die
72 + echo "backend: Agg" > matplotlibrc
73 + virtx py.test || die
74 +}
75
76 diff --git a/dev-python/glue-vispy-viewers/metadata.xml b/dev-python/glue-vispy-viewers/metadata.xml
77 new file mode 100644
78 index 00000000000..5b0df1b06b0
79 --- /dev/null
80 +++ b/dev-python/glue-vispy-viewers/metadata.xml
81 @@ -0,0 +1,15 @@
82 +<?xml version="1.0" encoding="UTF-8"?>
83 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
84 +<pkgmetadata>
85 + <maintainer type="project">
86 + <email>sci-astronomy@g.o</email>
87 + <name>Gentoo Astronomy Project</name>
88 + </maintainer>
89 + <longdescription lang="en">
90 + Plugin to view 3D in Glue visualization toolkit.
91 + </longdescription>
92 + <upstream>
93 + <remote-id type="pypi">glue-vispy-viewers</remote-id>
94 + <remote-id type="github">glue-viz/glue-vispy-viewers</remote-id>
95 + </upstream>
96 +</pkgmetadata>