From 53a6c70cc80b67ac13008aadccb9c655fba217edf0a3c9b2b894b7a37573fd84 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 24 Jun 2025 02:24:06 +0000 Subject: [PATCH] - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-robotframework?expand=0&rev=17 --- .gitattributes | 23 +++ .gitignore | 1 + python-robotframework.changes | 262 ++++++++++++++++++++++++++++++++++ python-robotframework.spec | 78 ++++++++++ robotframework-7.0.1.zip | 3 + robotframework-7.1.1.zip | 3 + 6 files changed, 370 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-robotframework.changes create mode 100644 python-robotframework.spec create mode 100644 robotframework-7.0.1.zip create mode 100644 robotframework-7.1.1.zip diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-robotframework.changes b/python-robotframework.changes new file mode 100644 index 0000000..2b679f9 --- /dev/null +++ b/python-robotframework.changes @@ -0,0 +1,262 @@ +------------------------------------------------------------------- +Tue Jun 24 02:22:31 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- +Sat Nov 9 15:53:28 UTC 2024 - Dirk Müller + +- update to 7.1.1: + * https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-7.1.1.rst + * https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-7.1.rst + +------------------------------------------------------------------- +Sat Jun 29 06:57:00 UTC 2024 - Dirk Müller + +- update to 7.0.1: + * https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-7.0.1.rst + * https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-7.0.rst + +------------------------------------------------------------------- +Fri Dec 15 22:46:04 UTC 2023 - Dirk Müller + +- update to 6.1.1: + * https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-6.1.rst + +------------------------------------------------------------------- +Wed Dec 7 22:22:26 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 6.0.1 + * Robot Framework 6.0.1 is the first bug fix release in the RF 6.0 series. + It mainly fixes a bug in using localized BDD prefixes consisting of more than one word (#4515) as well as a regression + related to the library search order (#4516). + Questions and comments related to the release can be sent to the robotframework-users mailing list or to Robot Framework Slack, + and possible bugs submitted to the issue tracker. + If you have pip installed, just run + pip install --pre --upgrade robotframework + to install the latest available release or use + pip install robotframework==6.0.1 + to install exactly this version. Alternatively you can download the source distribution from PyPI and install it manually. + For more details and other installation approaches, see the installation instructions. + Robot Framework 6.0.1 was released on Thursday November 3, 2022. + Full list of fixes and enhancements + ID Type Priority Summary + #4515 bug high Localized BDD prefixes consisting of more than one word don't work + #4516 bug high Set Library Search Order doesn't work if there are two matches and one is from standard libraries + #4519 bug medium Libdoc's DocumentationBuilder doesn't anymore work with resource files with .robot extension + #4520 enhancement medium Document Libdoc's public API better + #4521 enhancement medium Enhance robot.utils.timestr_to_secs so that it works with timedelta objects + #4523 bug low Unit test test_parse_time_with_now_and_utc fails around DST change + #4525 bug low Wrong version numbers used in the User Guide and in a deprecation warning + +------------------------------------------------------------------- +Sat Oct 29 00:32:45 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 6.0.0 + Most important enhancements + * Localization + * Enhancements to using keywords with embedded arguments + * Enhancements to keyword namespaces + * Enhancements to automatic argument conversion + * Enhancements for setting keyword and test tags + * Possibility to disable continue-on-failure mode + * start/end_keyword listener methods get more information about control structures + * Libdoc enhancements + * Performance enhancements for executing user keywords + * Python 3.11 support + Backwards incompatible changes + Deprecated features + * Force Tags and Default Tags settings + * Keywords in test case files having precedence over local keywords in resource files + * WITH NAME in favor of AS when giving alias to imported library + * Singular section headers like Test Case + * Using variables with embedded arguments so that value does not match custom pattern + * robot.utils.TRUE_STRINGS and robot.utils.FALSE_STRINGS + * Python 3.6 support + +------------------------------------------------------------------- +Tue Oct 11 01:55:27 UTC 2022 - Steve Kowalik + +- Update to 5.0.1: + * New SKIP status + * Criticality has been removed + * Native IF/ELSE syntax + * Basic IF syntax + * Support for nested control structures + * Libdoc enhancements + * HTML output enhancements + * Fix running keywords in `start/end_suite` listener method + * Fix skipping tests in suite teardown if suite setup has been failed or skipped + * Avoid argument conversion if given argument has one of the accepted types + * Fix using using `Union` containing generics as type hint + * Regression using `TypedDict` as type hint + * Continue-on-failure mode can be controlled using tags + * Python 3.10 support + * Catching exceptions with `EXCEPT` +- Remove pointless BuildRequires on python + +------------------------------------------------------------------- +Wed Oct 7 13:34:10 UTC 2020 - Dirk Mueller + +- switch to pypi tarball + +------------------------------------------------------------------- +Tue Sep 29 19:50:04 UTC 2020 - Flávio Ramalho + +- Add missing requires: python-setuptools + +------------------------------------------------------------------- +Fri Sep 11 13:43:05 UTC 2020 - framalho@suse.com + +- Update to version 3.2.2: + * Changes from 3.2.2: + Enhancements: + * Python 3.9 support + * Argument conversion with enums should work with normalized names + * Libdoc: Allow switching between compact and expanded list of shortcuts and tags + * Show members of enum argument types in Libdoc HTML + * Libdoc: Split arguments and tags in keyword table to own lines + Fixes: + * --exitonfailure option ignores dynamic changes to criticality + * --expandkeywords fails in some cases + * Libdoc: Generating documentation fails if getting keyword source file is not possible + * Tidy adds trailing whitespace in multi-paragraph Documentation + * Screenshot: Newer scrot versions don't overwrite images when they should + * XML: Remove Element(s) does not work with Python 3.9 + * :FOR still used in BuiltIn library docs + * Libdoc: Shortcuts are messed up on Firefox after search + * Bug in User Guide example related to **kwargs + * Line number reported by test libraries using class decorators is different in Python 3.9 + than earlier + * Error running RobotFramework in a Windows console with PyTest + * Changes from 3.2.1: + Fixes: + * Regression with keywords implemented as methods with wrapping decorator + * Execution can crash if stdin is closed + * Changes from 3.2.0: + Enhancements: + * New test data parser + * New @library decorator + * New @not_keyword decorator + * Enhanced Libdoc spec files + * Inline Python evaluation + * Native &{dict} iteration with FOR loops + * Listeners can add and remove tests + * Signatures of "wrapped" keywords are read correctly + * Standalone jar distribution updated to use Jython 2.7.2 + * Continuous integrating + Backwards incompatible changes: + * HTML and TSV formats are not supported anymore + * Only *.robot files are parsed by default + * Parsing APIs have been rewritten + * Changes to recognizing and evaluating variables + * Variables in test case names are resolved + * Changes to handling non-ASCII spaces + * Old for loop style not supported with pipe-separated format + * Stricter section and setting name syntax + * Stricter for loop separator syntax + * Libdoc spec files have changed + * Pre-run modifiers are run before selecting tests cases to be executed + * Other backwards incompatible changes + Deprecated features: + * Old FOR loop syntax + * FOR loops when all values are in key=value syntax + * Accessing list and dictionary items using @{var}[item] and &{var}[item] + * Ignoring space after literal newline is deprecated + * Changes from 3.1.2: + Fixes: + * Creating scalar variables in resource files with custom separator + * Using keywords accepting embedded arguments when library is imported multiple times using the WITH + NAME syntax + * The Tidy tool both handles new style for loops (FOR ... END) correctly and converts old style loops + (:FOR ... \ ...) to new style loops automatically + Deprecated features: + * Omitting lines with only ... or ... # comment + * Converting non-ASCII spaces to normal spaces during parsing. Accidentally typed no-break spaces are + most likely to cause warnings, but also they ought to be rare + * Collapsing spaces during parsing. Only affects the pipe separated format + * Creating tests and keywords with name ... + * Escaping leading empty cells with \ except with for loops + * Changes from 3.1.1: + Fixes: + * Regression using --suite when executing multiple data sources or --name option (affects Pabot) + * Regression with Python 3.5+ when keyword is decorated and decorator uses functools.wraps + * Regression when using BuiltIn.run_keyword internally in keyword with timeouts + * Changes from 3.1.0: + Enhancements: + * Terminology configuration to support Robotic Process Automation (RPA) + * Automatic argument conversion + * Named-only arguments support + * Fix for intermittent corrupted outputs when using timeouts + * Installation enhancements + * For loop enhancements + * Accessing nested list and dictionary variable items + * New *.resource extension for resource files + * Better error reporting when test data is invalid + * Better compatibility with third party tools consuming xUnit outputs + * No need to install external ElementTree module with IronPython 2.7.9+ + * Generating documentation for Java based libraries works without tools.jar with Java 9+ + Backwards incompatible changes: + * Python 2.6 and 3.3 are not supported anymore + * Old start-up scripts like pybot are removed + * Changes to pattern matching syntax + * Square brackets after variable like ${var}[xxx] is considered item access + * Underscores are not converted to spaces in values given from the command line + * Changes to xUnit output file format + * Logs and reports do not support IE 8 and other old browsers anymore + * Newline handling changed with Create File and Append To File on Windows + * Some deprecated syntax removed + * Other issues possibly causing backwards incompatibility problems + Deprecated features: + * HTML and TSV data formats have been deprecated + * Parsing other than *.robot files by default is deprecated + * For loop syntax changes + * List item access to be changed to use syntax ${var}[item] + * Using section and setting names space-insensitively is deprecated + * Escaping problematic characters with --escape is deprecated + * --warnonskippedfiles has been deprecated + +------------------------------------------------------------------- +Thu Jul 23 21:54:48 UTC 2020 - framalho@suse.com + +- Renamed package from python-robot to python-robotframework +- Add singlespec for packaging both python2 and python3 packages +- Update to version 3.0.4 + * Changes from 3.0.4: + Fixes: + * Iterable objects (incl. ElementTree objects) converted to lists when added to dictionary + variables in RF 3.0.3 + * Modifying lists and dictionaries used as dictionary variable values stopped working in + RF 3.0.3 + * Changes from 3.0.3: + Enhancements: + * Use new logo as favicon in output files + * Dictionary variables should support attribute access with nested dictionaries + * Errors related to finding keywords should not be considered syntax errors + * String 'NONE' should be considered False when used as Boolean argument + * Change Selenium2Library to SeleniumLibrary in user guide documentation + Fixes: + * Using typing hints or keyword-only-arguments prevented using function as keyword + * RuntimeWarning printed on console when using robot command with Python 3.6 on Windows + * Content Security Policy (CSP) causes problems with report + * Terminal emulation in Telnet library is not compatible with latest pyte versions + * Importing String and DateTime fails on Windows and OSX if PYTHONCASEOK is set or + installation directory shared between VM and host + * rebot --merge doesn't work correctly if test messages contain HTML + * Dry Run fails if library keywords use embedded arguments + * Regression: Execution stops in teardown if keyword is not found + * [ ERROR ] Unexpected error: IOError: [Errno 0] Error + * Appending to test message using HTML doesn't work if old message is not HTML + * Custom string subclasses not always handled correctly (e.g. Convert To Integer) + * Zero length test library causes infinite recursion + * Timeouts do not stop execution if they occur during execution of log_message listener method + * robot.libdoc doesn't support specifying doc format although its docs say it does + * Syntax errors (non-fatal) when installing with easy_install using Python 3 + * Process library keywords leave file descriptors open on Python 2 + * Take Screenshot keyword causes warning when using wxPython 4 + +------------------------------------------------------------------- +Tue Aug 30 13:52:49 UTC 2016 - ds(at)marco.de + +- Initial package, robotframework 3.0.2 diff --git a/python-robotframework.spec b/python-robotframework.spec new file mode 100644 index 0000000..6573246 --- /dev/null +++ b/python-robotframework.spec @@ -0,0 +1,78 @@ +# +# spec file for package python-robotframework +# +# Copyright (c) 2025 SUSE LLC +# +# 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/ +# + + +Name: python-robotframework +Version: 7.1.1 +Release: 0 +Summary: Generic test automation framework for acceptance testing and ATDD +License: Apache-2.0 +URL: https://robotframework.org/ +Source: https://files.pythonhosted.org/packages/source/r/robotframework/robotframework-%{version}.zip +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 +%setup -q -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 diff --git a/robotframework-7.0.1.zip b/robotframework-7.0.1.zip new file mode 100644 index 0000000..287757c --- /dev/null +++ b/robotframework-7.0.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58d01b84cd7eccea69f2dbe13cbcbff1299e551168d3b88c25617b0c9d6ddc75 +size 758216 diff --git a/robotframework-7.1.1.zip b/robotframework-7.1.1.zip new file mode 100644 index 0000000..0ec591c --- /dev/null +++ b/robotframework-7.1.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f85919c68c4d0837006e5f09dde1ef689f082eba2e7e64d5758753f9ee8bfea9 +size 761336