14
0
forked from pool/python-qrcode

Accepting request 927508 from home:DocB:branches:devel:languages:python

- version 7.3.1
  * Improvements for embeded image.
  * Skip color mask if QR is black and white
  * Add Styled PIL image factory, allowing different color masks and shapes in QR codes
  * Small performance inprovement
  * Add check for border size parameter
  * Add --ascii parameter to command line interface allowing to output ascii when stdout is piped
  * Add --output parameter to command line interface to specify output file
  * Accept RGB tuples in fill_color and back_color
  * Add to_string method to SVG images
  * Replace inline styles with SVG attributes to avoid CSP issues
  * Add Python3.10 to supported versions
  * Drop Python < 3.6 support.

OBS-URL: https://build.opensuse.org/request/show/927508
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-qrcode?expand=0&rev=19
This commit is contained in:
2021-10-26 14:17:30 +00:00
committed by Git OBS Bridge
parent d005a22d83
commit e4f18d483b
4 changed files with 25 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-qrcode
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-qrcode
Version: 6.1
Version: 7.3.1
Release: 0
Summary: QR Code image generator
License: BSD-3-Clause
@@ -33,7 +35,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
Recommends: python-Pillow
BuildArch: noarch
%python_subpackages