From 8021f49d529877b2afe61924dc068943637a7b73ba9ba75e7c49f25130b3f6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Mar 2020 14:02:55 +0000 Subject: [PATCH] Accepting request 786899 from home:pgajdos:python - version update to 0.11.0 * Added basic support for multiline text. * Dropped lots of older compat-only code and other cleanups. * Fixed a bug in the API when combining certain barcodes and writers. * Published documentation again and updated all project references. * Fix python_barcode.get mixups between options as writer_options. Previously, some writer/barcode combinations worked fine, while others failed. Now all work consistently. * The cli tool has been fixed and should now work as expected again. OBS-URL: https://build.opensuse.org/request/show/786899 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-barcode?expand=0&rev=9 --- python-barcode-0.10.0.tar.gz | 3 --- python-barcode-0.11.0.tar.gz | 3 +++ python-python-barcode.changes | 11 +++++++++++ python-python-barcode.spec | 10 ++++++---- 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 python-barcode-0.10.0.tar.gz create mode 100644 python-barcode-0.11.0.tar.gz diff --git a/python-barcode-0.10.0.tar.gz b/python-barcode-0.10.0.tar.gz deleted file mode 100644 index 59c18f0..0000000 --- a/python-barcode-0.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5eceb695aa71281b33b505549f93ddcbe4c41562b1a46bd632ebaab3705c369 -size 227176 diff --git a/python-barcode-0.11.0.tar.gz b/python-barcode-0.11.0.tar.gz new file mode 100644 index 0000000..82574e5 --- /dev/null +++ b/python-barcode-0.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f3f9b3c03a373e8f7cd78e21cc847bedbce161f411da1fc56b9c6c13938920c +size 231591 diff --git a/python-python-barcode.changes b/python-python-barcode.changes index cb65ea1..ff41edc 100644 --- a/python-python-barcode.changes +++ b/python-python-barcode.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Mar 20 13:50:51 UTC 2020 - pgajdos@suse.com + +- version update to 0.11.0 + * Added basic support for multiline text. + * Dropped lots of older compat-only code and other cleanups. + * Fixed a bug in the API when combining certain barcodes and writers. + * Published documentation again and updated all project references. + * Fix python_barcode.get mixups between options as writer_options. Previously, some writer/barcode combinations worked fine, while others failed. Now all work consistently. + * The cli tool has been fixed and should now work as expected again. + ------------------------------------------------------------------- Sat May 25 09:01:04 UTC 2019 - Tomáš Chvátal diff --git a/python-python-barcode.spec b/python-python-barcode.spec index bae8eae..f76f592 100644 --- a/python-python-barcode.spec +++ b/python-python-barcode.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-barcode # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2019 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -21,7 +21,7 @@ %define skip_python2 1 %define base_name python-barcode Name: python-%{base_name} -Version: 0.10.0 +Version: 0.11.0 Release: 0 Summary: Library to create Barcodes with Python License: MIT @@ -30,6 +30,7 @@ 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} BuildRequires: dejavu-fonts @@ -49,7 +50,7 @@ Library to create standard barcodes with Python. No external modules needed (opt # Fix rpmlint warning about too many +x perms when these files get installed later. find . -type f -exec chmod a-x {} + # doc buildscripts we don't wanna ship -rm docs/{Makefile,make.bat} +rm docs/Makefile %build %python_build @@ -62,7 +63,8 @@ find "%{buildroot}" -type f -name "*.ttf" | while read i; do done %check -%python_exec test.py +sed -i '/cov/d' setup.cfg +%pytest %files %{python_files} %doc docs/*