diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:02:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:02:34 +0000 |
commit | 333bb6873d5d16347e67a576b80076512301d1aa (patch) | |
tree | 4115d685d88110bb6cb1034c2313f08eae49e80a /python-pyepic.spec | |
parent | 9b86ec6d528021d17358aa12a21550bd47ed3a3e (diff) |
automatic import of python-pyepicopeneuler20.03
Diffstat (limited to 'python-pyepic.spec')
-rw-r--r-- | python-pyepic.spec | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/python-pyepic.spec b/python-pyepic.spec new file mode 100644 index 0000000..6a7a880 --- /dev/null +++ b/python-pyepic.spec @@ -0,0 +1,113 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyepic +Version: 1.0.20 +Release: 1 +Summary: "Python SDK for EPIC" +License: BSD 3-Clause License +URL: https://github.com/zenotech/pyepic/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/86/f9/46607b496859522dee65d875fc9a5f061022e0ba9a7bc830577d2493e9ad/pyepic-1.0.20.tar.gz +BuildArch: noarch + +Requires: python3-epiccore +Requires: python3-boto3 + +%description +# pyepic +[](http://pyepic.readthedocs.io/?badge=latest) [](https://pypi.python.org/pypi/pyepic/) + +PyEpic is a simple Python SDK for the EPIC API code. It is designed to allow users to integrate with EPIC for the submission and management of HPC jobs. It can be used directly or an an example of how to make use of the [epiccore](https://github.com/zenotech/python_epic_api) package. + +## Getting started +PyEpic can be installed from PyPi. + +``` +pip install pyepic +``` + +Documentation is available on [read the docs](http://pyepic.readthedocs.io/?badge=latest). + + +%package -n python3-pyepic +Summary: "Python SDK for EPIC" +Provides: python-pyepic +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyepic +# pyepic +[](http://pyepic.readthedocs.io/?badge=latest) [](https://pypi.python.org/pypi/pyepic/) + +PyEpic is a simple Python SDK for the EPIC API code. It is designed to allow users to integrate with EPIC for the submission and management of HPC jobs. It can be used directly or an an example of how to make use of the [epiccore](https://github.com/zenotech/python_epic_api) package. + +## Getting started +PyEpic can be installed from PyPi. + +``` +pip install pyepic +``` + +Documentation is available on [read the docs](http://pyepic.readthedocs.io/?badge=latest). + + +%package help +Summary: Development documents and examples for pyepic +Provides: python3-pyepic-doc +%description help +# pyepic +[](http://pyepic.readthedocs.io/?badge=latest) [](https://pypi.python.org/pypi/pyepic/) + +PyEpic is a simple Python SDK for the EPIC API code. It is designed to allow users to integrate with EPIC for the submission and management of HPC jobs. It can be used directly or an an example of how to make use of the [epiccore](https://github.com/zenotech/python_epic_api) package. + +## Getting started +PyEpic can be installed from PyPi. + +``` +pip install pyepic +``` + +Documentation is available on [read the docs](http://pyepic.readthedocs.io/?badge=latest). + + +%prep +%autosetup -n pyepic-1.0.20 + +%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-pyepic -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.20-1 +- Package Spec generated |