commit python-efl for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-efl for openSUSE:Factory checked in at 2023-09-02 22:07:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-efl (Old) and /work/SRC/openSUSE:Factory/.python-efl.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-efl" Sat Sep 2 22:07:24 2023 rev:8 rq:1108457 version:1.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-efl/python-efl.changes 2023-09-01 14:20:28.314932549 +0200 +++ /work/SRC/openSUSE:Factory/.python-efl.new.1766/python-efl.changes 2023-09-02 22:07:59.291982247 +0200 @@ -1,0 +2,6 @@ +Fri Sep 1 12:18:58 UTC 2023 - Simon Lees <sflees@suse.de> + +- Fix Leap build by tweeking dependencies and disabling docs as + they require newer tooling then Leap provides. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-efl.spec ++++++ --- /var/tmp/diff_new_pack.BvQwn3/_old 2023-09-02 22:08:00.560027559 +0200 +++ /var/tmp/diff_new_pack.BvQwn3/_new 2023-09-02 22:08:00.564027702 +0200 @@ -14,9 +14,14 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%{?!python_module:%define python_module() python3-%{**}} +%if 0%{?suse_version} > 1599 +%define build_doc 1 +%else +%define build_doc 0 +%endif -%{?!python_module:%define python_module() python3-%{**}} Name: python-efl Version: 1.26.0 Release: 0 @@ -26,7 +31,12 @@ URL: http://enlightenment.org Source: https://download.enlightenment.org/rel/bindings/python/%{name}-%{version}.tar.xz Patch0: cython3.patch +%if 0%{?suse_version} > 1599 +BuildRequires: %{python_module Cython3} +%else BuildRequires: %{python_module Cython} +BuildRequires: %{python_module setuptools} +%endif BuildRequires: %{python_module devel} BuildRequires: dbus-1-python3-devel BuildRequires: pkgconfig @@ -74,6 +84,7 @@ Python bindings of the Enlightenment Foundation Libraries (efl). %if 0%{?suse_version} +%if %{build_doc} %package -n python-efl-doc Summary: Documentation for python-efl Group: Documentation/HTML @@ -83,7 +94,7 @@ %description -n python-efl-doc HTML formated documentation for python-efl module. - +%endif %package -n python-efl-examples Summary: Examples of python-efl usage Group: Documentation/Other @@ -96,7 +107,9 @@ %prep %setup -q +%if 0%{?suse_version} > 1599 %patch0 -p1 +%endif # drop build date from doc to fix build-compare sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" ./doc/conf.py @@ -108,7 +121,9 @@ %endif %if 0%{?suse_version} %{python_expand $python setup.py build -g} -sphinx-build doc build/sphinx/html +%if %{build_doc} +python3 -m sphinx.cmd.build doc build/sphinx/html +%endif %else %py2_build %py3_build @@ -124,6 +139,7 @@ # documentation %if 0%{?suse_version} +%if %{build_doc} for _name in python-efl python3-efl; do install -m 0755 -d "%{buildroot}/%{_docdir}/$_name" cp -R build/sphinx/html "%{buildroot}/%{_docdir}/$_name" @@ -132,6 +148,7 @@ %python_expand %fdupes %{buildroot}%{_docdir} %python_expand %fdupes %{buildroot}%{$python_sitearch} +%endif # examples for _name in python-efl python3-efl; do @@ -149,8 +166,10 @@ %{python_sitearch}/* %exclude %{_docdir}/python3-efl/html/ +%if %{build_doc} %files -n python-efl-doc %{_docdir}/python3-efl +%endif %files -n python-efl-examples %{_datadir}/python3-efl
participants (1)
-
Source-Sync