Group :: Development/Python3
RPM: python3-module-robotframework
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname robotframework
%def_with check
Name: python3-module-%oname
Version: 6.0.2
Release: alt1
Summary: A generic test automation framework
License: Apache-2.0
Group: Development/Python3
BuildArch: noarch
Url: https://pypi.org/project/robotframework/
# https://github.com/robotframework/robotframework.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3(jsonschema)
BuildRequires: python3(tox)
%endif
%py3_provides %oname
Conflicts: python-module-%oname
Obsoletes: python-module-%oname
%description
Robot Framework is a generic test automation framework for acceptance
testing and acceptance test-driven development (ATDD). It has
easy-to-use tabular test data syntax and it utilizes the keyword-driven
testing approach. Its testing capabilities can be extended by test
libraries implemented either with Python or Java, and users can create
new higher-level keywords from existing ones using the same syntax that
is used for creating test cases.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
cat > tox.ini <<'EOF'
[testenv]
commands =
# unit tests
python utest/run.py -v
EOF
export PIP_NO_INDEX=YES
export TOXENV=py3
tox.py3 --sitepackages -vvr --develop
%files
%doc *.txt *.rst
%_bindir/libdoc
%_bindir/rebot
%_bindir/robot
%python3_sitelibdir/robot/
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
%changelog
…
Todas as alterações você pod ver aqui
%define oname robotframework
%def_with check
Name: python3-module-%oname
Version: 6.0.2
Release: alt1
Summary: A generic test automation framework
License: Apache-2.0
Group: Development/Python3
BuildArch: noarch
Url: https://pypi.org/project/robotframework/
# https://github.com/robotframework/robotframework.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3(jsonschema)
BuildRequires: python3(tox)
%endif
%py3_provides %oname
Conflicts: python-module-%oname
Obsoletes: python-module-%oname
%description
Robot Framework is a generic test automation framework for acceptance
testing and acceptance test-driven development (ATDD). It has
easy-to-use tabular test data syntax and it utilizes the keyword-driven
testing approach. Its testing capabilities can be extended by test
libraries implemented either with Python or Java, and users can create
new higher-level keywords from existing ones using the same syntax that
is used for creating test cases.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
cat > tox.ini <<'EOF'
[testenv]
commands =
# unit tests
python utest/run.py -v
EOF
export PIP_NO_INDEX=YES
export TOXENV=py3
tox.py3 --sitepackages -vvr --develop
%files
%doc *.txt *.rst
%_bindir/libdoc
%_bindir/rebot
%_bindir/robot
%python3_sitelibdir/robot/
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
%changelog
…
Todas as alterações você pod ver aqui