summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 12:36:01 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 12:36:01 +0000
commita4330859f280e4436d3568242ef75e4a3396f13b (patch)
tree909dd8c7d43365d4f33f0f5f8ed3a7f24596121f
parent8b34a93f289cda3819459d94df6a2454f93bcd35 (diff)
automatic import of python-hyperspy-gui-traitsui
-rw-r--r--.gitignore1
-rw-r--r--python-hyperspy-gui-traitsui.spec210
-rw-r--r--sources1
3 files changed, 212 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..862b947 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hyperspy_gui_traitsui-1.5.2.tar.gz
diff --git a/python-hyperspy-gui-traitsui.spec b/python-hyperspy-gui-traitsui.spec
new file mode 100644
index 0000000..577f09e
--- /dev/null
+++ b/python-hyperspy-gui-traitsui.spec
@@ -0,0 +1,210 @@
+%global _empty_manifest_terminate_build 0
+Name: python-hyperspy-gui-traitsui
+Version: 1.5.2
+Release: 1
+Summary: traitsui GUI elements for HyperSpy.
+License: GPLv3
+URL: https://github.com/hyperspy/hyperspy_gui_traitsui
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d1/64/a9182249b9aa85d428b72601e9bc29b2519a8d79d973e11fef900fa96fa3/hyperspy_gui_traitsui-1.5.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-traits
+Requires: python3-hyperspy
+Requires: python3-traitsui
+Requires: python3-pytest-cov
+Requires: python3-codecov
+Requires: python3-pytest
+
+%description
+[![Tests](https://github.com/hyperspy/hyperspy_gui_traitsui/workflows/Tests/badge.svg)](https://github.com/hyperspy/hyperspy_gui_traitsui/actions)
+[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui)
+[![PyPI](https://img.shields.io/pypi/v/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui)
+[![Anaconda Cloud](https://anaconda.org/conda-forge/hyperspy-gui-traitsui/badges/version.svg)](https://anaconda.org/conda-forge/hyperspy-gui-traitsui)
+
+**hyperspy_gui_traitsui** provides traitsui graphic user interface (GUI) elements for hyperspy.
+
+
+## Installation
+
+### Option 1: With pip
+Make sure you have
+[pip installed](https://pip.pypa.io/en/stable/installing/) and run:
+
+```bash
+pip install hyperspy_gui_traitsui
+```
+
+### Option 2: With Anaconda
+
+Install anaconda for your platform and run
+
+```bash
+conda install hyperspy-gui-traitsui -c conda-forge
+```
+
+## Usage
+
+Please refer to the [HyperSpy documentation](http://hyperspy.org/hyperspy-doc/current/index.html) for details. Example (to run in any jupyter flavour):
+
+```python
+%matplotlib qt
+import hyperspy.api as hs
+hs.preferences.gui(toolkit="traitsui")
+```
+![HyperSpy preferences traitsui](https://github.com/hyperspy/hyperspy_gui_traitsui/raw/main/images/preferences_gui.png "HyperSpy preferences traitsui")
+
+
+## Development
+
+Contributions through pull requests are welcome. See the
+[HyperSpy Developer Guide](http://hyperspy.org/hyperspy-doc/current/dev_guide.html).
+
+
+
+
+%package -n python3-hyperspy-gui-traitsui
+Summary: traitsui GUI elements for HyperSpy.
+Provides: python-hyperspy-gui-traitsui
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-hyperspy-gui-traitsui
+[![Tests](https://github.com/hyperspy/hyperspy_gui_traitsui/workflows/Tests/badge.svg)](https://github.com/hyperspy/hyperspy_gui_traitsui/actions)
+[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui)
+[![PyPI](https://img.shields.io/pypi/v/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui)
+[![Anaconda Cloud](https://anaconda.org/conda-forge/hyperspy-gui-traitsui/badges/version.svg)](https://anaconda.org/conda-forge/hyperspy-gui-traitsui)
+
+**hyperspy_gui_traitsui** provides traitsui graphic user interface (GUI) elements for hyperspy.
+
+
+## Installation
+
+### Option 1: With pip
+Make sure you have
+[pip installed](https://pip.pypa.io/en/stable/installing/) and run:
+
+```bash
+pip install hyperspy_gui_traitsui
+```
+
+### Option 2: With Anaconda
+
+Install anaconda for your platform and run
+
+```bash
+conda install hyperspy-gui-traitsui -c conda-forge
+```
+
+## Usage
+
+Please refer to the [HyperSpy documentation](http://hyperspy.org/hyperspy-doc/current/index.html) for details. Example (to run in any jupyter flavour):
+
+```python
+%matplotlib qt
+import hyperspy.api as hs
+hs.preferences.gui(toolkit="traitsui")
+```
+![HyperSpy preferences traitsui](https://github.com/hyperspy/hyperspy_gui_traitsui/raw/main/images/preferences_gui.png "HyperSpy preferences traitsui")
+
+
+## Development
+
+Contributions through pull requests are welcome. See the
+[HyperSpy Developer Guide](http://hyperspy.org/hyperspy-doc/current/dev_guide.html).
+
+
+
+
+%package help
+Summary: Development documents and examples for hyperspy-gui-traitsui
+Provides: python3-hyperspy-gui-traitsui-doc
+%description help
+[![Tests](https://github.com/hyperspy/hyperspy_gui_traitsui/workflows/Tests/badge.svg)](https://github.com/hyperspy/hyperspy_gui_traitsui/actions)
+[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui)
+[![PyPI](https://img.shields.io/pypi/v/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui)
+[![Anaconda Cloud](https://anaconda.org/conda-forge/hyperspy-gui-traitsui/badges/version.svg)](https://anaconda.org/conda-forge/hyperspy-gui-traitsui)
+
+**hyperspy_gui_traitsui** provides traitsui graphic user interface (GUI) elements for hyperspy.
+
+
+## Installation
+
+### Option 1: With pip
+Make sure you have
+[pip installed](https://pip.pypa.io/en/stable/installing/) and run:
+
+```bash
+pip install hyperspy_gui_traitsui
+```
+
+### Option 2: With Anaconda
+
+Install anaconda for your platform and run
+
+```bash
+conda install hyperspy-gui-traitsui -c conda-forge
+```
+
+## Usage
+
+Please refer to the [HyperSpy documentation](http://hyperspy.org/hyperspy-doc/current/index.html) for details. Example (to run in any jupyter flavour):
+
+```python
+%matplotlib qt
+import hyperspy.api as hs
+hs.preferences.gui(toolkit="traitsui")
+```
+![HyperSpy preferences traitsui](https://github.com/hyperspy/hyperspy_gui_traitsui/raw/main/images/preferences_gui.png "HyperSpy preferences traitsui")
+
+
+## Development
+
+Contributions through pull requests are welcome. See the
+[HyperSpy Developer Guide](http://hyperspy.org/hyperspy-doc/current/dev_guide.html).
+
+
+
+
+%prep
+%autosetup -n hyperspy-gui-traitsui-1.5.2
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-hyperspy-gui-traitsui -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..63b7a01
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+85d7b31062f839c4184b6e6e97d84657 hyperspy_gui_traitsui-1.5.2.tar.gz