Hello community,
here is the log from the commit of package python-plumbum for
openSUSE:Leap:15.2 checked in at 2020-03-09 18:10:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-plumbum (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-plumbum.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-plumbum"
Mon Mar 9 18:10:25 2020 rev:4 rq:776922 version:1.6.7
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-plumbum/python-plumbum.changes
2020-01-15 15:51:37.115535148 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-plumbum.new.26092/python-plumbum.changes
2020-03-09 18:10:25.957116329 +0100
@@ -1,0 +2,12 @@
+Mon Jun 3 10:34:35 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
plumbum-1.6.6.tar.gz
New:
----
v1.6.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-plumbum.spec ++++++
--- /var/tmp/diff_new_pack.nl2wpn/_old 2020-03-09 18:10:26.453117040 +0100
+++ /var/tmp/diff_new_pack.nl2wpn/_new 2020-03-09 18:10:26.453117040 +0100
@@ -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 @@
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 @@
%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