diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-08 04:00:15 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-08 04:00:15 +0000 |
commit | 56f991842a7583a015b418c9d1f3f8df229f5e6d (patch) | |
tree | 4823815af9222de047a56fdc0d8f5527782cd40c | |
parent | 7e4cae0689da9f189f8db7918310298199ab2a28 (diff) |
automatic import of python-ase
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-ase.spec | 87 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 89 insertions, 0 deletions
@@ -0,0 +1 @@ +/ase-3.22.1.tar.gz diff --git a/python-ase.spec b/python-ase.spec new file mode 100644 index 0000000..19a9b7f --- /dev/null +++ b/python-ase.spec @@ -0,0 +1,87 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ase +Version: 3.22.1 +Release: 1 +Summary: Atomic Simulation Environment +License: LGPLv2.1+ +URL: https://wiki.fysik.dtu.dk/ase +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/69/64/096410b2e0b58aee082b40a37cdd61e708ed722a7471d7cf0e2dcb01cade/ase-3.22.1.tar.gz +BuildArch: noarch + +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-pillow +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-pytest-mock +Requires: python3-pytest-xdist +Requires: python3-pytest + +%description +ASE is a set of tools and Python modules for setting up, manipulating, +running, visualizing and analyzing atomistic simulations. +Webpage: http://wiki.fysik.dtu.dk/ase + +%package -n python3-ase +Summary: Atomic Simulation Environment +Provides: python-ase +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ase +ASE is a set of tools and Python modules for setting up, manipulating, +running, visualizing and analyzing atomistic simulations. +Webpage: http://wiki.fysik.dtu.dk/ase + +%package help +Summary: Development documents and examples for ase +Provides: python3-ase-doc +%description help +ASE is a set of tools and Python modules for setting up, manipulating, +running, visualizing and analyzing atomistic simulations. +Webpage: http://wiki.fysik.dtu.dk/ase + +%prep +%autosetup -n ase-3.22.1 + +%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-ase -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Mar 08 2023 Python_Bot <Python_Bot@openeuler.org> - 3.22.1-1 +- Package Spec generated @@ -0,0 +1 @@ +8173c8b598faf995ff11cbceafacedc1 ase-3.22.1.tar.gz |