diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 18:49:19 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 18:49:19 +0000 |
commit | 9468614469e74986b4cfae8c373aeb34208b8855 (patch) | |
tree | 8942ea317734c6656da198cfdf243a4788860769 | |
parent | 578cd28167df0f6d2d6b19e3222e274517804f2a (diff) |
automatic import of python-covidcast
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-covidcast.spec | 125 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 127 insertions, 0 deletions
@@ -0,0 +1 @@ +/covidcast-0.1.5.tar.gz diff --git a/python-covidcast.spec b/python-covidcast.spec new file mode 100644 index 0000000..71f65b0 --- /dev/null +++ b/python-covidcast.spec @@ -0,0 +1,125 @@ +%global _empty_manifest_terminate_build 0 +Name: python-covidcast +Version: 0.1.5 +Release: 1 +Summary: Access COVID-19 data through the Delphi COVIDcast API +License: MIT License +URL: https://cmu-delphi.github.io/covidcast/covidcast-py/html/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/76/ce/5d200fe1774c39b1ad42203b44a06a4103ec74291b40ab1729190f9863fd/covidcast-0.1.5.tar.gz +BuildArch: noarch + +Requires: python3-pandas +Requires: python3-requests +Requires: python3-delphi-epidata +Requires: python3-geopandas +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-descartes +Requires: python3-imageio-ffmpeg +Requires: python3-imageio +Requires: python3-tqdm +Requires: python3-epiweeks + +%description +# COVIDcast API client + +Provides Python access to the [COVIDcast +API](https://cmu-delphi.github.io/delphi-epidata/api/covidcast.html) published +by the [Delphi group](https://delphi.cmu.edu/) at [Carnegie Mellon +University](https://www.cmu.edu). This API provides daily access to a range of +COVID-related signals Delphi collects from a variety of sources, including +cases, deaths, symptom surveys, healthcare data, and other information. This +package also provides convenient tools for mapping and analyzing the API's data. + +For installation instructions, documentation, and examples, consult the [package +documentation](https://cmu-delphi.github.io/covidcast/covidcast-py/html/). + + + + +%package -n python3-covidcast +Summary: Access COVID-19 data through the Delphi COVIDcast API +Provides: python-covidcast +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-covidcast +# COVIDcast API client + +Provides Python access to the [COVIDcast +API](https://cmu-delphi.github.io/delphi-epidata/api/covidcast.html) published +by the [Delphi group](https://delphi.cmu.edu/) at [Carnegie Mellon +University](https://www.cmu.edu). This API provides daily access to a range of +COVID-related signals Delphi collects from a variety of sources, including +cases, deaths, symptom surveys, healthcare data, and other information. This +package also provides convenient tools for mapping and analyzing the API's data. + +For installation instructions, documentation, and examples, consult the [package +documentation](https://cmu-delphi.github.io/covidcast/covidcast-py/html/). + + + + +%package help +Summary: Development documents and examples for covidcast +Provides: python3-covidcast-doc +%description help +# COVIDcast API client + +Provides Python access to the [COVIDcast +API](https://cmu-delphi.github.io/delphi-epidata/api/covidcast.html) published +by the [Delphi group](https://delphi.cmu.edu/) at [Carnegie Mellon +University](https://www.cmu.edu). This API provides daily access to a range of +COVID-related signals Delphi collects from a variety of sources, including +cases, deaths, symptom surveys, healthcare data, and other information. This +package also provides convenient tools for mapping and analyzing the API's data. + +For installation instructions, documentation, and examples, consult the [package +documentation](https://cmu-delphi.github.io/covidcast/covidcast-py/html/). + + + + +%prep +%autosetup -n covidcast-0.1.5 + +%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-covidcast -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.5-1 +- Package Spec generated @@ -0,0 +1 @@ +7dc2b5ace3dcf0ff3b4e27f711699164 covidcast-0.1.5.tar.gz |