17
0
Files
python-robotframework/python-robotframework.spec

83 lines
2.6 KiB
RPMSpec
Raw Normal View History

- Update to version 7.3.2: * Updated version to 7.3.2 * Release notes for 7.3.2 * Fix --flattenkeywords with JSON outputs * Consistent naming * Enhance JsonLoader config * Fix `include_keywords=False` with JSON. * Nicer signature to ExecutionResult * Make JsonDumber configurable. * Don't access suite.teardown unnecessarily. * Fix handling failing suite teardowns with JSON * Fix --flattenkeywords with VAR, GROUP and RETURN * Enhance tests * Refactor keyword used in tests * Enhance/cleanup flattening output.xml * Fix test on PyPy * Fix listener end_test overriding body when using JSON * Try all matching BDD prefixes, not only longest. * Fix embedded args related regression * Enhance tests for setup/teardown with embedded args * Fix formatting * Back to dev version * Fixes * Updated version to 7.3.1 * Release notes for 7.3.1 * Refactor test toggle logic. * Fix expand icons for failed and skipped tests (#5322) (#5445) * New section about inline comments, fixes and adjustments * Two spaces before an inline comment. * Use `# fmt: skip` instead of `# fmt: off/on`. * Remove unnecessary `.readlines()`. * Update CONTRIBUTING.rst (#5452) * Update contribution guidelines. * Update release instructions. * reformat * Prefer exact match over embedded match with setup/teardown and Run Keyword * Shorter timeouts in tests * Fix handling invalid UK argspec with types * Update issue title * Back to dev version - Update to version 7.3: * UG: Fix internal link * Updated version to 7.3 * Release notes for 7.3 * Update contribution guidelines (#5375) * Enhance variable type conversion documentation * Enhance tests * Enhance user keyword argument conversion errors * Change embedded argument syntax with type and regexp * UG: General cleanup to Variables section * Don't use deprecated Default Tags in example OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-robotframework?expand=0&rev=19
2025-09-05 09:16:31 +00:00
#
# spec file for package python-robotframework
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-robotframework
Version: 7.3.2
Release: 0
Summary: Generic test automation framework for acceptance testing and ATDD
License: Apache-2.0
URL: https://robotframework.org/
Source: robotframework-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
Robot Framework is a generic open source automation framework for acceptance
testing, acceptance test driven development (ATDD), and robotic process
automation (RPA). It has simple plain text syntax and it can be extended easily
with libraries implemented using Python or Java.
%prep
%autosetup -p1 -n robotframework-%{version}
# Fix rpmlint error "This script uses 'env' as an interpreter"
for file in $(grep -l '#!%{_bindir}/env python' src/robot/*.py); do
sed -i '1{/#!\/usr\/bin\/env python/d}' $file;
done
%build
%pyproject_wheel
%install
%pyproject_install
for p in robot rebot libdoc; do
%python_clone -a %{buildroot}%{_bindir}/$p
done
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative robot rebot libdoc
%postun
%python_uninstall_alternative robot
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%python_alternative %{_bindir}/rebot
%python_alternative %{_bindir}/robot
%python_alternative %{_bindir}/libdoc
%{python_sitelib}/robot
%{python_sitelib}/robotframework-%{version}.dist-info
%changelog