diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:28:43 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:28:43 +0000 |
| commit | 565a5aeea6c81b2d36556c10dc2a753bcf1cd88e (patch) | |
| tree | 6316f80419cc5829f322f70fad0c185d13916561 /python-toolium.spec | |
| parent | 0e0ff1e67eb9e9bdb541dffc00c828f18ac68901 (diff) | |
automatic import of python-tooliumopeneuler20.03
Diffstat (limited to 'python-toolium.spec')
| -rw-r--r-- | python-toolium.spec | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/python-toolium.spec b/python-toolium.spec new file mode 100644 index 0000000..00cc408 --- /dev/null +++ b/python-toolium.spec @@ -0,0 +1,89 @@ +%global _empty_manifest_terminate_build 0 +Name: python-toolium +Version: 3.0.0 +Release: 1 +Summary: Wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single project +License: Apache 2.0 +URL: https://github.com/telefonica/toolium +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a5/ed/1c46b0b76925be912f236840b9641a4a2026b1d1f8258511bb04c49d1d80/toolium-3.0.0.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-selenium +Requires: python3-Appium-Python-Client +Requires: python3-Pillow +Requires: python3-screeninfo +Requires: python3-lxml +Requires: python3-Faker +Requires: python3-phonenumbers + +%description +|Build Status| |Coverage Status| |CodeClimate| |Documentation Status| +Toolium is a Python wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single +project. It provides a way of choosing and configuring the driver through a configuration file, implements a Page Object +pattern and includes a simple visual testing solution. + +%package -n python3-toolium +Summary: Wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single project +Provides: python-toolium +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-toolium +|Build Status| |Coverage Status| |CodeClimate| |Documentation Status| +Toolium is a Python wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single +project. It provides a way of choosing and configuring the driver through a configuration file, implements a Page Object +pattern and includes a simple visual testing solution. + +%package help +Summary: Development documents and examples for toolium +Provides: python3-toolium-doc +%description help +|Build Status| |Coverage Status| |CodeClimate| |Documentation Status| +Toolium is a Python wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single +project. It provides a way of choosing and configuring the driver through a configuration file, implements a Page Object +pattern and includes a simple visual testing solution. + +%prep +%autosetup -n toolium-3.0.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-toolium -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.0-1 +- Package Spec generated |
