SHA256
14
0
forked from pool/python-sh

Accepting request 854149 from home:bnavigator:branches:devel:languages:python

- Update to 1.14.1:
  * bugfix where setting _ok_code to not include 0, but 0 was the
   exit code #545
- Changes for 1.14.0
  * _env now more lenient in accepting dictionary-like objects #527
  * None and False arguments now do not pass through to underlying
    command #525
  * Implemented find_spec on the fancy importer, which fixes some
    Python3.4+ issues #536 
- Drop all patches: they are no longer applicable
  * fix-sleep-path-in-test.patch
  * fix-test_general_signal.diff
  * fix-test_signal_group.diff
  * no-coverage.patch

OBS-URL: https://build.opensuse.org/request/show/854149
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=26
This commit is contained in:
2020-12-08 23:57:39 +00:00
committed by Git OBS Bridge
parent 5efd7542fe
commit 9733c45539
8 changed files with 22 additions and 133 deletions

View File

@@ -18,16 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sh
Version: 1.13.1
Version: 1.14.1
Release: 0
Summary: Python subprocess interface
License: MIT
URL: https://github.com/amoffat/sh
Source: https://files.pythonhosted.org/packages/source/s/sh/sh-%{version}.tar.gz
Patch0: no-coverage.patch
Patch1: fix-test_signal_group.diff
Patch2: fix-test_general_signal.diff
Patch3: fix-sleep-path-in-test.patch
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -45,7 +41,6 @@ sh is not a collection of system commands implemented in Python.
%prep
%setup -q -n sh-%{version}
%autopatch -p1
%build
%python_build