From f2ce0e919b153d5d3cfcdbd7c6a5b5d7337591b1 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 06:01:26 +0000 Subject: automatic import of python-anilistpy --- .gitignore | 1 + python-anilistpy.spec | 219 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 221 insertions(+) create mode 100644 python-anilistpy.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c738bac 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/anilistpy-0.1.0.tar.gz diff --git a/python-anilistpy.spec b/python-anilistpy.spec new file mode 100644 index 0000000..04342e1 --- /dev/null +++ b/python-anilistpy.spec @@ -0,0 +1,219 @@ +%global _empty_manifest_terminate_build 0 +Name: python-anilistpy +Version: 0.1.0 +Release: 1 +Summary: python API wrapper for anilist.co +License: GNU Affero General Public License v3 +URL: https://github.com/anilistpy/anilistpy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c2/2e/05f6f0b77f8200e8d1ba2d6e996181d1bd4fbc846ce7ec63364dd20eeccd/anilistpy-0.1.0.tar.gz +BuildArch: noarch + + +%description +# Anilistpy ![anilistpy](https://avatars3.githubusercontent.com/u/75199724?s=30&v=4) + +[![Build Status](https://travis-ci.com/anilistpy/anilistpy.svg?branch=master)](https://travis-ci.com/anilistpy/anilistpy) +[![CodeFactor](https://www.codefactor.io/repository/github/anilistpy/anilistpy/badge)](https://www.codefactor.io/repository/github/anilistpy/anilistpy) +![PyPI - Downloads](https://img.shields.io/pypi/dm/anilistpy) +[![pypi verison](https://img.shields.io/pypi/v/anilistpy.svg)](https://pypi.org/project/anilistpy/) +[![GitHub license](https://img.shields.io/github/license/anilistpy/anilistpy)](https://github.com/anilistpy/anilistpy/blob/master/license) + +An easy to use python3 wrapper for anilist.co APIv2 (UNOFFICIAL) + +# Installing + +## Installing from pypi + +``` +pip install anilistpy +``` + +## Installing from git +``` +pip install git+https://github.com/anilistpy/anilistpy +``` + +## Installing from git (Unstable / Development branch) +``` +pip install git+https://github.com/anilistpy/anilistpy@dev +``` + +# Getting started + +# Importing + +```py +import anilistpy +``` + +or manually import the method/class you need +```py +from anilistpy import Anime +``` + +More Documenation and Examples [here](https://anilistpy.github.io/) +(note: the Documenation is still being updated, if you need help make a issue) + +# Change log 0.0.4 -> 0.0.5 + +- added wrappers for mutation api +- more minor stuffs + +![agpl3](https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/AGPLv3_Logo.svg/200px-AGPLv3_Logo.svg.png) + +%package -n python3-anilistpy +Summary: python API wrapper for anilist.co +Provides: python-anilistpy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-anilistpy +# Anilistpy ![anilistpy](https://avatars3.githubusercontent.com/u/75199724?s=30&v=4) + +[![Build Status](https://travis-ci.com/anilistpy/anilistpy.svg?branch=master)](https://travis-ci.com/anilistpy/anilistpy) +[![CodeFactor](https://www.codefactor.io/repository/github/anilistpy/anilistpy/badge)](https://www.codefactor.io/repository/github/anilistpy/anilistpy) +![PyPI - Downloads](https://img.shields.io/pypi/dm/anilistpy) +[![pypi verison](https://img.shields.io/pypi/v/anilistpy.svg)](https://pypi.org/project/anilistpy/) +[![GitHub license](https://img.shields.io/github/license/anilistpy/anilistpy)](https://github.com/anilistpy/anilistpy/blob/master/license) + +An easy to use python3 wrapper for anilist.co APIv2 (UNOFFICIAL) + +# Installing + +## Installing from pypi + +``` +pip install anilistpy +``` + +## Installing from git +``` +pip install git+https://github.com/anilistpy/anilistpy +``` + +## Installing from git (Unstable / Development branch) +``` +pip install git+https://github.com/anilistpy/anilistpy@dev +``` + +# Getting started + +# Importing + +```py +import anilistpy +``` + +or manually import the method/class you need +```py +from anilistpy import Anime +``` + +More Documenation and Examples [here](https://anilistpy.github.io/) +(note: the Documenation is still being updated, if you need help make a issue) + +# Change log 0.0.4 -> 0.0.5 + +- added wrappers for mutation api +- more minor stuffs + +![agpl3](https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/AGPLv3_Logo.svg/200px-AGPLv3_Logo.svg.png) + +%package help +Summary: Development documents and examples for anilistpy +Provides: python3-anilistpy-doc +%description help +# Anilistpy ![anilistpy](https://avatars3.githubusercontent.com/u/75199724?s=30&v=4) + +[![Build Status](https://travis-ci.com/anilistpy/anilistpy.svg?branch=master)](https://travis-ci.com/anilistpy/anilistpy) +[![CodeFactor](https://www.codefactor.io/repository/github/anilistpy/anilistpy/badge)](https://www.codefactor.io/repository/github/anilistpy/anilistpy) +![PyPI - Downloads](https://img.shields.io/pypi/dm/anilistpy) +[![pypi verison](https://img.shields.io/pypi/v/anilistpy.svg)](https://pypi.org/project/anilistpy/) +[![GitHub license](https://img.shields.io/github/license/anilistpy/anilistpy)](https://github.com/anilistpy/anilistpy/blob/master/license) + +An easy to use python3 wrapper for anilist.co APIv2 (UNOFFICIAL) + +# Installing + +## Installing from pypi + +``` +pip install anilistpy +``` + +## Installing from git +``` +pip install git+https://github.com/anilistpy/anilistpy +``` + +## Installing from git (Unstable / Development branch) +``` +pip install git+https://github.com/anilistpy/anilistpy@dev +``` + +# Getting started + +# Importing + +```py +import anilistpy +``` + +or manually import the method/class you need +```py +from anilistpy import Anime +``` + +More Documenation and Examples [here](https://anilistpy.github.io/) +(note: the Documenation is still being updated, if you need help make a issue) + +# Change log 0.0.4 -> 0.0.5 + +- added wrappers for mutation api +- more minor stuffs + +![agpl3](https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/AGPLv3_Logo.svg/200px-AGPLv3_Logo.svg.png) + +%prep +%autosetup -n anilistpy-0.1.0 + +%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-anilistpy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot - 0.1.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..7803ff3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +fc4f53ca5d8b4d47b8f20b9cd989656c anilistpy-0.1.0.tar.gz -- cgit v1.2.3