summaryrefslogtreecommitdiff
path: root/python-arjuna.spec
blob: 9670ee06f40f44f1857ec8d547377bda198c96c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
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
* Tue Apr 25 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.24-1
- Package Spec generated