15
0

- update to 4.1:

* Add support for Python 3.12.
- drop support-python-312.patch (upstream)
- add py313.patch: fix test failures with 3.13
  * Drop support for Python 2.6 and 3.2 and add support for
  * BaseLoader is now an abstract class that cannot be
  * Allow nan, inf and -inf values for floats in configurations.
  * Scripts zconfig (for schema validation) and
  * A new ZConfig.sphinx Sphinx extension facilitates
    automatically documenting ZConfig components using their
    description and examples in Sphinx documentation. See
  * Simplify internal schema processing of max and min
  * Almost all uses of type as a parameter name have been
    replaced with type_ to avoid shadowing a builtin. These were
  * Add ability to do variable substitution from environment

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZConfig?expand=0&rev=23
This commit is contained in:
2024-10-28 22:21:36 +00:00
committed by Git OBS Bridge
parent dd73e476cb
commit 920a4a1f4f
6 changed files with 61 additions and 56 deletions

View File

@@ -18,14 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-ZConfig
Version: 4.0
Version: 4.1
Release: 0
Summary: Structured Configuration Library
License: ZPL-2.1
URL: https://github.com/zopefoundation/ZConfig
Source: https://files.pythonhosted.org/packages/source/Z/ZConfig/ZConfig-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#zopefoundation/ZConfig#91
Patch0: support-python-312.patch
Source: https://files.pythonhosted.org/packages/source/Z/ZConfig/zconfig-%{version}.tar.gz
# PATCH-FIX-UPSTREAM: gh#zopefoundation/ZConfig#97
Patch1: py313.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module manuel}
@@ -64,7 +64,7 @@ Requires: %{name} = %{version}
This package contains documentation files for %{name}.
%prep
%autosetup -p1 -n ZConfig-%{version}
%autosetup -p1 -n zconfig-%{version}
rm -rf ZConfig.egg-info
rm docs/make.bat
# test works only in git repo