Accepting request 1132857 from devel:languages:python

- update to 0.14.1:
  * Add `python_requires` so package installers know
    requirement is >= 3.7
  * Fix a few code comment typos
  * Change to SPDX conform license string
  * Add typing information
  * Fix new type hint of schemas, for example for
    `Required('key')`
  * Fix new type hints and enable `mypy`
  * Allow error reporting on keys
  * Set static PyPI project description
  * Remove Travis build status badge

OBS-URL: https://build.opensuse.org/request/show/1132857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=9
This commit is contained in:
Ana Guerrero 2023-12-13 17:36:19 +00:00 committed by Git OBS Bridge
commit 8fe6b5cd77
4 changed files with 28 additions and 10 deletions

BIN
python-voluptuous-0.13.1-gh.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Dec 13 10:40:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.14.1:
* Add `python_requires` so package installers know
requirement is >= 3.7
* Fix a few code comment typos
* Change to SPDX conform license string
* Add typing information
* Fix new type hint of schemas, for example for
`Required('key')`
* Fix new type hints and enable `mypy`
* Allow error reporting on keys
* Set static PyPI project description
* Remove Travis build status badge
-------------------------------------------------------------------
Sat Oct 1 14:37:36 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-voluptuous
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,17 +16,18 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-voluptuous
Version: 0.13.1
Version: 0.14.1
Release: 0
Summary: A Python data validation library
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/alecthomas/voluptuous
Source: https://github.com/alecthomas/voluptuous/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}-gh.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@ -40,10 +41,10 @@ coming into Python as JSON, YAML, etc.
%setup -q -n voluptuous-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -52,6 +53,7 @@ coming into Python as JSON, YAML, etc.
%files %{python_files}
%license COPYING
%doc README.md
%{python_sitelib}/*
%{python_sitelib}/voluptuous
%{python_sitelib}/voluptuous-*.dist-info
%changelog