From f151b06130ecebc670abc3d88e26e764c6794b23 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 10:34:42 +0000 Subject: automatic import of python-avaframe --- .gitignore | 1 + python-avaframe.spec | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 164 insertions(+) create mode 100644 python-avaframe.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..bb77bea 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/avaframe-1.5.2.tar.gz diff --git a/python-avaframe.spec b/python-avaframe.spec new file mode 100644 index 0000000..2d92ba3 --- /dev/null +++ b/python-avaframe.spec @@ -0,0 +1,162 @@ +%global _empty_manifest_terminate_build 0 +Name: python-avaframe +Version: 1.5.2 +Release: 1 +Summary: The Open Avalanche Framework +License: EUPL +URL: http://avaframe.org +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d4/c0/06ee4d944f0eb30f0bc48e2d5af78602ff43544c0b5a6ab98bbef022935c/avaframe-1.5.2.tar.gz + +Requires: python3-numpy +Requires: python3-matplotlib +Requires: python3-pyshp +Requires: python3-scipy +Requires: python3-cmcrameri +Requires: python3-seaborn +Requires: python3-cython +Requires: python3-pandas +Requires: python3-shapely +Requires: python3-configUpdater +Requires: python3-tabulate +Requires: python3-deepdiff +Requires: python3-deepmerge + +%description +**The AvaFrame documentation is hosted on ReadTheDocs: http://docs.avaframe.org** + +All details about installation, running etc can be found there. + + +### Tests + +[](http://docs.avaframe.org/en/latest/) +![Test single python version](https://github.com/avaframe/AvaFrame/workflows/Test%20single%20python%20version/badge.svg) +[![codecov](https://codecov.io/gh/avaframe/AvaFrame/branch/master/graph/badge.svg)](https://codecov.io/gh/avaframe/AvaFrame) + +[![Maintainability](https://api.codeclimate.com/v1/badges/37487a0314a6cfee9c9f/maintainability)](https://codeclimate.com/github/avaframe/AvaFrame/maintainability) +[![Test Coverage](https://api.codeclimate.com/v1/badges/37487a0314a6cfee9c9f/test_coverage)](https://codeclimate.com/github/avaframe/AvaFrame/test_coverage) + + +### License +Licensed with [![European Public License EUPL](https://img.shields.io/badge/license-EUPL-green.png)](https://git.avaframe.org/AvaFrame/AvaFrame/src/branch/master/LICENSE.txt) + +### To cite + +[![DOI](https://zenodo.org/badge/281922740.svg)](https://zenodo.org/badge/latestdoi/281922740) + + + + + + +%package -n python3-avaframe +Summary: The Open Avalanche Framework +Provides: python-avaframe +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-avaframe +**The AvaFrame documentation is hosted on ReadTheDocs: http://docs.avaframe.org** + +All details about installation, running etc can be found there. + + +### Tests + +[](http://docs.avaframe.org/en/latest/) +![Test single python version](https://github.com/avaframe/AvaFrame/workflows/Test%20single%20python%20version/badge.svg) +[![codecov](https://codecov.io/gh/avaframe/AvaFrame/branch/master/graph/badge.svg)](https://codecov.io/gh/avaframe/AvaFrame) + +[![Maintainability](https://api.codeclimate.com/v1/badges/37487a0314a6cfee9c9f/maintainability)](https://codeclimate.com/github/avaframe/AvaFrame/maintainability) +[![Test Coverage](https://api.codeclimate.com/v1/badges/37487a0314a6cfee9c9f/test_coverage)](https://codeclimate.com/github/avaframe/AvaFrame/test_coverage) + + +### License +Licensed with [![European Public License EUPL](https://img.shields.io/badge/license-EUPL-green.png)](https://git.avaframe.org/AvaFrame/AvaFrame/src/branch/master/LICENSE.txt) + +### To cite + +[![DOI](https://zenodo.org/badge/281922740.svg)](https://zenodo.org/badge/latestdoi/281922740) + + + + + + +%package help +Summary: Development documents and examples for avaframe +Provides: python3-avaframe-doc +%description help +**The AvaFrame documentation is hosted on ReadTheDocs: http://docs.avaframe.org** + +All details about installation, running etc can be found there. + + +### Tests + +[](http://docs.avaframe.org/en/latest/) +![Test single python version](https://github.com/avaframe/AvaFrame/workflows/Test%20single%20python%20version/badge.svg) +[![codecov](https://codecov.io/gh/avaframe/AvaFrame/branch/master/graph/badge.svg)](https://codecov.io/gh/avaframe/AvaFrame) + +[![Maintainability](https://api.codeclimate.com/v1/badges/37487a0314a6cfee9c9f/maintainability)](https://codeclimate.com/github/avaframe/AvaFrame/maintainability) +[![Test Coverage](https://api.codeclimate.com/v1/badges/37487a0314a6cfee9c9f/test_coverage)](https://codeclimate.com/github/avaframe/AvaFrame/test_coverage) + + +### License +Licensed with [![European Public License EUPL](https://img.shields.io/badge/license-EUPL-green.png)](https://git.avaframe.org/AvaFrame/AvaFrame/src/branch/master/LICENSE.txt) + +### To cite + +[![DOI](https://zenodo.org/badge/281922740.svg)](https://zenodo.org/badge/latestdoi/281922740) + + + + + + +%prep +%autosetup -n avaframe-1.5.2 + +%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-avaframe -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 1.5.2-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..76d59ef --- /dev/null +++ b/sources @@ -0,0 +1 @@ +58ba31d17bc59d05e195f0cabd26a2bc avaframe-1.5.2.tar.gz -- cgit v1.2.3