15
0

Accepting request 707129 from devel:languages:python

- Update to 1.6.7:
  * Commands: Added run_* methods as an alternative to modifiers (#386)
  * CLI: Added support for ALLOW_ABREV (#401)
  * CLI: Added DESCRIPTION_MORE, preserves spacing (#378)
  * Color: Avoid throwing error in atexit in special cases (like pytest) (#393)
  * Including Python 3.7 in testing matrix.
  * Smaller bugfixes and other testing improvements.
- Switch to github archive for tests

OBS-URL: https://build.opensuse.org/request/show/707129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plumbum?expand=0&rev=3
This commit is contained in:
2019-06-06 16:15:51 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d179b90a9927f91427a28c1bac2864c61342cb43ef39aa7324c7c9a96bcc23eb
size 88419

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jun 3 10:34:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.6.7:
* Commands: Added run_* methods as an alternative to modifiers (#386)
* CLI: Added support for ALLOW_ABREV (#401)
* CLI: Added DESCRIPTION_MORE, preserves spacing (#378)
* Color: Avoid throwing error in atexit in special cases (like pytest) (#393)
* Including Python 3.7 in testing matrix.
* Smaller bugfixes and other testing improvements.
- Switch to github archive for tests
-------------------------------------------------------------------
Tue Dec 4 12:51:36 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-plumbum
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-plumbum
Version: 1.6.6
Version: 1.6.7
Release: 0
Summary: Shell combinators library
License: MIT
Group: Development/Languages/Python
Url: https://github.com/tomerfiliba/plumbum
Source: https://files.pythonhosted.org/packages/source/p/plumbum/plumbum-%{version}.tar.gz
Source: https://github.com/tomerfiliba/plumbum/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module paramiko}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: openssh
BuildRequires: sudo
# /SECTION
BuildArch: noarch
@@ -47,9 +50,10 @@ remote file-system paths, working-directory and environment
manipulation, and a programmatic Command-Line Interface (CLI)
application toolkit.
%prep
%setup -q -n plumbum-%{version}
# remote tests won't work in OBS
rm tests/test_remote.py
%build
%python_build
@@ -58,6 +62,11 @@ application toolkit.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF8
# the skipped tests need running local SSH server or root privs
%pytest -k 'not (test_iterdir or test_iter_lines_timeout or test_iter_lines_error or test_atomic_file2 or test_pid_file or test_atomic_counter or test_as_user or test_copy_move_delete)'
%files %{python_files}
%doc README.rst
%license LICENSE

3
v1.6.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c940a45a5a2ab52d062dc33f2785fd6e704327026363b9d98acc700521bca44c
size 300859