From c0efa178dc02ca9d5fb3fa97e0dc4db6b1759f12 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 17 May 2023 04:27:41 +0000 Subject: automatic import of python-basketball-reference-web-scraper --- .gitignore | 1 + python-basketball-reference-web-scraper.spec | 187 +++++++++++++++++++++++++++ sources | 1 + 3 files changed, 189 insertions(+) create mode 100644 python-basketball-reference-web-scraper.spec create mode 100644 sources 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 +

+ + logo + +

+

+ + pypi + + + python version + + + license + + + code coverage + + + continuous integration + +

+ +[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 +

+ + logo + +

+

+ + pypi + + + python version + + + license + + + code coverage + + + continuous integration + +

+ +[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 +

+ + logo + +

+

+ + pypi + + + python version + + + license + + + code coverage + + + continuous integration + +

+ +[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 - 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 -- cgit v1.2.3