diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-nehushtan.spec | 214 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 216 insertions, 0 deletions
@@ -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 + + + + + + + + +<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 + + + + + + + + +<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 + + + + + + + + +<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 @@ -0,0 +1 @@ +097b90939a852f4968b439c170635e9e nehushtan-0.4.29.tar.gz |
