From b0431c4863eb068113c6383bf77c2929113a2cbbb4304229a346a62d34e6ea18 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 13 Dec 2023 10:44:08 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-voluptuous?expand=0&rev=21 --- python-voluptuous-0.13.1-gh.tar.gz | 3 --- python-voluptuous-0.14.1-gh.tar.gz | 3 +++ python-voluptuous.changes | 16 ++++++++++++++++ python-voluptuous.spec | 16 +++++++++------- 4 files changed, 28 insertions(+), 10 deletions(-) delete mode 100644 python-voluptuous-0.13.1-gh.tar.gz create mode 100644 python-voluptuous-0.14.1-gh.tar.gz diff --git a/python-voluptuous-0.13.1-gh.tar.gz b/python-voluptuous-0.13.1-gh.tar.gz deleted file mode 100644 index 2493a2a..0000000 --- a/python-voluptuous-0.13.1-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4e6e76e7c083ac135b74ffd36d9362a79613e0d184310738949cdf202eac07c -size 42466 diff --git a/python-voluptuous-0.14.1-gh.tar.gz b/python-voluptuous-0.14.1-gh.tar.gz new file mode 100644 index 0000000..41d912e --- /dev/null +++ b/python-voluptuous-0.14.1-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5365d2153fd8c1b920b4281954aecf861aa9e0661368ea0da39512dcd9d75b52 +size 42345 diff --git a/python-voluptuous.changes b/python-voluptuous.changes index 7bb331c..e770769 100644 --- a/python-voluptuous.changes +++ b/python-voluptuous.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Dec 13 10:40:58 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-voluptuous.spec b/python-voluptuous.spec index d68dcc9..c464b50 100644 --- a/python-voluptuous.spec +++ b/python-voluptuous.spec @@ -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