forked from pool/python-python-barcode
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
This commit is contained in:
committed by
Git OBS Bridge
parent
c610f74914
commit
8021f49d52
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5eceb695aa71281b33b505549f93ddcbe4c41562b1a46bd632ebaab3705c369
|
||||
size 227176
|
3
python-barcode-0.11.0.tar.gz
Normal file
3
python-barcode-0.11.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5f3f9b3c03a373e8f7cd78e21cc847bedbce161f411da1fc56b9c6c13938920c
|
||||
size 231591
|
@@ -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 <tchvatal@suse.com>
|
||||
|
||||
|
@@ -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/*
|
||||
|
Reference in New Issue
Block a user