From e662f3aba3e0a8e4daecf192d20aa200fa0a11a5 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 05:51:10 +0000 Subject: automatic import of python-pyspider --- .gitignore | 1 + python-pyspider.spec | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 101 insertions(+) create mode 100644 python-pyspider.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..389bf0c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pyspider-0.3.10.tar.gz diff --git a/python-pyspider.spec b/python-pyspider.spec new file mode 100644 index 0000000..f791e83 --- /dev/null +++ b/python-pyspider.spec @@ -0,0 +1,99 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyspider +Version: 0.3.10 +Release: 1 +Summary: A Powerful Spider System in Python +License: Apache License, Version 2.0 +URL: https://github.com/binux/pyspider +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d0/97/d6062c928f53d899ff2a8538fed11d4d425ba3d27c96248a2c601c1c9fef/pyspider-0.3.10.tar.gz +BuildArch: noarch + + +%description +A Powerful Spider(Web Crawler) System in Python. **[TRY IT NOW!][Demo]** +- Write script in Python +- Powerful WebUI with script editor, task monitor, project manager and result viewer +- [MySQL](https://www.mysql.com/), [MongoDB](https://www.mongodb.org/), [Redis](http://redis.io/), [SQLite](https://www.sqlite.org/), [Elasticsearch](https://www.elastic.co/products/elasticsearch); [PostgreSQL](http://www.postgresql.org/) with [SQLAlchemy](http://www.sqlalchemy.org/) as database backend +- [RabbitMQ](http://www.rabbitmq.com/), [Beanstalk](http://kr.github.com/beanstalkd/), [Redis](http://redis.io/) and [Kombu](http://kombu.readthedocs.org/) as message queue +- Task priority, retry, periodical, recrawl by age, etc... +- Distributed architecture, Crawl Javascript pages, Python 2.{6,7}, 3.{3,4,5,6} support, etc... +Tutorial: [http://docs.pyspider.org/en/latest/tutorial/](http://docs.pyspider.org/en/latest/tutorial/) +Documentation: [http://docs.pyspider.org/](http://docs.pyspider.org/) +Release notes: [https://github.com/binux/pyspider/releases](https://github.com/binux/pyspider/releases) + +%package -n python3-pyspider +Summary: A Powerful Spider System in Python +Provides: python-pyspider +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyspider +A Powerful Spider(Web Crawler) System in Python. **[TRY IT NOW!][Demo]** +- Write script in Python +- Powerful WebUI with script editor, task monitor, project manager and result viewer +- [MySQL](https://www.mysql.com/), [MongoDB](https://www.mongodb.org/), [Redis](http://redis.io/), [SQLite](https://www.sqlite.org/), [Elasticsearch](https://www.elastic.co/products/elasticsearch); [PostgreSQL](http://www.postgresql.org/) with [SQLAlchemy](http://www.sqlalchemy.org/) as database backend +- [RabbitMQ](http://www.rabbitmq.com/), [Beanstalk](http://kr.github.com/beanstalkd/), [Redis](http://redis.io/) and [Kombu](http://kombu.readthedocs.org/) as message queue +- Task priority, retry, periodical, recrawl by age, etc... +- Distributed architecture, Crawl Javascript pages, Python 2.{6,7}, 3.{3,4,5,6} support, etc... +Tutorial: [http://docs.pyspider.org/en/latest/tutorial/](http://docs.pyspider.org/en/latest/tutorial/) +Documentation: [http://docs.pyspider.org/](http://docs.pyspider.org/) +Release notes: [https://github.com/binux/pyspider/releases](https://github.com/binux/pyspider/releases) + +%package help +Summary: Development documents and examples for pyspider +Provides: python3-pyspider-doc +%description help +A Powerful Spider(Web Crawler) System in Python. **[TRY IT NOW!][Demo]** +- Write script in Python +- Powerful WebUI with script editor, task monitor, project manager and result viewer +- [MySQL](https://www.mysql.com/), [MongoDB](https://www.mongodb.org/), [Redis](http://redis.io/), [SQLite](https://www.sqlite.org/), [Elasticsearch](https://www.elastic.co/products/elasticsearch); [PostgreSQL](http://www.postgresql.org/) with [SQLAlchemy](http://www.sqlalchemy.org/) as database backend +- [RabbitMQ](http://www.rabbitmq.com/), [Beanstalk](http://kr.github.com/beanstalkd/), [Redis](http://redis.io/) and [Kombu](http://kombu.readthedocs.org/) as message queue +- Task priority, retry, periodical, recrawl by age, etc... +- Distributed architecture, Crawl Javascript pages, Python 2.{6,7}, 3.{3,4,5,6} support, etc... +Tutorial: [http://docs.pyspider.org/en/latest/tutorial/](http://docs.pyspider.org/en/latest/tutorial/) +Documentation: [http://docs.pyspider.org/](http://docs.pyspider.org/) +Release notes: [https://github.com/binux/pyspider/releases](https://github.com/binux/pyspider/releases) + +%prep +%autosetup -n pyspider-0.3.10 + +%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-pyspider -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 0.3.10-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..c9f48ce --- /dev/null +++ b/sources @@ -0,0 +1 @@ +bc064430ba86f117cb3b418f4b6e9f2b pyspider-0.3.10.tar.gz -- cgit v1.2.3