15
0
forked from pool/python-cfgv

Accepting request 790111 from home:mcalabkova:branches:devel:languages:python

- update to version 3.1.0
  * cfgv: python3.6+

OBS-URL: https://build.opensuse.org/request/show/790111
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cfgv?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2020-03-31 11:39:56 +00:00
committed by Git OBS Bridge
parent 529348f616
commit 9f8d6ba31a
4 changed files with 14 additions and 10 deletions

View File

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

3
cfgv-3.1.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 30 13:55:49 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 3.1.0
* cfgv: python3.6+
-------------------------------------------------------------------
Fri Jul 26 13:53:48 UTC 2019 - pgajdos@suse.com

View File

@@ -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