diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-09 14:02:19 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-09 14:02:19 +0000 |
commit | b828ecd5ceedfa017889e62b5360222312c501ab (patch) | |
tree | 3cfc7e9345e3f75cdd3a27e9409004267f43f87b | |
parent | d98f3faba7b2ef4bd58d9b0bade16e09f4646701 (diff) |
automatic import of python-moose
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-moose.spec | 153 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 155 insertions, 0 deletions
@@ -0,0 +1 @@ +/Moose-0.9.8.tar.gz diff --git a/python-moose.spec b/python-moose.spec new file mode 100644 index 0000000..96df6be --- /dev/null +++ b/python-moose.spec @@ -0,0 +1,153 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Moose +Version: 0.9.8 +Release: 1 +Summary: Your manager for endless iterative tasks. +License: BSD +URL: https://github.com/muma378/moose +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/06/07/05e38675317bf9fb37057222d36b60b90fc5afe029474d8d96ba0a23db4d/Moose-0.9.8.tar.gz +BuildArch: noarch + + +%description +# Moose +Moose是一个数据处理的自动化框架,旨在提供一套快速、灵活、便捷、幂等式的数据处理方案。它不仅提供了常用的数据处理类和函数,也提供了一套命令行式的接口以处理和维护版本内单一、重复、繁琐的任务。 +- - - - +## Requirements + * Python 2.7 or Python 3.3+ + * Works on Linux, Windows, Mac OSX, BSD + + +## Install +The quick way: + + pip install moose + +For more details see the install section in the documentation: +https://moose-datatang.readthedocs.io/zh_CN/latest/intro/install.html + + +## Documentation +Documentation is available online at https://moose-datatang.readthedocs.io/zh_CN/latest/ and in the `docs` +directory. + + +## Releases +You can find release notes at https://moose-datatang.readthedocs.io/zh_CN/latest/news.html + +## Contributing +See https://moose-datatang.readthedocs.io/zh_CN/latest/contributing.html + + +%package -n python3-Moose +Summary: Your manager for endless iterative tasks. +Provides: python-Moose +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Moose +# Moose +Moose是一个数据处理的自动化框架,旨在提供一套快速、灵活、便捷、幂等式的数据处理方案。它不仅提供了常用的数据处理类和函数,也提供了一套命令行式的接口以处理和维护版本内单一、重复、繁琐的任务。 +- - - - +## Requirements + * Python 2.7 or Python 3.3+ + * Works on Linux, Windows, Mac OSX, BSD + + +## Install +The quick way: + + pip install moose + +For more details see the install section in the documentation: +https://moose-datatang.readthedocs.io/zh_CN/latest/intro/install.html + + +## Documentation +Documentation is available online at https://moose-datatang.readthedocs.io/zh_CN/latest/ and in the `docs` +directory. + + +## Releases +You can find release notes at https://moose-datatang.readthedocs.io/zh_CN/latest/news.html + +## Contributing +See https://moose-datatang.readthedocs.io/zh_CN/latest/contributing.html + + +%package help +Summary: Development documents and examples for Moose +Provides: python3-Moose-doc +%description help +# Moose +Moose是一个数据处理的自动化框架,旨在提供一套快速、灵活、便捷、幂等式的数据处理方案。它不仅提供了常用的数据处理类和函数,也提供了一套命令行式的接口以处理和维护版本内单一、重复、繁琐的任务。 +- - - - +## Requirements + * Python 2.7 or Python 3.3+ + * Works on Linux, Windows, Mac OSX, BSD + + +## Install +The quick way: + + pip install moose + +For more details see the install section in the documentation: +https://moose-datatang.readthedocs.io/zh_CN/latest/intro/install.html + + +## Documentation +Documentation is available online at https://moose-datatang.readthedocs.io/zh_CN/latest/ and in the `docs` +directory. + + +## Releases +You can find release notes at https://moose-datatang.readthedocs.io/zh_CN/latest/news.html + +## Contributing +See https://moose-datatang.readthedocs.io/zh_CN/latest/contributing.html + + +%prep +%autosetup -n Moose-0.9.8 + +%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-Moose -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.8-1 +- Package Spec generated @@ -0,0 +1 @@ +fd0d339ab9a5a379b46e7a61f124f37c Moose-0.9.8.tar.gz |