From e54d378d41c7c8b562c3ccb5438e5508adf4117ebdd74d1d813f34f93d5788e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 4 Mar 2019 17:10:35 +0000 Subject: [PATCH] - Update to 0.26.2: * no changelog available - Drop no longer needed python-argh-0.26.1-fix-testsuite.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argh?expand=0&rev=21 --- argh-0.26.1.tar.gz | 3 --- argh-0.26.2.tar.gz | 3 +++ python-argh-0.26.1-fix-testsuite.patch | 10 ---------- python-argh.changes | 7 +++++++ python-argh.spec | 23 ++++++----------------- 5 files changed, 16 insertions(+), 30 deletions(-) delete mode 100644 argh-0.26.1.tar.gz create mode 100644 argh-0.26.2.tar.gz delete mode 100644 python-argh-0.26.1-fix-testsuite.patch diff --git a/argh-0.26.1.tar.gz b/argh-0.26.1.tar.gz deleted file mode 100644 index 8a62060..0000000 --- a/argh-0.26.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:06a7442cb9130fb8806fe336000fcf20edf1f2f8ad205e7b62cec118505510db -size 32261 diff --git a/argh-0.26.2.tar.gz b/argh-0.26.2.tar.gz new file mode 100644 index 0000000..066137b --- /dev/null +++ b/argh-0.26.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65 +size 32913 diff --git a/python-argh-0.26.1-fix-testsuite.patch b/python-argh-0.26.1-fix-testsuite.patch deleted file mode 100644 index d67a0d7..0000000 --- a/python-argh-0.26.1-fix-testsuite.patch +++ /dev/null @@ -1,10 +0,0 @@ -Index: argh-0.26.1/test/test_integration.py -=================================================================== ---- argh-0.26.1.orig/test/test_integration.py -+++ argh-0.26.1/test/test_integration.py -@@ -772,4 +772,4 @@ def test_unknown_args(): - assert run(p, '--bar 1', exit=True) == 'unrecognized arguments: --bar 1' - assert run(p, '--bar 1', exit=False, - kwargs={'skip_unknown_args': True}) == \ -- R(out='usage: py.test [-h] [-f FOO]\n\n', err='') -+ R(out='usage: setup.py [-h] [-f FOO]\n\n', err='') diff --git a/python-argh.changes b/python-argh.changes index f7ea437..c2c61cb 100644 --- a/python-argh.changes +++ b/python-argh.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 4 16:59:56 UTC 2019 - Tomáš Chvátal + +- Update to 0.26.2: + * no changelog available +- Drop no longer needed python-argh-0.26.1-fix-testsuite.patch + ------------------------------------------------------------------- Wed Dec 5 01:53:34 UTC 2018 - Jan Engelhardt diff --git a/python-argh.spec b/python-argh.spec index ae5a028..b0cb870 100644 --- a/python-argh.spec +++ b/python-argh.spec @@ -1,7 +1,7 @@ # # spec file for package python-argh # -# 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 @@ -16,28 +16,21 @@ # -%bcond_without tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argh -Version: 0.26.1 +Version: 0.26.2 Release: 0 Summary: An argparse wrapper License: LGPL-3.0-or-later Group: Development/Languages/Python -Url: https://github.com/neithere/argh/ +URL: https://github.com/neithere/argh/ Source: https://files.pythonhosted.org/packages/source/a/argh/argh-%{version}.tar.gz -# PATCH-FIX-OPENSUSE python-argh-0.26.1-fix-testsuite.patch -- so that tests can run on OBS -Patch0: python-argh-0.26.1-fix-testsuite.patch +BuildRequires: %{python_module iocapture} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# test requirements -%if %{with tests} -BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest} -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -63,7 +56,6 @@ work that a custom dispatcher may not do. %prep %setup -q -n argh-%{version} -%patch0 -p1 %build %python_build @@ -72,14 +64,11 @@ work that a custom dispatcher may not do. %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%if %{with tests} %check export LC_CTYPE="en_US.UTF-8" %python_exec setup.py test -%endif %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %{python_sitelib}/argh/ %{python_sitelib}/argh-%{version}-py*.egg-info