17
0

6 Commits

Author SHA256 Message Date
c93d3bd4ff Accepting request 1325519 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1325519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.schema?expand=0&rev=19
2026-01-06 16:45:51 +00:00
21292e9e14 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.schema?expand=0&rev=36
2026-01-06 04:41:14 +00:00
6952209d24 Accepting request 1274645 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1274645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.schema?expand=0&rev=18
2025-05-05 20:29:50 +00:00
3d30719198 - Modernize packaging
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.schema?expand=0&rev=34
2025-05-05 14:55:50 +00:00
c51b39255d Accepting request 1090389 from devel:languages:python
- use python3 module python for sle15

OBS-URL: https://build.opensuse.org/request/show/1090389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.schema?expand=0&rev=17
2023-06-04 14:41:21 +00:00
2c124ffa4d - use python3 module python for sle15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.schema?expand=0&rev=32
2023-06-01 20:36:20 +00:00
4 changed files with 37 additions and 15 deletions

View File

@@ -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>

View File

@@ -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

Binary file not shown.

3
zope_schema-8.1.tar.gz Normal file
View File

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