Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-barcode for 
openSUSE:Factory checked in at 2022-07-15 13:52:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-barcode (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-barcode.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-barcode"

Fri Jul 15 13:52:45 2022 rev:7 rq:989337 version:0.14.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-barcode/python-python-barcode.changes  
    2020-10-26 16:22:11.963219187 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-python-barcode.new.1523/python-python-barcode.changes
    2022-07-15 13:52:58.987573213 +0200
@@ -1,0 +2,21 @@
+Thu Jul 14 20:48:46 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 0.14.0
+  * Breaking: The default dimensions have changed slightly. This is
+    so that the results of generating a PNG and an SVG look more
+    alike.
+  * Previous versions included an empty text element for SVGs with
+    no comment. This is no longer the case.
+  * Some internals have been improved so as to allow better
+    subclassing. Subclasses of Barcode can now override
+    default_writer_options and default_writer().
+  * A guardbar parameter has been added to EAN barcodes. This
+    renders barcodes with guardars (longer bars).
+  * Added support for Python 3.10.
+  * The documentation setup has been redone, hopefully squashing a
+    lot of legacy quirks.
+  * Previous versions installed the tests module. This was not
+    intentional and have been fixed.
+- Remove ancient pathlib dependency
+
+-------------------------------------------------------------------

Old:
----
  python-barcode-0.13.1.tar.gz

New:
----
  python-barcode-0.14.0.tar.gz

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

Other differences:
------------------
++++++ python-python-barcode.spec ++++++
--- /var/tmp/diff_new_pack.SSbV2I/_old  2022-07-15 13:52:59.431573356 +0200
+++ /var/tmp/diff_new_pack.SSbV2I/_new  2022-07-15 13:52:59.435573358 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-python-barcode
+# spec file
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2019 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -21,14 +21,13 @@
 %define skip_python2 1
 %define base_name python-barcode
 Name:           python-%{base_name}
-Version:        0.13.1
+Version:        0.14.0
 Release:        0
 Summary:        Library to create Barcodes with Python
 License:        MIT
 URL:            https://github.com/WhyNotHugo/python-barcode
 Source:         
https://files.pythonhosted.org/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
 BuildRequires:  %{python_module Pillow}
-BuildRequires:  %{python_module pathlib}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
@@ -37,9 +36,9 @@
 BuildRequires:  python-rpm-macros
 Requires:       dejavu-fonts
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
-Provides:       python-pyBarcode
-Obsoletes:      python-pyBarcode
+Requires(postun):update-alternatives
+Provides:       python-pyBarcode = %{version}-%{release}
+Obsoletes:      python-pyBarcode < %{version}-%{release}
 BuildArch:      noarch
 %python_subpackages
 
@@ -59,11 +58,15 @@
 %install
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/python-barcode
-%python_expand rm -r %{buildroot}%{$python_sitelib}/tests
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 find %{buildroot} -type f -name "*.ttf" | while read i; do
        ln -fs "%{_datadir}/fonts/truetype/${i##*/}" "$i"
 done
+%{python_expand # copy docs for deduplication
+mkdir -p %{buildroot}%{_docdir}
+cp -r docs %{buildroot}%{_docdir}/$python-python-barcode
+%fdupes %{buildroot}%{_docdir}/$python-python-barcode
+}
 
 %check
 sed -i '/cov/d' setup.cfg
@@ -76,9 +79,10 @@
 %python_uninstall_alternative python-barcode
 
 %files %{python_files}
-%doc docs/*
 %license LICENCE
-%{python_sitelib}/*
+%doc %{_docdir}/%{python_flavor}-python-barcode
+%{python_sitelib}/barcode
+%{python_sitelib}/python_barcode-%{version}*-info
 %python_alternative %{_bindir}/python-barcode
 
 %changelog

++++++ python-barcode-0.13.1.tar.gz -> python-barcode-0.14.0.tar.gz ++++++
++++ 3920 lines of diff (skipped)

Reply via email to