Compare commits

1 Commits
main ... 1.1

4 changed files with 12 additions and 60 deletions

View File

@@ -1,47 +1,3 @@
-------------------------------------------------------------------
Tue Apr 1 16:05:37 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make it compatible with older setuptools
-------------------------------------------------------------------
Thu Mar 27 00:40:10 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Normalize metadata directory name.
-------------------------------------------------------------------
Wed Jan 22 00:59:15 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Explicitly BuildRequire sphinx_rtd_theme.
-------------------------------------------------------------------
Mon Oct 28 21:47:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.0:
* C extension now enables multi-phase module initialization
(PEP 489). For CPython >= 3.11, the hookable type is now a
heap-allocated type. See:
https://docs.python.org/3.13/howto/isolating-extensions.html
* Drop support for Python 3.7.
* Add support for Python 3.13.
* Build windows wheels on GHA.
-------------------------------------------------------------------
Fri Dec 29 12:02:12 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 6.0:
* Drop support for Python 2.7, 3.5, 3.6.
* Add support for Python 3.12.
-------------------------------------------------------------------
Wed Jul 26 07:30:49 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
- Drop sphinx doctrees for reproducible builds
-------------------------------------------------------------------
Fri Jun 9 06:17:27 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 3 11:25:15 UTC 2023 - Martin Liška <mliska@suse.cz> Wed May 3 11:25:15 UTC 2023 - Martin Liška <mliska@suse.cz>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-zope.hookable # spec file
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2023 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
@@ -25,23 +25,19 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%{?sle15_python_module_pythons}
Name: python-zope.hookable%{psuffix} Name: python-zope.hookable%{psuffix}
Version: 7.0 Version: 5.4
Release: 0 Release: 0
Summary: Zope hookable Summary: Zope hookable
License: ZPL-2.1 License: ZPL-2.1
URL: https://github.com/zopefoundation/zope.hookable URL: https://github.com/zopefoundation/zope.hookable
Source: https://files.pythonhosted.org/packages/source/z/zope.hookable/zope_hookable-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/z/zope.hookable/zope.hookable-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
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
BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx
BuildRequires: python3-sphinx_rtd_theme
# /SECTION # /SECTION
# SECTION testing requirements # SECTION testing requirements
%if %{with test} %if %{with test}
@@ -71,18 +67,18 @@ BuildArch: noarch
This package contains documentation files for %{name}. This package contains documentation files for %{name}.
%prep %prep
%autosetup -p1 -n zope_hookable-%{version} %setup -q -n zope.hookable-%{version}
rm -rf zope.hookable.egg-info rm -rf zope.hookable.egg-info
%build %build
%if !%{with test} %if !%{with test}
%pyproject_wheel %python_build
sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees} build/sphinx/html/objects.inv sphinx-build -b html docs build/sphinx/html && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
%endif %endif
%install %install
%if !%{with test} %if !%{with test}
%pyproject_install %python_install
%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/hookable/_zope_hookable.c %{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/hookable/_zope_hookable.c
%fdupes %{buildroot}%{$python_sitearch} %fdupes %{buildroot}%{$python_sitearch}
} }
@@ -100,7 +96,7 @@ pushd src
%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/hookable %{python_sitearch}/zope/hookable
%{python_sitearch}/zope[_.]hookable-%{version}.dist-info %{python_sitearch}/zope.hookable-%{version}*-info
%{python_sitearch}/zope.hookable-%{version}*-nspkg.pth %{python_sitearch}/zope.hookable-%{version}*-nspkg.pth
%endif %endif

BIN
zope.hookable-5.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
zope_hookable-7.0.tar.gz (Stored with Git LFS)

Binary file not shown.