diff --git a/cfgv-2.0.1.tar.gz b/cfgv-2.0.1.tar.gz deleted file mode 100644 index e982f72..0000000 --- a/cfgv-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7a5f67e7514542bb1a00f88f78d82b74d1c4e39c8db87e92eab8ce0c3141c3e -size 10607 diff --git a/cfgv-3.1.0.tar.gz b/cfgv-3.1.0.tar.gz new file mode 100644 index 0000000..f625d1e --- /dev/null +++ b/cfgv-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56048fc70b910c331e2550da9c3398d09028afb7af29f3b5ece02741c9bd2b28 +size 10513 diff --git a/python-cfgv.changes b/python-cfgv.changes index 41f73c2..52872ff 100644 --- a/python-cfgv.changes +++ b/python-cfgv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 30 13:55:49 UTC 2020 - Marketa Calabkova + +- update to version 3.1.0 + * cfgv: python3.6+ + ------------------------------------------------------------------- Fri Jul 26 13:53:48 UTC 2019 - pgajdos@suse.com diff --git a/python-cfgv.spec b/python-cfgv.spec index 75f22c1..71d863d 100644 --- a/python-cfgv.spec +++ b/python-cfgv.spec @@ -1,7 +1,7 @@ # # spec file for package python-cfgv # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-cfgv -Version: 2.0.1 +Version: 3.1.0 Release: 0 Summary: Configuration validator producing human readable error messages License: MIT @@ -28,12 +29,9 @@ Source: https://github.com/asottile/cfgv/archive/v%{version}.tar.gz#/cfg BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-six BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest-runner} -BuildRequires: %{python_module six} +BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -51,7 +49,7 @@ A configuration validator for Python that produce human readable error messages. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py pytest +%pytest %files %{python_files} %doc README.md