Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package translate-toolkit for 
openSUSE:Factory checked in at 2025-06-20 16:48:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/translate-toolkit (Old)
 and      /work/SRC/openSUSE:Factory/.translate-toolkit.new.31170 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "translate-toolkit"

Fri Jun 20 16:48:12 2025 rev:61 rq:1287189 version:3.15.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/translate-toolkit/translate-toolkit.changes      
2025-01-17 18:37:02.548136140 +0100
+++ 
/work/SRC/openSUSE:Factory/.translate-toolkit.new.31170/translate-toolkit.changes
   2025-06-20 16:48:26.793869781 +0200
@@ -1,0 +2,16 @@
+Thu Jun 19 16:22:38 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Fix the doc build
+
+-------------------------------------------------------------------
+Wed Jun 18 11:35:40 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Update to 3.15.5
+  * Improvements to multiple formats.
+  * Packaging now follows PEP 621.
+  * Documentation improvements and cleanups.
+  * Added support for Compose Multiplatform Resources
+  * Added language definition for Toki Pona
+- Convert to libalternatives
+
+-------------------------------------------------------------------

Old:
----
  translate_toolkit-3.14.5.tar.gz

New:
----
  translate_toolkit-3.15.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ translate-toolkit.spec ++++++
--- /var/tmp/diff_new_pack.9K7sXl/_old  2025-06-20 16:48:27.713907959 +0200
+++ /var/tmp/diff_new_pack.9K7sXl/_new  2025-06-20 16:48:27.713907959 +0200
@@ -34,6 +34,7 @@
 %endif
 %define modname translate_toolkit
 %define pkgname translate-toolkit
+%bcond_without libalternatives
 
 %define binaries_and_manpages %{shrink:\
     pretranslate poclean pocompile poconflicts podebug pofilter pogrep pomerge 
porestructure posegment poswap poterminology \
@@ -49,18 +50,18 @@
 %define manpages translatetoolkit %binaries_and_manpages
 
 Name:           translate-toolkit%{psuffix}
-Version:        3.14.5
+Version:        3.15.5
 Release:        0
 Summary:        Tools and API to assist with translation and software 
localization
 License:        GPL-2.0-or-later
 URL:            https://toolkit.translatehouse.org/
 Source:         
https://files.pythonhosted.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
 Patch0:         xliff-xsd-no-network.patch
-BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module base >= 3.9}
 BuildRequires:  %{python_module cheroot >= 9}
-BuildRequires:  %{python_module cwcwidth >= 0.1.9}
+BuildRequires:  %{python_module cwcwidth >= 0.1.10}
 BuildRequires:  %{python_module iniparse >= 0.5}
-BuildRequires:  %{python_module lxml >= 4.6.3}
+BuildRequires:  %{python_module lxml >= 5.2.0}
 BuildRequires:  %{python_module matplotlib}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module phply >= 1.2.5}
@@ -69,18 +70,18 @@
 BuildRequires:  %{python_module setuptools_scm >= 6.2}
 BuildRequires:  %{python_module vobject >= 0.9.6.1}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  gettext-runtime
 BuildRequires:  git-core
 BuildRequires:  iso-codes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       gettext-runtime
 Requires:       python
-Requires:       python-cwcwidth >= 0.1.9
-Requires:       python-lxml >= 4.6.3
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires:       python-cwcwidth >= 0.1.10
+Requires:       python-lxml >= 5.2.0
 # The following are for the full experience of translate-toolkit
 Recommends:     %{name}-doc
 Recommends:     %{name}-man
@@ -179,8 +180,6 @@
 %setup -q -n %{modname}-%{version}
 %autopatch -p1
 
-sed -i 296"s|'share'|'translate/share'|" setup.py
-
 #Fix for shebang errors:
 for lib in translate/{*.py,*/*.py,*/*/*.py}; do
  sed -i '\|%{_bindir}/env |d' $lib
@@ -198,7 +197,7 @@
 # build docs
 pushd docs
 # Can't use parallel build here!
-%make_build -j1 man html
+%make_build SPHINXBUILD=sphinx-build -j1 man html
 #no hidden files
 find _build -name '.?*' -delete
 popd
@@ -253,11 +252,9 @@
 
 %if !%{with test}
 %if !%{with doc}
-%post
-%python_install_alternative %binaries
 
-%postun
-%python_uninstall_alternative pretranslate
+%pre
+%python_libalternatives_reset_alternative pretranslate
 
 %files %{python_files}
 %license COPYING
@@ -268,16 +265,18 @@
 
 %else
 
-%post
-%python_install_alternative %{lua: for m in 
string.gmatch(rpm.expand("%manpages"),"%S+") do print(m .. ".1 ") end}
-
-%postun
-%python_uninstall_alternative translatetoolkit.1%{?ext_man}
+%pre
+%python_libalternatives_reset_alternative translatetoolkit.1%{?ext_man}
 
 %files %{python_files}
 %license COPYING
 %doc README.rst
 %{lua: for m in string.gmatch(rpm.expand("%manpages"),"%S+") do 
print(rpm.expand("%python_alternative %{_mandir}/man1/" .. m .. ".1") .. "\n") 
end}
+# needed because we are building manpages separately
+%if %{with libalternatives}
+%{lua: for m in string.gmatch(rpm.expand("%manpages"),"%S+") do 
print(rpm.expand("%dir %{_datadir}/libalternatives/" .. m .. "") .. "\n") end}
+%{lua: for m in string.gmatch(rpm.expand("%manpages"),"%S+") do 
print(rpm.expand("%{_datadir}/libalternatives/" .. m .. 
"/*%{python_version_nodots}.conf") .. "\n") end}
+%endif
 
 %files -n %{pkgname}-doc
 %dir %{_defaultdocdir}/%{modname}

++++++ translate_toolkit-3.14.5.tar.gz -> translate_toolkit-3.15.5.tar.gz ++++++
++++ 6471 lines of diff (skipped)

Reply via email to