Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-bsddb3 for openSUSE:Factory checked in at 2024-02-05 22:01:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bsddb3 (Old) and /work/SRC/openSUSE:Factory/.python-bsddb3.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bsddb3" Mon Feb 5 22:01:22 2024 rev:28 rq:1144077 version:6.2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bsddb3/python-bsddb3.changes 2024-01-16 21:37:49.056108341 +0100 +++ /work/SRC/openSUSE:Factory/.python-bsddb3.new.1815/python-bsddb3.changes 2024-02-05 22:01:30.339674936 +0100 @@ -1,0 +2,8 @@ +Mon Feb 5 04:35:19 UTC 2024 - Steve Kowalik <[email protected]> + +- Add patch support-python312.patch: + * Fix the test script to support Python 3.12. +- Use fdupes. +- Switch to autosetup macro. + +------------------------------------------------------------------- New: ---- support-python312.patch BETA DEBUG BEGIN: New: - Add patch support-python312.patch: * Fix the test script to support Python 3.12. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bsddb3.spec ++++++ --- /var/tmp/diff_new_pack.NtlOXM/_old 2024-02-05 22:01:31.039700261 +0100 +++ /var/tmp/diff_new_pack.NtlOXM/_new 2024-02-05 22:01:31.039700261 +0100 @@ -16,21 +16,21 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bsddb3 Version: 6.2.9 Release: 0 Summary: Python interface for Berkeley DB License: BSD-3-Clause -Group: Development/Libraries/Python URL: http://pypi.python.org/pypi/bsddb3 #Freecode-URL: https://www.jcea.es/programacion/pybsddb.htm Source: https://files.pythonhosted.org/packages/source/b/bsddb3/bsddb3-%{version}.tar.gz +Patch0: support-python312.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: db-devel +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-testsuite %python_subpackages @@ -43,7 +43,6 @@ %package devel Summary: Development files for %{name} -Group: Development/Libraries/Python Requires: %{name} = %{version} %description devel @@ -55,7 +54,7 @@ This package contains the development files for %{name} %prep -%setup -q -n bsddb3-%{version} +%autosetup -p1 -n bsddb3-%{version} sed -i "1d" Lib/bsddb/dbshelve.py # Fix non-executable bits %build @@ -64,6 +63,7 @@ %install %pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand rm -rf %{buildroot}%{$python_sitearch}/bsddb3/tests %check ++++++ support-python312.patch ++++++ Index: bsddb3-6.2.9/test3.py =================================================================== --- bsddb3-6.2.9.orig/test3.py +++ bsddb3-6.2.9/test3.py @@ -152,13 +152,13 @@ try : # Check in the future if this sti # Python 2.7 and 3.2 from unittest.runner import _TextTestResult except ImportError : - from unittest import _TextTestResult + from unittest import TextTestResult -class ImmediateTestResult(_TextTestResult): +class ImmediateTestResult(TextTestResult): - __super_init = _TextTestResult.__init__ - __super_startTest = _TextTestResult.startTest - __super_printErrors = _TextTestResult.printErrors + __super_init = TextTestResult.__init__ + __super_startTest = TextTestResult.startTest + __super_printErrors = TextTestResult.printErrors def __init__(self, stream, descriptions, verbosity, debug=False, count=None, progress=False):
