From 48c14929e70d2fbb08d1493e3f9b6aebfd52e03f Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 13:35:29 +0000 Subject: automatic import of python-webbot --- .gitignore | 1 + python-webbot.spec | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 93 insertions(+) create mode 100644 python-webbot.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..8a1439f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/webbot-0.34.tar.gz diff --git a/python-webbot.spec b/python-webbot.spec new file mode 100644 index 0000000..92b2a1d --- /dev/null +++ b/python-webbot.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-webbot +Version: 0.34 +Release: 1 +Summary: Web Browser automation and testing library for python with more features and simpler api than selenium +License: MIT License +URL: https://github.com/nateshmbhat/webbot +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2c/02/1f14a3a45fb56ac1b3f1a230d8bb07746d9ee7571e7569204bbd67295ebd/webbot-0.34.tar.gz +BuildArch: noarch + +Requires: python3-selenium + +%description +Web automation library for python for web browser automation and end to +end UI testing. +webbot provides a much feature rich automation than selenium for all +kinds of automation of webpage. Since the major portion of web +automation is to perform actions like click and type into webpage +elements , webbot automatically handles finding the right elements to +perform the actions. + +%package -n python3-webbot +Summary: Web Browser automation and testing library for python with more features and simpler api than selenium +Provides: python-webbot +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-webbot +Web automation library for python for web browser automation and end to +end UI testing. +webbot provides a much feature rich automation than selenium for all +kinds of automation of webpage. Since the major portion of web +automation is to perform actions like click and type into webpage +elements , webbot automatically handles finding the right elements to +perform the actions. + +%package help +Summary: Development documents and examples for webbot +Provides: python3-webbot-doc +%description help +Web automation library for python for web browser automation and end to +end UI testing. +webbot provides a much feature rich automation than selenium for all +kinds of automation of webpage. Since the major portion of web +automation is to perform actions like click and type into webpage +elements , webbot automatically handles finding the right elements to +perform the actions. + +%prep +%autosetup -n webbot-0.34 + +%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-webbot -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 0.34-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..3a83bfe --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b50ec427201d0bfa00f17fb869554374 webbot-0.34.tar.gz -- cgit v1.2.3