diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 22:50:42 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 22:50:42 +0000 |
| commit | 6a4499ec1b37be6a55b06430f70278f5ad5389b6 (patch) | |
| tree | 489efcb9489ee140a63cec8723ca9373fa6b6449 /python-warriorframework.spec | |
| parent | fc2eca524a6ec852a54517381e1041d92f6b4bf5 (diff) | |
automatic import of python-warriorframework
Diffstat (limited to 'python-warriorframework.spec')
| -rw-r--r-- | python-warriorframework.spec | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/python-warriorframework.spec b/python-warriorframework.spec new file mode 100644 index 0000000..0862935 --- /dev/null +++ b/python-warriorframework.spec @@ -0,0 +1,192 @@ +%global _empty_manifest_terminate_build 0 +Name: python-warriorframework +Version: 4.6.0 +Release: 1 +Summary: Warrior Framework is an open source Automation Framework +License: Apache Software License +URL: https://github.com/warriorframework/warriorframework_py3 +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/97/86/5c86d6c2efb8af74b0bbb808f5c99f5c15b3bf2c95802afc62109f78e2b8/warriorframework-4.6.0.tar.gz +BuildArch: noarch + +Requires: python3-kafka-python +Requires: python3-configobj +Requires: python3-requests + +%description +Warrior Framework is an open source automation framework designed to enable anyone to automate their testing, +processes, and repetitive tasks by simplifying the complex process of building an automation infrastructure. +As a keyword and data driven framework, Warrior’s infrastructure is built to maximize on re-usability of built in keywords. + +Install: + pip install warriorframework + +Requires: + Python 3.6 and above + pexpect==4.8.0 + requests==2.21.0 + selenium==3.8.0 + lxml==4.4.1 + paramiko==2.7.2 + pysnmp==4.4.12 + pyvirtualdisplay==0.2.1 + kafka-python==1.4.6 + pycryptodome==3.6.1 + cloudshell-automation-api==9.3.0.175525 + xmltodict==0.12.0 + xlrd==1.2.0 + openpyxl==3.0.3 + pandas==1.0.3 + gcg==0.2.0 + termcolor==1.1.0 + pymongo==3.11.0 + + +Command Line Usage: + Warrior -h + +Links: + Documentation: http://warriorframework.org/ + + License : http://www.apache.org/licenses/LICENSE-2.0 + + Source : https://github.com/warriorframework/warriorframework_py3 + + + + +%package -n python3-warriorframework +Summary: Warrior Framework is an open source Automation Framework +Provides: python-warriorframework +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-warriorframework +Warrior Framework is an open source automation framework designed to enable anyone to automate their testing, +processes, and repetitive tasks by simplifying the complex process of building an automation infrastructure. +As a keyword and data driven framework, Warrior’s infrastructure is built to maximize on re-usability of built in keywords. + +Install: + pip install warriorframework + +Requires: + Python 3.6 and above + pexpect==4.8.0 + requests==2.21.0 + selenium==3.8.0 + lxml==4.4.1 + paramiko==2.7.2 + pysnmp==4.4.12 + pyvirtualdisplay==0.2.1 + kafka-python==1.4.6 + pycryptodome==3.6.1 + cloudshell-automation-api==9.3.0.175525 + xmltodict==0.12.0 + xlrd==1.2.0 + openpyxl==3.0.3 + pandas==1.0.3 + gcg==0.2.0 + termcolor==1.1.0 + pymongo==3.11.0 + + +Command Line Usage: + Warrior -h + +Links: + Documentation: http://warriorframework.org/ + + License : http://www.apache.org/licenses/LICENSE-2.0 + + Source : https://github.com/warriorframework/warriorframework_py3 + + + + +%package help +Summary: Development documents and examples for warriorframework +Provides: python3-warriorframework-doc +%description help +Warrior Framework is an open source automation framework designed to enable anyone to automate their testing, +processes, and repetitive tasks by simplifying the complex process of building an automation infrastructure. +As a keyword and data driven framework, Warrior’s infrastructure is built to maximize on re-usability of built in keywords. + +Install: + pip install warriorframework + +Requires: + Python 3.6 and above + pexpect==4.8.0 + requests==2.21.0 + selenium==3.8.0 + lxml==4.4.1 + paramiko==2.7.2 + pysnmp==4.4.12 + pyvirtualdisplay==0.2.1 + kafka-python==1.4.6 + pycryptodome==3.6.1 + cloudshell-automation-api==9.3.0.175525 + xmltodict==0.12.0 + xlrd==1.2.0 + openpyxl==3.0.3 + pandas==1.0.3 + gcg==0.2.0 + termcolor==1.1.0 + pymongo==3.11.0 + + +Command Line Usage: + Warrior -h + +Links: + Documentation: http://warriorframework.org/ + + License : http://www.apache.org/licenses/LICENSE-2.0 + + Source : https://github.com/warriorframework/warriorframework_py3 + + + + +%prep +%autosetup -n warriorframework-4.6.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-warriorframework -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 4.6.0-1 +- Package Spec generated |
