Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fpdf2 for openSUSE:Factory 
checked in at 2024-10-30 17:37:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fpdf2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-fpdf2.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fpdf2"

Wed Oct 30 17:37:42 2024 rev:2 rq:1219319 version:2.7.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fpdf2/python-fpdf2.changes        
2024-09-19 21:17:24.946652784 +0200
+++ /work/SRC/openSUSE:Factory/.python-fpdf2.new.2020/python-fpdf2.changes      
2024-10-30 17:38:20.510073105 +0100
@@ -1,0 +2,7 @@
+Tue Oct 29 06:47:30 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Using obs_scm service to download from repository
+  without some files to do not distribute CC-noncomercial licensed
+  ttf. boo#1232452
+
+-------------------------------------------------------------------

Old:
----
  fpdf2-2.7.9.tar.gz

New:
----
  _service
  fpdf2-2.7.9.obscpio
  fpdf2.obsinfo

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

Other differences:
------------------
++++++ python-fpdf2.spec ++++++
--- /var/tmp/diff_new_pack.hmVF1p/_old  2024-10-30 17:38:21.130099079 +0100
+++ /var/tmp/diff_new_pack.hmVF1p/_new  2024-10-30 17:38:21.134099246 +0100
@@ -23,32 +23,34 @@
 Summary:        Simple & fast PDF generation for Python
 License:        LGPL-3.0-or-later
 URL:            https://py-pdf.github.io/fpdf2/
-Source:         
https://github.com/py-pdf/fpdf2/archive/refs/tags/%{version}.tar.gz#/fpdf2-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
+# The _service download the source and repack without some ttf files
+# that has non-commercial license. boo#1232452
+Source:         fpdf2-%{version}.tar.xz
+BuildRequires:  %{python_module Pillow >= 6.2.2}
+BuildRequires:  %{python_module defusedxml}
+BuildRequires:  %{python_module fonttools >= 4.34.0}
+BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
-BuildRequires:  %{python_module defusedxml}
-BuildRequires:  %{python_module numpy}
-BuildRequires:  %{python_module Pillow >= 6.2.2}
-BuildRequires:  %{python_module fonttools >= 4.34.0}
+BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module pytest >= 4.0}
-BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module camelot-py} 
-BuildRequires:  %{python_module tabula-py} 
-BuildRequires:  %{python_module opencv} 
-BuildRequires:  %{python_module qrcode}
-BuildRequires:  %{python_module ghostscript}
 BuildRequires:  %{python_module cryptography}
+BuildRequires:  %{python_module endesive}
+BuildRequires:  %{python_module ghostscript}
 BuildRequires:  %{python_module lxml}
+BuildRequires:  %{python_module opencv}
+BuildRequires:  %{python_module pytest-cov}
+BuildRequires:  %{python_module qrcode}
+BuildRequires:  %{python_module tabula-py}
 BuildRequires:  %{python_module uharfbuzz}
-BuildRequires:  %{python_module endesive}
 BuildRequires:  java
 # /SECTION
 BuildRequires:  fdupes
-Requires:       python-defusedxml
 Requires:       python-Pillow >= 6.2.2
+Requires:       python-defusedxml
 Requires:       python-fonttools >= 4.34.0
 BuildArch:      noarch
 %python_subpackages
@@ -67,7 +69,10 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest -s -k 'not (test_png_url or test_bidi_conformance or 
test_bidi_character or test_page_background or test_insert_jpg_jpxdecode)'
+donttest="test_png_url or test_bidi_conformance or test_bidi_character or 
test_page_background or test_insert_jpg_jpxdecode"
+# Requires non-commercial licensed file SBL_Hbrw.ttf
+donttest+=" or test_bidi_paragraph_direction or test_hebrew_diacritics or 
test_text_with_parentheses"
+%pytest -s -k "not ($donttest)"
 
 %files %{python_files}
 %doc README.md

++++++ _service ++++++
<services>
  <service name="obs_scm" mode="manual">
    <param name="url">https://github.com/py-pdf/fpdf2</param>
    <param name="scm">git</param>
    <param name="exclude">test/text_shaping/SBL_Hbrw.ttf</param>
    <param name="version">2.7.9</param>
    <param name="revision">2.7.9</param>
  </service>
  <service mode="manual" name="set_version" />
  <service mode="buildtime" name="tar" />
  <service mode="buildtime" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
</services>

++++++ fpdf2.obsinfo ++++++
name: fpdf2
version: 2.7.9
mtime: 1715961501
commit: 1e366a4455a44c806819867ea188859727699cdc

Reply via email to