summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 14:38:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 14:38:25 +0000
commitbed41c61efeaeb424386453ea4658fea1f5c356f (patch)
tree5b0a781ea256ff08911202aa3a08602a28fd5d81
parent8ebb754f26e4f4dfd52d1c8239ad4713c4283c1a (diff)
automatic import of python-nehushtanopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-nehushtan.spec214
-rw-r--r--sources1
3 files changed, 216 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0b1d85e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nehushtan-0.4.29.tar.gz
diff --git a/python-nehushtan.spec b/python-nehushtan.spec
new file mode 100644
index 0000000..89f9951
--- /dev/null
+++ b/python-nehushtan.spec
@@ -0,0 +1,214 @@
+%global _empty_manifest_terminate_build 0
+Name: python-nehushtan
+Version: 0.4.29
+Release: 1
+Summary: A toolkit for projects in Python
+License: MIT
+URL: https://sinri.github.io/nehushtan/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/36/24/eaa49c44c6afa6fbc4010252c7cd1f0e4a25a0312be2cc5adeaaa99bff88/nehushtan-0.4.29.tar.gz
+BuildArch: noarch
+
+Requires: python3-psutil
+
+%description
+# Nehushtan (נְחֻשְׁתָּן)
+
+A toolkit for projects in Python
+
+![PyPI](https://img.shields.io/pypi/v/nehushtan)
+![PyPI - Python Version](https://img.shields.io/pypi/pyversions/nehushtan)
+![PyPI - License](https://img.shields.io/pypi/l/nehushtan)
+![PyPI - Downloads](https://img.shields.io/pypi/dm/nehushtan)
+
+![https://www.jetbrains.com/community/opensource/#support](https://img.shields.io/badge/PyCharm-Licenses%20for%20Open%20Source%20Development-yellowgreen)
+
+<img src="https://github.com/sinri/nehushtan/blob/master/icon.png?raw=true" width="64" height="64"></img>
+
+> ipse dissipavit excelsa et contrivit statuas et succidit lucos confregitque serpentem aeneum quem fecerat Moses siquidem usque ad illud tempus filii Israhel adolebant ei incensum vocavitque eum Naasthan
+
+License: MIT
+
+## Category
+
+### CLI
+
+Help to handle the command line parameters.
+
+### Helper
+
+Provide an easier way to access to class, data, etc.
+
+### Logging
+
+Provide a solution for logging, other than the default.
+
+### Mail
+
+A package to support EMail related tasks.
+
+### MySQL
+
+Provide a high-to-low solution on MySQL access, with Model support.
+
+### Queue
+
+A designed framework for queue using `subprocess`.
+
+### Multi-Processing
+
+Support for multiprocessing queue.
+
+
+
+%package -n python3-nehushtan
+Summary: A toolkit for projects in Python
+Provides: python-nehushtan
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-nehushtan
+# Nehushtan (נְחֻשְׁתָּן)
+
+A toolkit for projects in Python
+
+![PyPI](https://img.shields.io/pypi/v/nehushtan)
+![PyPI - Python Version](https://img.shields.io/pypi/pyversions/nehushtan)
+![PyPI - License](https://img.shields.io/pypi/l/nehushtan)
+![PyPI - Downloads](https://img.shields.io/pypi/dm/nehushtan)
+
+![https://www.jetbrains.com/community/opensource/#support](https://img.shields.io/badge/PyCharm-Licenses%20for%20Open%20Source%20Development-yellowgreen)
+
+<img src="https://github.com/sinri/nehushtan/blob/master/icon.png?raw=true" width="64" height="64"></img>
+
+> ipse dissipavit excelsa et contrivit statuas et succidit lucos confregitque serpentem aeneum quem fecerat Moses siquidem usque ad illud tempus filii Israhel adolebant ei incensum vocavitque eum Naasthan
+
+License: MIT
+
+## Category
+
+### CLI
+
+Help to handle the command line parameters.
+
+### Helper
+
+Provide an easier way to access to class, data, etc.
+
+### Logging
+
+Provide a solution for logging, other than the default.
+
+### Mail
+
+A package to support EMail related tasks.
+
+### MySQL
+
+Provide a high-to-low solution on MySQL access, with Model support.
+
+### Queue
+
+A designed framework for queue using `subprocess`.
+
+### Multi-Processing
+
+Support for multiprocessing queue.
+
+
+
+%package help
+Summary: Development documents and examples for nehushtan
+Provides: python3-nehushtan-doc
+%description help
+# Nehushtan (נְחֻשְׁתָּן)
+
+A toolkit for projects in Python
+
+![PyPI](https://img.shields.io/pypi/v/nehushtan)
+![PyPI - Python Version](https://img.shields.io/pypi/pyversions/nehushtan)
+![PyPI - License](https://img.shields.io/pypi/l/nehushtan)
+![PyPI - Downloads](https://img.shields.io/pypi/dm/nehushtan)
+
+![https://www.jetbrains.com/community/opensource/#support](https://img.shields.io/badge/PyCharm-Licenses%20for%20Open%20Source%20Development-yellowgreen)
+
+<img src="https://github.com/sinri/nehushtan/blob/master/icon.png?raw=true" width="64" height="64"></img>
+
+> ipse dissipavit excelsa et contrivit statuas et succidit lucos confregitque serpentem aeneum quem fecerat Moses siquidem usque ad illud tempus filii Israhel adolebant ei incensum vocavitque eum Naasthan
+
+License: MIT
+
+## Category
+
+### CLI
+
+Help to handle the command line parameters.
+
+### Helper
+
+Provide an easier way to access to class, data, etc.
+
+### Logging
+
+Provide a solution for logging, other than the default.
+
+### Mail
+
+A package to support EMail related tasks.
+
+### MySQL
+
+Provide a high-to-low solution on MySQL access, with Model support.
+
+### Queue
+
+A designed framework for queue using `subprocess`.
+
+### Multi-Processing
+
+Support for multiprocessing queue.
+
+
+
+%prep
+%autosetup -n nehushtan-0.4.29
+
+%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-nehushtan -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.29-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..510ca99
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+097b90939a852f4968b439c170635e9e nehushtan-0.4.29.tar.gz