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>
@ -22,7 +58,7 @@ Wed Feb 1 13:11:47 UTC 2023 - Ben Greiner <code@bnavigator.de>
-------------------------------------------------------------------
Mon Dec 5 13:49:15 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 5.1.1
- Update to version 5.1.1
* Add support for building arm64 wheels on macOS.
-------------------------------------------------------------------
@ -74,11 +110,11 @@ Fri Apr 5 10:09:51 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 4.3.1
* Drop support for Python 3.3.
* Add support for Python 3.7.
* Fix the possibility of a rare crash in the C extension when
* Fix the possibility of a rare crash in the C extension when
deallocating items.
* Add attributes to support pluralization on a Message and update
* Add attributes to support pluralization on a Message and update
the MessageFactory accordingly.
* Fix a regression copying Message objects in the Python
* Fix a regression copying Message objects in the Python
implementation.
-------------------------------------------------------------------

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.
#
# All modifications and additions to the file contributed by third parties
@ -27,15 +27,17 @@
%endif
%{?sle15_python_module_pythons}
Name: python-zope.i18nmessageid%{psuffix}
Version: 6.0.1
Version: 7.0
Release: 0
Summary: Zope Location
License: ZPL-2.1
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 pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION documentation requirements
@ -59,18 +61,18 @@ BuildArch: noarch
This package contains documentation files for %{name}.
%prep
%setup -q -n zope.i18nmessageid-%{version}
%autosetup -p1 -n zope_i18nmessageid-%{version}
rm -rf zope.i18nmessageid.egg-info
%build
%if !%{with test}
%python_build
sphinx-build -b html docs build/sphinx/html && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
%pyproject_wheel
sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees} build/sphinx/html/objects.inv
%endif
%install
%if !%{with test}
%python_install
%pyproject_install
# don't bother with development files
%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c
%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
%dir %{python_sitearch}/zope
%{python_sitearch}/zope/i18nmessageid
%{python_sitearch}/zope.i18nmessageid-%{version}*-info
%{python_sitearch}/zope.i18nmessageid-%{version}.dist-info
%{python_sitearch}/zope.i18nmessageid-%{version}*-nspkg.pth
%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.