diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:24:55 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:24:55 +0000 |
commit | 7bf8910173d3ed583fb73f4929d46b5281c8b878 (patch) | |
tree | cc933259d5117f46ccbc57c568c3603a57fd3b66 | |
parent | 7050b0ed7e0966c2af256152bfd14167500a8ed5 (diff) |
automatic import of python-cloudfeaster
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-cloudfeaster.spec | 109 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 111 insertions, 0 deletions
@@ -0,0 +1 @@ +/cloudfeaster-0.9.59.tar.gz diff --git a/python-cloudfeaster.spec b/python-cloudfeaster.spec new file mode 100644 index 0000000..ae0d287 --- /dev/null +++ b/python-cloudfeaster.spec @@ -0,0 +1,109 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cloudfeaster +Version: 0.9.59 +Release: 1 +Summary: Cloudfeaster +License: MIT +URL: https://github.com/simonsdave/cloudfeaster +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/4d/b0dd585ccb551e065154cd663e0b2bee3a4cd04e7d17061b5869c1e65a9c/cloudfeaster-0.9.59.tar.gz +BuildArch: noarch + +Requires: python3-colorama +Requires: python3-jsonschema +Requires: python3-dateutil +Requires: python3-selenium + +%description +|Maintained| |license| |PythonVersions| |status| |PyPI| |Requirements| +|CodeFactor| |CircleCI| |codecov| +|docker-simonsdave/cloudfeaster-dev-env| +|docker-simonsdave/cloudfeaster| |docker-simonsdave/cloudfeaster-lite| +Cloudfeaster is a web crawling and business process automation +infrastructure that leverages modern software engineering tools, +services and trends to create: +- (this repo is) `a spider authoring and maintenance + environment <https://github.com/simonsdave/cloudfeaster>`__ +- a service infrastructure for discovering and running spiders via a + RESTful API +`This <docs/story.md>`__ is the story behind Cloudfeaster. + +%package -n python3-cloudfeaster +Summary: Cloudfeaster +Provides: python-cloudfeaster +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cloudfeaster +|Maintained| |license| |PythonVersions| |status| |PyPI| |Requirements| +|CodeFactor| |CircleCI| |codecov| +|docker-simonsdave/cloudfeaster-dev-env| +|docker-simonsdave/cloudfeaster| |docker-simonsdave/cloudfeaster-lite| +Cloudfeaster is a web crawling and business process automation +infrastructure that leverages modern software engineering tools, +services and trends to create: +- (this repo is) `a spider authoring and maintenance + environment <https://github.com/simonsdave/cloudfeaster>`__ +- a service infrastructure for discovering and running spiders via a + RESTful API +`This <docs/story.md>`__ is the story behind Cloudfeaster. + +%package help +Summary: Development documents and examples for cloudfeaster +Provides: python3-cloudfeaster-doc +%description help +|Maintained| |license| |PythonVersions| |status| |PyPI| |Requirements| +|CodeFactor| |CircleCI| |codecov| +|docker-simonsdave/cloudfeaster-dev-env| +|docker-simonsdave/cloudfeaster| |docker-simonsdave/cloudfeaster-lite| +Cloudfeaster is a web crawling and business process automation +infrastructure that leverages modern software engineering tools, +services and trends to create: +- (this repo is) `a spider authoring and maintenance + environment <https://github.com/simonsdave/cloudfeaster>`__ +- a service infrastructure for discovering and running spiders via a + RESTful API +`This <docs/story.md>`__ is the story behind Cloudfeaster. + +%prep +%autosetup -n cloudfeaster-0.9.59 + +%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-cloudfeaster -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.59-1 +- Package Spec generated @@ -0,0 +1 @@ +5d6313747a423aa75987668afaa2d709 cloudfeaster-0.9.59.tar.gz |