17
0

2 Commits

4 changed files with 12 additions and 20 deletions

View File

@@ -1,13 +1,3 @@
-------------------------------------------------------------------
Tue Jan 6 04:40:57 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 8.1:
* Remove unnecessary setuptools runtime dependency.
* Replace pkg_resources namespace with PEP 420 native namespace.
* Add support for Python 3.12, 3.13.
* Drop support for Python 3.7, 3.8.
- BuildRequire ourselves for the test flavor.
-------------------------------------------------------------------
Mon May 5 11:08:56 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.schema
#
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,13 +26,13 @@
%endif
%{?sle15_python_module_pythons}
Name: python-zope.schema%{psuffix}
Version: 8.1
Version: 7.0.1
Release: 0
Summary: Zope interface extension for defining data schemas
License: ZPL-2.1
URL: https://pypi.python.org/pypi/zope.schema
Source: https://files.pythonhosted.org/packages/source/z/zope.schema/zope_schema-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.9}
Source: https://files.pythonhosted.org/packages/source/z/zope.schema/zope.schema-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -41,8 +41,9 @@ Requires: python-zope.event
Requires: python-zope.interface >= 5.0.0
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module zope.event}
BuildRequires: %{python_module zope.i18nmessageid}
BuildRequires: %{python_module zope.schema = %{version}}
BuildRequires: %{python_module zope.interface >= 3.6.0}
BuildRequires: %{python_module zope.testing}
BuildRequires: %{python_module zope.testrunner}
%endif
@@ -59,7 +60,7 @@ specify characteristics such as its value being read-only or not
required.
%prep
%setup -q -n zope_schema-%{version}
%setup -q -n zope.schema-%{version}
rm -rf zope.schema.egg-info
%build
@@ -82,7 +83,8 @@ rm -rf zope.schema.egg-info
%doc COPYRIGHT.txt CHANGES.rst README.rst
%dir %{python_sitelib}/zope
%{python_sitelib}/zope/schema
%{python_sitelib}/zope[_.]schema-%{version}.dist-info
%{python_sitelib}/zope[_.]schema-%{version}*info
%{python_sitelib}/zope.schema-%{version}*pth
%endif
%changelog

BIN
zope.schema-7.0.1.tar.gz LFS Normal file

Binary file not shown.

View File

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