summaryrefslogtreecommitdiff
path: root/python-arjuna.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-arjuna.spec')
-rw-r--r--python-arjuna.spec172
1 files changed, 172 insertions, 0 deletions
diff --git a/python-arjuna.spec b/python-arjuna.spec
new file mode 100644
index 0000000..58b1d9f
--- /dev/null
+++ b/python-arjuna.spec
@@ -0,0 +1,172 @@
+%global _empty_manifest_terminate_build 0
+Name: python-arjuna
+Version: 1.2.24
+Release: 1
+Summary: Arjuna is a Python based test automation framework developed by Rahul Verma (www.rahulverma.net).
+License: Apache License, Version 2.0
+URL: https://rahulverma.net
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8c/a1/1a92280744481c37b64be10d2d5398ce70261b3e2742eb7f772e640f3069/arjuna-1.2.24.tar.gz
+BuildArch: noarch
+
+Requires: python3-pyOpenSSL
+Requires: python3-urllib3
+Requires: python3-requests
+Requires: python3-lxml
+Requires: python3-requests-toolbelt
+Requires: python3-selenium
+Requires: python3-webdriver-manager
+Requires: python3-xlrd
+Requires: python3-xlwt
+Requires: python3-pyparsing
+Requires: python3-pyhocon
+Requires: python3-pytest
+Requires: python3-pytest-html
+Requires: python3-pytest-dependency
+Requires: python3-PyYAML
+Requires: python3-mimesis
+Requires: python3-jsonpath-rw
+Requires: python3-jsonpath-rw-ext
+Requires: python3-jsonpath-ng
+Requires: python3-genson
+Requires: python3-jsonschema
+Requires: python3-Pallets-Sphinx-Themes
+Requires: python3-oauthlib
+Requires: python3-requests-oauthlib
+Requires: python3-bs4
+Requires: python3-browsermob-proxy
+Requires: python3-haralyzer
+Requires: python3-mysql-connector-python
+
+%description
+# Arjuna
+
+![Arjuna](https://github.com/rahul-verma/arjuna/blob/master/Arjuna.png)
+
+Arjuna is a **Python based test automation framework** developed by [Rahul Verma](www.rahulverma.net). It is an open source, Apache Licensed software.
+
+Rahul has implemented smaller variants of features in Arjuna across frameworks and organizations, or given advise around it. However Arjuna being a generic library has the most complete implementation of his ideas, away from project specific contexts and constraints.
+
+For test execution, Arjuna is implemented as a **[pytest](https://docs.pytest.org/en/latest/)** plugin and provides its own markup over pytest as its underlying test engine. If you like, you can make use of Arjuna with any other test engine or custom frameworks as well.
+
+You'd need **Python 3.8+** to make use of Arjuna.
+
+Note: On Linux, the built-in Python3 build has issues with the Python's built-in enum module which is heavily used in Arjuna. One alternative is to install ActiveState Python on linux. Advanced users can go for installing a custom Python build.
+
+## Documentation
+Arjuna documentation is integated with ReadTheDocs.
+
+* Documentation for the **[last released version](https://arjuna-taf.readthedocs.io/en/stable/index.html)**
+ * Release build goes through the existing tests and hence is better for production use than master branch.
+* Documentation for the **[latest master branch](https://arjuna-taf.readthedocs.io)**
+ * Please note that the master branch is an active branch and can have untested code.
+ * Contains the latest and greatest upcoming features and updates to existing ones.
+
+
+
+
+%package -n python3-arjuna
+Summary: Arjuna is a Python based test automation framework developed by Rahul Verma (www.rahulverma.net).
+Provides: python-arjuna
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-arjuna
+# Arjuna
+
+![Arjuna](https://github.com/rahul-verma/arjuna/blob/master/Arjuna.png)
+
+Arjuna is a **Python based test automation framework** developed by [Rahul Verma](www.rahulverma.net). It is an open source, Apache Licensed software.
+
+Rahul has implemented smaller variants of features in Arjuna across frameworks and organizations, or given advise around it. However Arjuna being a generic library has the most complete implementation of his ideas, away from project specific contexts and constraints.
+
+For test execution, Arjuna is implemented as a **[pytest](https://docs.pytest.org/en/latest/)** plugin and provides its own markup over pytest as its underlying test engine. If you like, you can make use of Arjuna with any other test engine or custom frameworks as well.
+
+You'd need **Python 3.8+** to make use of Arjuna.
+
+Note: On Linux, the built-in Python3 build has issues with the Python's built-in enum module which is heavily used in Arjuna. One alternative is to install ActiveState Python on linux. Advanced users can go for installing a custom Python build.
+
+## Documentation
+Arjuna documentation is integated with ReadTheDocs.
+
+* Documentation for the **[last released version](https://arjuna-taf.readthedocs.io/en/stable/index.html)**
+ * Release build goes through the existing tests and hence is better for production use than master branch.
+* Documentation for the **[latest master branch](https://arjuna-taf.readthedocs.io)**
+ * Please note that the master branch is an active branch and can have untested code.
+ * Contains the latest and greatest upcoming features and updates to existing ones.
+
+
+
+
+%package help
+Summary: Development documents and examples for arjuna
+Provides: python3-arjuna-doc
+%description help
+# Arjuna
+
+![Arjuna](https://github.com/rahul-verma/arjuna/blob/master/Arjuna.png)
+
+Arjuna is a **Python based test automation framework** developed by [Rahul Verma](www.rahulverma.net). It is an open source, Apache Licensed software.
+
+Rahul has implemented smaller variants of features in Arjuna across frameworks and organizations, or given advise around it. However Arjuna being a generic library has the most complete implementation of his ideas, away from project specific contexts and constraints.
+
+For test execution, Arjuna is implemented as a **[pytest](https://docs.pytest.org/en/latest/)** plugin and provides its own markup over pytest as its underlying test engine. If you like, you can make use of Arjuna with any other test engine or custom frameworks as well.
+
+You'd need **Python 3.8+** to make use of Arjuna.
+
+Note: On Linux, the built-in Python3 build has issues with the Python's built-in enum module which is heavily used in Arjuna. One alternative is to install ActiveState Python on linux. Advanced users can go for installing a custom Python build.
+
+## Documentation
+Arjuna documentation is integated with ReadTheDocs.
+
+* Documentation for the **[last released version](https://arjuna-taf.readthedocs.io/en/stable/index.html)**
+ * Release build goes through the existing tests and hence is better for production use than master branch.
+* Documentation for the **[latest master branch](https://arjuna-taf.readthedocs.io)**
+ * Please note that the master branch is an active branch and can have untested code.
+ * Contains the latest and greatest upcoming features and updates to existing ones.
+
+
+
+
+%prep
+%autosetup -n arjuna-1.2.24
+
+%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-arjuna -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.24-1
+- Package Spec generated