summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-basketball-reference-web-scraper.spec187
-rw-r--r--sources1
3 files changed, 189 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7dc2fc6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/basketball_reference_web_scraper-4.12.1.tar.gz
diff --git a/python-basketball-reference-web-scraper.spec b/python-basketball-reference-web-scraper.spec
new file mode 100644
index 0000000..39a803c
--- /dev/null
+++ b/python-basketball-reference-web-scraper.spec
@@ -0,0 +1,187 @@
+%global _empty_manifest_terminate_build 0
+Name: python-basketball-reference-web-scraper
+Version: 4.12.1
+Release: 1
+Summary: A Basketball Reference client that generates data by scraping the website
+License: MIT
+URL: https://jaebradley.github.io/basketball_reference_web_scraper
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/05/85/4553dbec12525282690f05e4f1f96977f691a43fbae69136e7efc3b8d604/basketball_reference_web_scraper-4.12.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-certifi
+Requires: python3-chardet
+Requires: python3-idna
+Requires: python3-lxml
+Requires: python3-pytz
+Requires: python3-requests
+Requires: python3-urllib3
+
+%description
+<p align="center">
+ <a href="#" target="_blank" rel="noopener noreferrer">
+ <img width="550" src="https://imgur.com/dJL05Ud.png" alt="logo">
+ </a>
+</p>
+<p align="center">
+ <a href="https://pypi.org/project/basketball-reference-scraper/">
+ <img src="https://img.shields.io/pypi/v/basketball_reference_web_scraper" alt="pypi" />
+ </a>
+ <a href="https://pypi.org/project/basketball-reference-scraper/">
+ <img src="https://img.shields.io/pypi/pyversions/basketball_reference_web_scraper" alt="python version" />
+ </a>
+ <a href="https://pypi.org/project/basketball-reference-scraper/">
+ <img src="https://img.shields.io/pypi/l/basketball_reference_web_scraper" alt="license" />
+ </a>
+ <a href="https://codecov.io/gh/jaebradley/basketball_reference_web_scraper">
+ <img src="https://codecov.io/gh/jaebradley/basketball_reference_web_scraper/branch/v4/graph/badge.svg" alt="code coverage" />
+ </a>
+ <a href="https://github.com/jaebradley/basketball_reference_web_scraper/workflows/Basketball%20Reference%20Web%20Scraper/badge.svg">
+ <img src="https://github.com/jaebradley/basketball_reference_web_scraper/workflows/Basketball%20Reference%20Web%20Scraper/badge.svg" alt="continuous integration" />
+ </a>
+</p>
+
+[Basketball Reference](http://www.basketball-reference.com) is a great site (especially for a basketball stats nut like me), and hopefully they don't get too pissed off at me for creating this.
+
+I initially wrote this library as an exercise for creating my first `PyPi` package - hope you find it valuable!
+
+## Documentation
+
+For documentation about installing the package and API methods see [the documentation page](https://jaebradley.github.io/basketball_reference_web_scraper/).
+
+## Contributors
+
+Thanks to [@DaiJunyan](https://github.com/DaiJunyan), [@ecallahan5](https://github.com/ecallahan5),
+[@Yotamho](https://github.com/Yotamho), [@ntsirakis](https://github.com/ntsirakis), and [@allanbelliti](https://github.com/allanbelliti) for their contributions!
+
+
+
+%package -n python3-basketball-reference-web-scraper
+Summary: A Basketball Reference client that generates data by scraping the website
+Provides: python-basketball-reference-web-scraper
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-basketball-reference-web-scraper
+<p align="center">
+ <a href="#" target="_blank" rel="noopener noreferrer">
+ <img width="550" src="https://imgur.com/dJL05Ud.png" alt="logo">
+ </a>
+</p>
+<p align="center">
+ <a href="https://pypi.org/project/basketball-reference-scraper/">
+ <img src="https://img.shields.io/pypi/v/basketball_reference_web_scraper" alt="pypi" />
+ </a>
+ <a href="https://pypi.org/project/basketball-reference-scraper/">
+ <img src="https://img.shields.io/pypi/pyversions/basketball_reference_web_scraper" alt="python version" />
+ </a>
+ <a href="https://pypi.org/project/basketball-reference-scraper/">
+ <img src="https://img.shields.io/pypi/l/basketball_reference_web_scraper" alt="license" />
+ </a>
+ <a href="https://codecov.io/gh/jaebradley/basketball_reference_web_scraper">
+ <img src="https://codecov.io/gh/jaebradley/basketball_reference_web_scraper/branch/v4/graph/badge.svg" alt="code coverage" />
+ </a>
+ <a href="https://github.com/jaebradley/basketball_reference_web_scraper/workflows/Basketball%20Reference%20Web%20Scraper/badge.svg">
+ <img src="https://github.com/jaebradley/basketball_reference_web_scraper/workflows/Basketball%20Reference%20Web%20Scraper/badge.svg" alt="continuous integration" />
+ </a>
+</p>
+
+[Basketball Reference](http://www.basketball-reference.com) is a great site (especially for a basketball stats nut like me), and hopefully they don't get too pissed off at me for creating this.
+
+I initially wrote this library as an exercise for creating my first `PyPi` package - hope you find it valuable!
+
+## Documentation
+
+For documentation about installing the package and API methods see [the documentation page](https://jaebradley.github.io/basketball_reference_web_scraper/).
+
+## Contributors
+
+Thanks to [@DaiJunyan](https://github.com/DaiJunyan), [@ecallahan5](https://github.com/ecallahan5),
+[@Yotamho](https://github.com/Yotamho), [@ntsirakis](https://github.com/ntsirakis), and [@allanbelliti](https://github.com/allanbelliti) for their contributions!
+
+
+
+%package help
+Summary: Development documents and examples for basketball-reference-web-scraper
+Provides: python3-basketball-reference-web-scraper-doc
+%description help
+<p align="center">
+ <a href="#" target="_blank" rel="noopener noreferrer">
+ <img width="550" src="https://imgur.com/dJL05Ud.png" alt="logo">
+ </a>
+</p>
+<p align="center">
+ <a href="https://pypi.org/project/basketball-reference-scraper/">
+ <img src="https://img.shields.io/pypi/v/basketball_reference_web_scraper" alt="pypi" />
+ </a>
+ <a href="https://pypi.org/project/basketball-reference-scraper/">
+ <img src="https://img.shields.io/pypi/pyversions/basketball_reference_web_scraper" alt="python version" />
+ </a>
+ <a href="https://pypi.org/project/basketball-reference-scraper/">
+ <img src="https://img.shields.io/pypi/l/basketball_reference_web_scraper" alt="license" />
+ </a>
+ <a href="https://codecov.io/gh/jaebradley/basketball_reference_web_scraper">
+ <img src="https://codecov.io/gh/jaebradley/basketball_reference_web_scraper/branch/v4/graph/badge.svg" alt="code coverage" />
+ </a>
+ <a href="https://github.com/jaebradley/basketball_reference_web_scraper/workflows/Basketball%20Reference%20Web%20Scraper/badge.svg">
+ <img src="https://github.com/jaebradley/basketball_reference_web_scraper/workflows/Basketball%20Reference%20Web%20Scraper/badge.svg" alt="continuous integration" />
+ </a>
+</p>
+
+[Basketball Reference](http://www.basketball-reference.com) is a great site (especially for a basketball stats nut like me), and hopefully they don't get too pissed off at me for creating this.
+
+I initially wrote this library as an exercise for creating my first `PyPi` package - hope you find it valuable!
+
+## Documentation
+
+For documentation about installing the package and API methods see [the documentation page](https://jaebradley.github.io/basketball_reference_web_scraper/).
+
+## Contributors
+
+Thanks to [@DaiJunyan](https://github.com/DaiJunyan), [@ecallahan5](https://github.com/ecallahan5),
+[@Yotamho](https://github.com/Yotamho), [@ntsirakis](https://github.com/ntsirakis), and [@allanbelliti](https://github.com/allanbelliti) for their contributions!
+
+
+
+%prep
+%autosetup -n basketball-reference-web-scraper-4.12.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-basketball-reference-web-scraper -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 4.12.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..98fd768
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bdc341db133994ea30631621950cbcb3 basketball_reference_web_scraper-4.12.1.tar.gz