summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 09:48:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 09:48:58 +0000
commit26a0471cc228fd872d55ba9698db2b4b4f3aa82a (patch)
treed846a0e4e426a9eea76073645974cd05ec2cf6a4
parent1358c7a0d15f901d51fb26dcdcac4394431e19aa (diff)
automatic import of python-anipickopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-anipick.spec170
-rw-r--r--sources1
3 files changed, 172 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e56951a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Anipick-1.7.0.tar.gz
diff --git a/python-anipick.spec b/python-anipick.spec
new file mode 100644
index 0000000..f17704c
--- /dev/null
+++ b/python-anipick.spec
@@ -0,0 +1,170 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Anipick
+Version: 1.7.0
+Release: 1
+Summary: Anime module for search Anime, Manga, Quote info
+License: MIT
+URL: https://github.com/pengode-handal/anipick
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/47/5b/a3f14ddf9e4946333c31db027903d527d441fbf1c56f0217e45941211a79/Anipick-1.7.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-bs4
+Requires: python3-googlesearch-python
+Requires: python3-tabulate
+Requires: python3-rich
+
+%description
+anipick.Animegraphy
+#### title
+#### anime_url
+#### images_url
+#### type
+#### adaptation_type
+#### aired
+#### rated
+#### rank
+#### adaptation
+#### adaptation_name
+#### background
+#### broadcast
+#### duration
+#### op_song
+#### ed_song
+#### eps
+#### favorite
+#### genre() -> list
+#### mal_id
+#### nsfw_scan() -> bool
+#### premiered
+#### popularity
+#### producers
+#### recommend() -> list
+#### score
+#### sequel
+#### sequel_url
+#### source
+#### status
+#### studio() -> list
+#### synopsis
+
+%package -n python3-Anipick
+Summary: Anime module for search Anime, Manga, Quote info
+Provides: python-Anipick
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Anipick
+anipick.Animegraphy
+#### title
+#### anime_url
+#### images_url
+#### type
+#### adaptation_type
+#### aired
+#### rated
+#### rank
+#### adaptation
+#### adaptation_name
+#### background
+#### broadcast
+#### duration
+#### op_song
+#### ed_song
+#### eps
+#### favorite
+#### genre() -> list
+#### mal_id
+#### nsfw_scan() -> bool
+#### premiered
+#### popularity
+#### producers
+#### recommend() -> list
+#### score
+#### sequel
+#### sequel_url
+#### source
+#### status
+#### studio() -> list
+#### synopsis
+
+%package help
+Summary: Development documents and examples for Anipick
+Provides: python3-Anipick-doc
+%description help
+anipick.Animegraphy
+#### title
+#### anime_url
+#### images_url
+#### type
+#### adaptation_type
+#### aired
+#### rated
+#### rank
+#### adaptation
+#### adaptation_name
+#### background
+#### broadcast
+#### duration
+#### op_song
+#### ed_song
+#### eps
+#### favorite
+#### genre() -> list
+#### mal_id
+#### nsfw_scan() -> bool
+#### premiered
+#### popularity
+#### producers
+#### recommend() -> list
+#### score
+#### sequel
+#### sequel_url
+#### source
+#### status
+#### studio() -> list
+#### synopsis
+
+%prep
+%autosetup -n Anipick-1.7.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-Anipick -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.7.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ff3673c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e6e441c1ef273c6d24cf60ef923a9424 Anipick-1.7.0.tar.gz