summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 04:15:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 04:15:59 +0000
commit2428a405141943fd48500f5554266df40f33b56f (patch)
tree98c95b39561c3a3ad2b451fc1e3b72bd592fad92
parent02e7736631c03aebe627a697f90a478bb8d38547 (diff)
automatic import of python-nano-utilsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-nano-utils.spec200
-rw-r--r--sources1
3 files changed, 202 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..79d09ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Nano-Utils-2.3.4.tar.gz
diff --git a/python-nano-utils.spec b/python-nano-utils.spec
new file mode 100644
index 0000000..e04ace6
--- /dev/null
+++ b/python-nano-utils.spec
@@ -0,0 +1,200 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Nano-Utils
+Version: 2.3.4
+Release: 1
+Summary: Utility functions used throughout the various nlesc-nano repositories.
+License: Apache Software License
+URL: https://github.com/nlesc-nano/Nano-Utils
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b9/51/5099949f12d1b4bbe046cdb27db54e2eca6f86a5c2d6d8d1c4174bdde276/Nano-Utils-2.3.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-typing-extensions
+Requires: python3-twine
+Requires: python3-wheel
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-assertionlib
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-schema
+Requires: python3-pyyaml
+Requires: python3-h5py
+Requires: python3-numpy
+Requires: python3-ipython
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-twine
+Requires: python3-wheel
+Requires: python3-assertionlib
+Requires: python3-pytest
+Requires: python3-pytest-cov
+
+%description
+.. image:: https://readthedocs.org/projects/nano-utils/badge/?version=latest
+ :target: https://Nano-Utils.readthedocs.io/en/latest/includeme.html
+.. image:: https://badge.fury.io/py/Nano-Utils.svg
+ :target: https://badge.fury.io/py/Nano-Utils
+.. image:: https://github.com/nlesc-nano/Nano-Utils/workflows/Build/badge.svg
+ :target: https://github.com/nlesc-nano/Nano-Utils/actions?query=workflow%3ABuild
+.. image:: https://codecov.io/gh/nlesc-nano/Nano-Utils/branch/master/graph/badge.svg
+ :target: https://codecov.io/gh/nlesc-nano/Nano-Utils
+.. image:: https://zenodo.org/badge/268804056.svg
+ :target: https://zenodo.org/badge/latestdoi/268804056
+
+|
+
+.. image:: https://img.shields.io/badge/python-3.7-blue.svg
+ :target: https://docs.python.org/3.7/
+.. image:: https://img.shields.io/badge/python-3.8-blue.svg
+ :target: https://docs.python.org/3.8/
+.. image:: https://img.shields.io/badge/python-3.9-blue.svg
+ :target: https://docs.python.org/3.9/
+.. image:: https://img.shields.io/badge/python-3.10-blue.svg
+ :target: https://docs.python.org/3.10/
+.. image:: https://img.shields.io/badge/python-3.11-blue.svg
+ :target: https://docs.python.org/3.11/
+
+##########
+Nano-Utils
+##########
+Utility functions used throughout the various nlesc-nano repositories.
+
+
+Installation
+************
+* PyPi: ``pip install Nano-Utils``
+* GitHub: ``pip install git+https://github.com/nlesc-nano/Nano-Utils@master``
+
+
+
+
+%package -n python3-Nano-Utils
+Summary: Utility functions used throughout the various nlesc-nano repositories.
+Provides: python-Nano-Utils
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Nano-Utils
+.. image:: https://readthedocs.org/projects/nano-utils/badge/?version=latest
+ :target: https://Nano-Utils.readthedocs.io/en/latest/includeme.html
+.. image:: https://badge.fury.io/py/Nano-Utils.svg
+ :target: https://badge.fury.io/py/Nano-Utils
+.. image:: https://github.com/nlesc-nano/Nano-Utils/workflows/Build/badge.svg
+ :target: https://github.com/nlesc-nano/Nano-Utils/actions?query=workflow%3ABuild
+.. image:: https://codecov.io/gh/nlesc-nano/Nano-Utils/branch/master/graph/badge.svg
+ :target: https://codecov.io/gh/nlesc-nano/Nano-Utils
+.. image:: https://zenodo.org/badge/268804056.svg
+ :target: https://zenodo.org/badge/latestdoi/268804056
+
+|
+
+.. image:: https://img.shields.io/badge/python-3.7-blue.svg
+ :target: https://docs.python.org/3.7/
+.. image:: https://img.shields.io/badge/python-3.8-blue.svg
+ :target: https://docs.python.org/3.8/
+.. image:: https://img.shields.io/badge/python-3.9-blue.svg
+ :target: https://docs.python.org/3.9/
+.. image:: https://img.shields.io/badge/python-3.10-blue.svg
+ :target: https://docs.python.org/3.10/
+.. image:: https://img.shields.io/badge/python-3.11-blue.svg
+ :target: https://docs.python.org/3.11/
+
+##########
+Nano-Utils
+##########
+Utility functions used throughout the various nlesc-nano repositories.
+
+
+Installation
+************
+* PyPi: ``pip install Nano-Utils``
+* GitHub: ``pip install git+https://github.com/nlesc-nano/Nano-Utils@master``
+
+
+
+
+%package help
+Summary: Development documents and examples for Nano-Utils
+Provides: python3-Nano-Utils-doc
+%description help
+.. image:: https://readthedocs.org/projects/nano-utils/badge/?version=latest
+ :target: https://Nano-Utils.readthedocs.io/en/latest/includeme.html
+.. image:: https://badge.fury.io/py/Nano-Utils.svg
+ :target: https://badge.fury.io/py/Nano-Utils
+.. image:: https://github.com/nlesc-nano/Nano-Utils/workflows/Build/badge.svg
+ :target: https://github.com/nlesc-nano/Nano-Utils/actions?query=workflow%3ABuild
+.. image:: https://codecov.io/gh/nlesc-nano/Nano-Utils/branch/master/graph/badge.svg
+ :target: https://codecov.io/gh/nlesc-nano/Nano-Utils
+.. image:: https://zenodo.org/badge/268804056.svg
+ :target: https://zenodo.org/badge/latestdoi/268804056
+
+|
+
+.. image:: https://img.shields.io/badge/python-3.7-blue.svg
+ :target: https://docs.python.org/3.7/
+.. image:: https://img.shields.io/badge/python-3.8-blue.svg
+ :target: https://docs.python.org/3.8/
+.. image:: https://img.shields.io/badge/python-3.9-blue.svg
+ :target: https://docs.python.org/3.9/
+.. image:: https://img.shields.io/badge/python-3.10-blue.svg
+ :target: https://docs.python.org/3.10/
+.. image:: https://img.shields.io/badge/python-3.11-blue.svg
+ :target: https://docs.python.org/3.11/
+
+##########
+Nano-Utils
+##########
+Utility functions used throughout the various nlesc-nano repositories.
+
+
+Installation
+************
+* PyPi: ``pip install Nano-Utils``
+* GitHub: ``pip install git+https://github.com/nlesc-nano/Nano-Utils@master``
+
+
+
+
+%prep
+%autosetup -n Nano-Utils-2.3.4
+
+%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-Nano-Utils -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7d2de4f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+02056e088aaab7eeb288bea5f88cff28 Nano-Utils-2.3.4.tar.gz