From 56f991842a7583a015b418c9d1f3f8df229f5e6d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 8 Mar 2023 04:00:15 +0000 Subject: automatic import of python-ase --- .gitignore | 1 + python-ase.spec | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 89 insertions(+) create mode 100644 python-ase.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..9999d94 100644 --- a/.gitignore +++ b/.gitignore @@ -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 - 3.22.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..be68e19 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +8173c8b598faf995ff11cbceafacedc1 ase-3.22.1.tar.gz -- cgit v1.2.3