14
0
Files
python-robotframework/python-robotframework.spec
Matej Cepl 73c090ad32 Accepting request 1041263 from home:yarunachalam:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1041263
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-robotframework?expand=0&rev=9
2022-12-09 00:22:12 +00:00

76 lines
2.4 KiB
RPMSpec

#
# spec file for package python-robotframework
#
# Copyright (c) 2022 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-robotframework
Version: 6.0.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 setuptools}
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
%python_build
%install
%python_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}/*
%changelog