From 286aa77a18cb5f0e2057ec6048811fd644d714afeea07f028f95a21b7f647d43 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 9 Mar 2018 09:36:31 +0000 Subject: [PATCH] Accepting request 581985 from devel:languages:python Needed by the latest version of python-holoviews, already in openSUSE:Factory. OBS-URL: https://build.opensuse.org/request/show/581985 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-vispy?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + python-vispy.changes | 17 +++++++ python-vispy.spec | 111 +++++++++++++++++++++++++++++++++++++++++++ vispy-0.5.2.tar.gz | 3 ++ 5 files changed, 155 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-vispy.changes create mode 100644 python-vispy.spec create mode 100644 vispy-0.5.2.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-vispy.changes b/python-vispy.changes new file mode 100644 index 0000000..42f3a89 --- /dev/null +++ b/python-vispy.changes @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Thu Jan 18 19:01:27 UTC 2018 - toddrme2178@gmail.com + +- Update to version 0.15.2 + * Fix PyPI packaging to include LICENSE.txt + * Fix initial axis limits in PlotWidget (#1386) + * Fix zoom event position in Pyglet backend (#1388) + * Fix camera importing (#1389, #1172) + * Refactor `EllipseVisual` and `RectangleVisual` (#1387, #1349) + * Fix `one_scene_four_cams.py` example (#1391, #1124) + * Add `two_qt_widgets.py` example (#1392, #1298) + * Fix order of alignment values for proper processing (#1395, #641) + +------------------------------------------------------------------- +Fri Oct 20 16:19:26 UTC 2017 - toddrme2178@gmail.com + +- initial version diff --git a/python-vispy.spec b/python-vispy.spec new file mode 100644 index 0000000..7eab973 --- /dev/null +++ b/python-vispy.spec @@ -0,0 +1,111 @@ +# +# spec file for package python-vispy +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# Test files missing +%bcond_with test +%bcond_without ext_deps +Name: python-vispy +Version: 0.5.2 +Release: 0 +License: BSD-3-Clause +Summary: Interactive visualization in Python +Url: https://github.com/vispy/vispy +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/v/vispy/vispy-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: fontconfig +BuildRequires: %{python_module PySDL2} +BuildRequires: %{python_module glfw} +BuildRequires: %{python_module imageio} +BuildRequires: %{python_module jupyter_ipython} +BuildRequires: %{python_module networkx} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module opengl} +BuildRequires: %{python_module pyglet} +BuildRequires: %{python_module qt4} +BuildRequires: %{python_module scipy} +%if %{with ext_deps} +BuildRequires: %{python_module cassowary} +BuildRequires: %{python_module decorator} +BuildRequires: %{python_module freetype-py} +BuildRequires: %{python_module husl} +BuildRequires: %{python_module pypng} +BuildRequires: %{python_module six} +%endif +%endif +Requires: fontconfig +Requires: python-numpy +Requires: python-qt4 +Recommends: python-PySDL2 +Recommends: python-imageio +Recommends: python-jupyter_ipython +Recommends: python-pypng +Recommends: python-networkx +Recommends: python-opengl +Recommends: python-pyglet +Recommends: python-scipy +Recommends: python-opengl-accelerate +%if %{with ext_deps} +Requires: python-cassowary +Requires: python-decorator +Requires: python-freetype-py +Requires: python-husl +Requires: python-pypng +Requires: python-six +%endif +BuildArch: noarch + +%python_subpackages + +%description +Vispy is a **high-performance interactive 2D/3D data visualization +library**. Vispy leverages the computational power of modern **Graphics +Processing Units (GPUs)** through the **OpenGL** library to display very +large datasets. + +For more information, see http://vispy.org. + +%prep +%setup -q -n vispy-%{version} +%if %{with ext_deps} +rm -rf vispy/ext/_bundled +%endif +sed -i -e '/^#!\//, 1d' vispy/glsl/build-spatial-filters.py vispy/util/transforms.py vispy/visuals/collections/util.py + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_exec setup.py test +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst LICENSE.txt +%{python_sitelib}/* + +%changelog diff --git a/vispy-0.5.2.tar.gz b/vispy-0.5.2.tar.gz new file mode 100644 index 0000000..54ec004 --- /dev/null +++ b/vispy-0.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:297b71eff249fd3550ce56512a6c8d10ed21ea42b50591cae0b49348eafb6e85 +size 12254959