15
0

Accepting request 905715 from home:jacraig:branches:devel:languages:python

- Update to 3.6.0
  * Added support for Python 3.8, 3.9 and 3.10. This primarily
    involves avoiding the new-in-3.8 validation of the format
    string when using the ‘safe-template’ format style, since
    that’s not supported in the Python standard library.
  * Added ZConfig.pygments module containing a lexer compatible
    with the pygments library. Made discoverable via an entry
    point; use zconfig as the highlight language for code-block
    directives in Sphinx documents.
- Drop patch that was integrated upstream.

OBS-URL: https://build.opensuse.org/request/show/905715
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZConfig?expand=0&rev=15
This commit is contained in:
2021-07-12 09:29:04 +00:00
committed by Git OBS Bridge
parent 2790947c07
commit ae36cb25f6
5 changed files with 20 additions and 172 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ZConfig
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ZConfig
Version: 3.5.0
Version: 3.6.0
Release: 0
Summary: Structured Configuration Library
License: ZPL-2.1
Group: Development/Libraries/Python
URL: https://github.com/zopefoundation/ZConfig
Source: https://files.pythonhosted.org/packages/source/Z/ZConfig/ZConfig-%{version}.tar.gz
# UPSTREAM PATCH (partial): gh#zopefoundation/ZConfig#70
Patch0: python-38-support.patch
# Testing requirements:
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module manuel}
@@ -36,7 +34,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@@ -66,7 +64,6 @@ This package contains documentation files for %{name}.
%prep
%setup -q -n ZConfig-%{version}
%autopatch -p1
rm -rf ZConfig.egg-info
rm doc/make.bat
# test works only in git repo