diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:01:37 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:01:37 +0000 |
| commit | af63a0c176043126741f56fe541a8bb0bc0fae2f (patch) | |
| tree | 9e9567ec981a2673e5df1c24b5433751f87de429 /python-pyiron-base.spec | |
| parent | 82a51b57bbb85be9a71acc974491dd828f6cda50 (diff) | |
automatic import of python-pyiron-baseopeneuler20.03
Diffstat (limited to 'python-pyiron-base.spec')
| -rw-r--r-- | python-pyiron-base.spec | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/python-pyiron-base.spec b/python-pyiron-base.spec new file mode 100644 index 0000000..435e8c4 --- /dev/null +++ b/python-pyiron-base.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyiron-base +Version: 0.5.37 +Release: 1 +Summary: pyiron_base - an integrated development environment (IDE) for computational science. +License: BSD +URL: https://github.com/pyiron/pyiron_base +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ae/16/e185df177b35bda6b0d0684355ed07f47aecb14f2f218a12bc8e13866a16/pyiron_base-0.5.37.tar.gz +BuildArch: noarch + +Requires: python3-dill +Requires: python3-future +Requires: python3-gitpython +Requires: python3-h5io +Requires: python3-h5py +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-pathlib2 +Requires: python3-pint +Requires: python3-psutil +Requires: python3-pyfileindex +Requires: python3-pysqa +Requires: python3-sqlalchemy +Requires: python3-tables +Requires: python3-tqdm +Requires: python3-traitlets + +%description +http://pyiron.org + + +%package -n python3-pyiron-base +Summary: pyiron_base - an integrated development environment (IDE) for computational science. +Provides: python-pyiron-base +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyiron-base +http://pyiron.org + + +%package help +Summary: Development documents and examples for pyiron-base +Provides: python3-pyiron-base-doc +%description help +http://pyiron.org + + +%prep +%autosetup -n pyiron-base-0.5.37 + +%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-pyiron-base -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.37-1 +- Package Spec generated |
