Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c93d3bd4ff | |||
| 21292e9e14 | |||
| 6952209d24 | |||
| 3d30719198 | |||
| c51b39255d | |||
| 2c124ffa4d |
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Modernize packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 20:35:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use python3 module python for sle15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 6 12:40:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-zope.schema
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
@@ -25,14 +24,16 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-zope.schema%{psuffix}
|
||||
Version: 7.0.1
|
||||
Version: 8.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.7}
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zope.schema/zope_schema-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -40,9 +41,8 @@ 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.interface >= 3.6.0}
|
||||
BuildRequires: %{python_module zope.schema = %{version}}
|
||||
BuildRequires: %{python_module zope.testing}
|
||||
BuildRequires: %{python_module zope.testrunner}
|
||||
%endif
|
||||
@@ -59,15 +59,15 @@ 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
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@@ -80,7 +80,9 @@ rm -rf zope.schema.egg-info
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc COPYRIGHT.txt CHANGES.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
%dir %{python_sitelib}/zope
|
||||
%{python_sitelib}/zope/schema
|
||||
%{python_sitelib}/zope[_.]schema-%{version}.dist-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
BIN
zope.schema-7.0.1.tar.gz
LFS
BIN
zope.schema-7.0.1.tar.gz
LFS
Binary file not shown.
3
zope_schema-8.1.tar.gz
Normal file
3
zope_schema-8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d9faa7f91a7bf09fcab2c039d9182fcc9ce7042dc77e18d3df277904aee0948
|
||||
size 109902
|
||||
Reference in New Issue
Block a user