diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:29:32 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:29:32 +0000 |
| commit | 3f40be2fc541e682118bec2bf57aae0e59c9460f (patch) | |
| tree | 2eb30eab52c7c35ea3b635661f5f232fd34d2481 | |
| parent | 106f8539cb15b25fc8791d491dea33f407e1cbbc (diff) | |
automatic import of python-cfbfastr-py
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-cfbfastr-py.spec | 250 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 252 insertions, 0 deletions
@@ -0,0 +1 @@ +/cfbfastR-py-0.0.28.tar.gz diff --git a/python-cfbfastr-py.spec b/python-cfbfastr-py.spec new file mode 100644 index 0000000..83c990b --- /dev/null +++ b/python-cfbfastr-py.spec @@ -0,0 +1,250 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cfbfastR-py +Version: 0.0.28 +Release: 1 +Summary: Retrieve American football data in Python +License: MIT +URL: https://github.com/saiemgilani/cfbfastR-py +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/20/37/57f590922cfea2d9f8d43fb6b18face0dd7163c476e522af0679290d0b03/cfbfastR-py-0.0.28.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-beautifulsoup4 +Requires: python3-requests +Requires: python3-lxml +Requires: python3-pyarrow +Requires: python3-pygithub +Requires: python3-scipy +Requires: python3-matplotlib +Requires: python3-tqdm +Requires: python3-attrs +Requires: python3-xgboost +Requires: python3-pytest +Requires: python3-mypy +Requires: python3-pytest-cov +Requires: python3-pytest-xdist + +%description +# cfbfastR-py <a href='https://cfbfastR-py.sportsdataverse.org'><img src='https://cfbfastR-py.sportsdataverse.org/img/cfbfastR-py-logo.png' align="right" height="150" /></a> +<!-- badges: start --> + + +[](https://pypi.org/project/cfbfastR-py/) + +[](https://twitter.com/cfbfastR) + +<!-- badges: end --> + + +See [CHANGELOG.md](https://cfbfastR-py.sportsdataverse.org/CHANGELOG) for details. + +The goal of [cfbfastR-py](https://cfbfastR-py.sportsdataverse.org) is to provide the community with a python package for working with American Football data as a companion to the [cfbfastR](https://saiemgilani.github.io/cfbfastR) R package. Beyond data aggregation and tidying ease, one of the multitude of services that [cfbfastR-py](https://cfbfastR-py.sportsdataverse.org) provides is for benchmarking open-source expected points and win probability metrics. + +## Installation + +cfbfastR-py can be installed via pip: + +```bash +pip install cfbfastR-py +``` + +or from the repo (which may at times be more up to date): + +```bash +git clone https://github.com/saiemgilani/cfbfastR-py +cd cfbfastR-py +pip install -e . +``` + +# **Our Authors** + +- [Saiem Gilani](https://twitter.com/saiemgilani) +<a href="https://twitter.com/saiemgilani" target="blank"><img src="https://img.shields.io/twitter/follow/saiemgilani?color=blue&label=%40saiemgilani&logo=twitter&style=for-the-badge" alt="@saiemgilani" /></a> +<a href="https://github.com/saiemgilani" target="blank"><img src="https://img.shields.io/github/followers/saiemgilani?color=eee&logo=Github&style=for-the-badge" alt="@saiemgilani" /></a> + + +## **Citations** + +To cite the [**`cfbfastR-py`**](https://cfbfastR-py.sportsdataverse.org) Python package in publications, use: + +BibTex Citation +```bibtex +@misc{saiemgilani2021cfbfastRpy, + author = {Gilani, Saiem}, + title = {cfbfastR-py: The SportsDataverse's Python Package for American Football Data.}, + url = {https://cfbfastR-py.sportsdataverse.org}, + season = {2021} +} +``` + + + + +%package -n python3-cfbfastR-py +Summary: Retrieve American football data in Python +Provides: python-cfbfastR-py +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cfbfastR-py +# cfbfastR-py <a href='https://cfbfastR-py.sportsdataverse.org'><img src='https://cfbfastR-py.sportsdataverse.org/img/cfbfastR-py-logo.png' align="right" height="150" /></a> +<!-- badges: start --> + + +[](https://pypi.org/project/cfbfastR-py/) + +[](https://twitter.com/cfbfastR) + +<!-- badges: end --> + + +See [CHANGELOG.md](https://cfbfastR-py.sportsdataverse.org/CHANGELOG) for details. + +The goal of [cfbfastR-py](https://cfbfastR-py.sportsdataverse.org) is to provide the community with a python package for working with American Football data as a companion to the [cfbfastR](https://saiemgilani.github.io/cfbfastR) R package. Beyond data aggregation and tidying ease, one of the multitude of services that [cfbfastR-py](https://cfbfastR-py.sportsdataverse.org) provides is for benchmarking open-source expected points and win probability metrics. + +## Installation + +cfbfastR-py can be installed via pip: + +```bash +pip install cfbfastR-py +``` + +or from the repo (which may at times be more up to date): + +```bash +git clone https://github.com/saiemgilani/cfbfastR-py +cd cfbfastR-py +pip install -e . +``` + +# **Our Authors** + +- [Saiem Gilani](https://twitter.com/saiemgilani) +<a href="https://twitter.com/saiemgilani" target="blank"><img src="https://img.shields.io/twitter/follow/saiemgilani?color=blue&label=%40saiemgilani&logo=twitter&style=for-the-badge" alt="@saiemgilani" /></a> +<a href="https://github.com/saiemgilani" target="blank"><img src="https://img.shields.io/github/followers/saiemgilani?color=eee&logo=Github&style=for-the-badge" alt="@saiemgilani" /></a> + + +## **Citations** + +To cite the [**`cfbfastR-py`**](https://cfbfastR-py.sportsdataverse.org) Python package in publications, use: + +BibTex Citation +```bibtex +@misc{saiemgilani2021cfbfastRpy, + author = {Gilani, Saiem}, + title = {cfbfastR-py: The SportsDataverse's Python Package for American Football Data.}, + url = {https://cfbfastR-py.sportsdataverse.org}, + season = {2021} +} +``` + + + + +%package help +Summary: Development documents and examples for cfbfastR-py +Provides: python3-cfbfastR-py-doc +%description help +# cfbfastR-py <a href='https://cfbfastR-py.sportsdataverse.org'><img src='https://cfbfastR-py.sportsdataverse.org/img/cfbfastR-py-logo.png' align="right" height="150" /></a> +<!-- badges: start --> + + +[](https://pypi.org/project/cfbfastR-py/) + +[](https://twitter.com/cfbfastR) + +<!-- badges: end --> + + +See [CHANGELOG.md](https://cfbfastR-py.sportsdataverse.org/CHANGELOG) for details. + +The goal of [cfbfastR-py](https://cfbfastR-py.sportsdataverse.org) is to provide the community with a python package for working with American Football data as a companion to the [cfbfastR](https://saiemgilani.github.io/cfbfastR) R package. Beyond data aggregation and tidying ease, one of the multitude of services that [cfbfastR-py](https://cfbfastR-py.sportsdataverse.org) provides is for benchmarking open-source expected points and win probability metrics. + +## Installation + +cfbfastR-py can be installed via pip: + +```bash +pip install cfbfastR-py +``` + +or from the repo (which may at times be more up to date): + +```bash +git clone https://github.com/saiemgilani/cfbfastR-py +cd cfbfastR-py +pip install -e . +``` + +# **Our Authors** + +- [Saiem Gilani](https://twitter.com/saiemgilani) +<a href="https://twitter.com/saiemgilani" target="blank"><img src="https://img.shields.io/twitter/follow/saiemgilani?color=blue&label=%40saiemgilani&logo=twitter&style=for-the-badge" alt="@saiemgilani" /></a> +<a href="https://github.com/saiemgilani" target="blank"><img src="https://img.shields.io/github/followers/saiemgilani?color=eee&logo=Github&style=for-the-badge" alt="@saiemgilani" /></a> + + +## **Citations** + +To cite the [**`cfbfastR-py`**](https://cfbfastR-py.sportsdataverse.org) Python package in publications, use: + +BibTex Citation +```bibtex +@misc{saiemgilani2021cfbfastRpy, + author = {Gilani, Saiem}, + title = {cfbfastR-py: The SportsDataverse's Python Package for American Football Data.}, + url = {https://cfbfastR-py.sportsdataverse.org}, + season = {2021} +} +``` + + + + +%prep +%autosetup -n cfbfastR-py-0.0.28 + +%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-cfbfastR-py -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.28-1 +- Package Spec generated @@ -0,0 +1 @@ +5da99e6378d94f0191b4c2292cc6327e cfbfastR-py-0.0.28.tar.gz |
