From db013d251bb6531bbe4de5e9d0ba59d86addaac2600569308a5eb8de1219a33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Jun 2019 10:46:38 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-plumbum?expand=0&rev=7 --- plumbum-1.6.6.tar.gz | 3 --- python-plumbum.changes | 12 ++++++++++++ python-plumbum.spec | 17 +++++++++++++---- v1.6.7.tar.gz | 3 +++ 4 files changed, 28 insertions(+), 7 deletions(-) delete mode 100644 plumbum-1.6.6.tar.gz create mode 100644 v1.6.7.tar.gz diff --git a/plumbum-1.6.6.tar.gz b/plumbum-1.6.6.tar.gz deleted file mode 100644 index 36d17e5..0000000 --- a/plumbum-1.6.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d179b90a9927f91427a28c1bac2864c61342cb43ef39aa7324c7c9a96bcc23eb -size 88419 diff --git a/python-plumbum.changes b/python-plumbum.changes index cbab1f5..fac424a 100644 --- a/python-plumbum.changes +++ b/python-plumbum.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jun 3 10:34:35 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-plumbum.spec b/python-plumbum.spec index 872aa80..e9c5668 100644 --- a/python-plumbum.spec +++ b/python-plumbum.spec @@ -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 diff --git a/v1.6.7.tar.gz b/v1.6.7.tar.gz new file mode 100644 index 0000000..ba83273 --- /dev/null +++ b/v1.6.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c940a45a5a2ab52d062dc33f2785fd6e704327026363b9d98acc700521bca44c +size 300859