Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562474
en ru br
ALT Linux repos
S:2.2.2-alt1

Group :: Development/Python3
RPM: python3-module-robotframework-debuglibrary

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define oname robotframework-debuglibrary

Name: python3-module-%oname
Version: 2.2.1
Release: alt1

Summary: RobotFramework debug library and an interactive shell
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/robotframework-debuglibrary/

BuildArch: noarch

# https://github.com/xyb/robotframework-debuglibrary.git

Source: %name-%version.tar

Patch1: %oname-alt-tests-python3-compat.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-robotframework
BuildRequires: python3(pygments) python3(prompt_toolkit)
BuildRequires: python3(coverage) python3(pexpect)
BuildRequires: /dev/pts

%description
Robotframework-DebugLibrary is A debug library for RobotFramework, which
can be used as an interactive shell(REPL) also.

%prep
%setup
%patch1 -p1

sed -i 's|^#!/usr/bin/env python$|#!/usr/bin/env python3|' \
   $(find ./ -name '*.py')

%build
%python3_build_debug

%install
%python3_install

%check
%__python3 setup.py test ||:

%files
%doc LICENSE
%doc ChangeLog *.rst
%_bindir/*
%python3_sitelibdir/DebugLibrary
%python3_sitelibdir/robotframework_debuglibrary-%version-py*.egg-info

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin