Sync from SUSE:SLFO:Main python-zope.i18nmessageid revision 57e7ada33d5f64e2dcf38a5c1b97ec4d

This commit is contained in:
Adrian Schröter 2024-12-13 12:41:54 +01:00
parent 9e48815dcf
commit 786b265f20
4 changed files with 54 additions and 16 deletions

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Mon Oct 28 21:49:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.0:
* Drop support for Python 3.7.
* Build Windows wheels on GHA.
* Add support for Python 3.13.
* Enable multi-phase module initialization (PEP 489) for all
supported Python versions. See this "how-to" doc for
rationale and steps:
https://docs.python.org/3.13/howto/isolating-extensions.html
* Make the hookable extension type heap-allocated for Python >=
3.9. Likewise, see the doc above for rationale and steps.
For Python < 3.9, the hookable extension type continues to be
allocated statically, even though the module itself is
allocated dynamically.
- drop fix-intersphinx-mapping.patch (obsolete)
-------------------------------------------------------------------
Wed Sep 11 05:10:50 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch fix-intersphinx-mapping.patch:
* Fix the intersphinx mapping.
- Switch to autosetup macro.
-------------------------------------------------------------------
Tue Jan 2 21:42:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.1.0:
* Add support for Python 3.12.
-------------------------------------------------------------------
Wed Jul 26 07:31:38 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
- Drop sphinx doctrees for reproducible builds
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 5 14:24:11 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri May 5 14:24:11 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file for package python-zope.i18nmessageid
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013-2022 LISA GmbH, Bingen, Germany. # Copyright (c) 2013-2022 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -27,15 +27,17 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-zope.i18nmessageid%{psuffix} Name: python-zope.i18nmessageid%{psuffix}
Version: 6.0.1 Version: 7.0
Release: 0 Release: 0
Summary: Zope Location Summary: Zope Location
License: ZPL-2.1 License: ZPL-2.1
URL: https://github.com/zopefoundation/zope.i18nmessageid URL: https://github.com/zopefoundation/zope.i18nmessageid
Source: https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope_i18nmessageid-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION documentation requirements # SECTION documentation requirements
@ -59,18 +61,18 @@ BuildArch: noarch
This package contains documentation files for %{name}. This package contains documentation files for %{name}.
%prep %prep
%setup -q -n zope.i18nmessageid-%{version} %autosetup -p1 -n zope_i18nmessageid-%{version}
rm -rf zope.i18nmessageid.egg-info rm -rf zope.i18nmessageid.egg-info
%build %build
%if !%{with test} %if !%{with test}
%python_build %pyproject_wheel
sphinx-build -b html docs build/sphinx/html && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees} build/sphinx/html/objects.inv
%endif %endif
%install %install
%if !%{with test} %if !%{with test}
%python_install %pyproject_install
# don't bother with development files # don't bother with development files
%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c %{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c
%fdupes %{buildroot}%{$python_sitearch} %fdupes %{buildroot}%{$python_sitearch}
@ -88,7 +90,7 @@ sphinx-build -b html docs build/sphinx/html && rm build/sphinx/html/.buildinfo b
%doc CHANGES.rst COPYRIGHT.txt README.rst %doc CHANGES.rst COPYRIGHT.txt README.rst
%dir %{python_sitearch}/zope %dir %{python_sitearch}/zope
%{python_sitearch}/zope/i18nmessageid %{python_sitearch}/zope/i18nmessageid
%{python_sitearch}/zope.i18nmessageid-%{version}*-info %{python_sitearch}/zope.i18nmessageid-%{version}.dist-info
%{python_sitearch}/zope.i18nmessageid-%{version}*-nspkg.pth %{python_sitearch}/zope.i18nmessageid-%{version}*-nspkg.pth
%endif %endif

BIN
zope.i18nmessageid-6.0.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
zope_i18nmessageid-7.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.