diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 13:39:26 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 13:39:26 +0000 |
commit | 195bdaaaf0bbcd6c17328bd32fa8441f4c5b4b1c (patch) | |
tree | b084faca42f6f857bd9cd69f8df7ecfa7d92dc97 | |
parent | 9c4110cba9d490d62fe1cf883e87cf5db7a5bb2b (diff) |
automatic import of python-aeroevap
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aeroevap.spec | 78 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/AeroEvap-0.0.2.post3.tar.gz diff --git a/python-aeroevap.spec b/python-aeroevap.spec new file mode 100644 index 0000000..dbce35d --- /dev/null +++ b/python-aeroevap.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-AeroEvap +Version: 0.0.2.post3 +Release: 1 +Summary: Aerodynamic mass-transfer approach for open-water evaporation +License: BSD3 +URL: https://github.com/WSWUP/AeroEvap +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/86/72/7d21a85d16209d2ab3c1666b68f09957d80cf96e5087aa1b2d920c354cad/AeroEvap-0.0.2.post3.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-matplotlib + +%description +|Documentation Status| |Downloads per month| |PyPI version| +Python version of aerodynamic mass-transfer approach for open-water evaporation + +%package -n python3-AeroEvap +Summary: Aerodynamic mass-transfer approach for open-water evaporation +Provides: python-AeroEvap +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-AeroEvap +|Documentation Status| |Downloads per month| |PyPI version| +Python version of aerodynamic mass-transfer approach for open-water evaporation + +%package help +Summary: Development documents and examples for AeroEvap +Provides: python3-AeroEvap-doc +%description help +|Documentation Status| |Downloads per month| |PyPI version| +Python version of aerodynamic mass-transfer approach for open-water evaporation + +%prep +%autosetup -n AeroEvap-0.0.2.post3 + +%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-AeroEvap -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.2.post3-1 +- Package Spec generated @@ -0,0 +1 @@ +2e69a25e2279176a9dd4106d488e8518 AeroEvap-0.0.2.post3.tar.gz |