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>
|
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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@@ -25,14 +24,16 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-zope.schema%{psuffix}
|
Name: python-zope.schema%{psuffix}
|
||||||
Version: 7.0.1
|
Version: 8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Zope interface extension for defining data schemas
|
Summary: Zope interface extension for defining data schemas
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
URL: https://pypi.python.org/pypi/zope.schema
|
URL: https://pypi.python.org/pypi/zope.schema
|
||||||
Source: https://files.pythonhosted.org/packages/source/z/zope.schema/zope.schema-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/z/zope.schema/zope_schema-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -40,9 +41,8 @@ Requires: python-zope.event
|
|||||||
Requires: python-zope.interface >= 5.0.0
|
Requires: python-zope.interface >= 5.0.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module zope.event}
|
|
||||||
BuildRequires: %{python_module zope.i18nmessageid}
|
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.testing}
|
||||||
BuildRequires: %{python_module zope.testrunner}
|
BuildRequires: %{python_module zope.testrunner}
|
||||||
%endif
|
%endif
|
||||||
@@ -59,15 +59,15 @@ specify characteristics such as its value being read-only or not
|
|||||||
required.
|
required.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n zope.schema-%{version}
|
%setup -q -n zope_schema-%{version}
|
||||||
rm -rf zope.schema.egg-info
|
rm -rf zope.schema.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -80,7 +80,9 @@ rm -rf zope.schema.egg-info
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc COPYRIGHT.txt CHANGES.rst README.rst
|
%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
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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