14
0
Commit Graph

10 Commits

Author SHA256 Message Date
008bab3129 - Update to 1.3.6:
- Code improvements / refactorings
  - Optimized generation of numerical QR Codes
  - MUCH faster PNG writing (approx. twice as fast)
  - Don't raise a UnicodeError if the user provided binary data
    and sets the mode explicitly to 'binary'. Fixed by Mathieu
    <https://github.com/albatros69> (PR #13)
  - The builder raises more specific exceptions like
    VersionError, MaskError, DataOverflowError. This change is
    backwards compatible since all exceptions are inherited from
    ValueError.
  - Added "designator" property to QRCode. This encodes the
    version number and error correction level, i.e. "1-H"
  - Fixed alphanumeric encoding. The bug was introduced in the
    1.3.4 release
  - Added more test cases
  - Added CLI docs
  - (Deprecated) QRCode.terminal() did not work. Fixed.
  - Initial release of PyQRCode NG (PyQRCode Next Generation)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=14
2021-12-09 16:14:20 +00:00
fa0e6c16f6 Accepting request 936477 from home:pgajdos:python
- do not require pytest-runner for build, it is not needed

OBS-URL: https://build.opensuse.org/request/show/936477
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=13
2021-12-09 00:25:56 +00:00
Tomáš Chvátal
6de876b38f Accepting request 805580 from home:alarrosa:branches:devel:languages:python
- Re-download source package which changed the topdir name

OBS-URL: https://build.opensuse.org/request/show/805580
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=11
2020-05-14 11:31:20 +00:00
Tomáš Chvátal
11447323cd Accepting request 805555 from home:alarrosa:branches:devel:languages:python
- Do not build python2 version

OBS-URL: https://build.opensuse.org/request/show/805555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=10
2020-05-14 10:08:27 +00:00
c69d77eb7d - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=8
2019-10-14 11:46:00 +00:00
Tomáš Chvátal
87d81c7415 - Sort out with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=6
2019-04-01 08:43:34 +00:00
29d5d341ff Accepting request 688863 from home:mcepl:branches:devel:languages:python
- Upgrade to 1.3.0 (from https://github.com/heuer/pyqrcode/):
  - Added support for meCards etc. contributed by Riccardo Metere
  - Skip detecting content type if constructor mode is given to
    constructor. Contributed by Martijn van Rheenen.
  - Moved tests from nose to pytest since nose is deprecated
  - Updated test environment: Added PyPy, PyPy3 and Python 3.6
  - QRCode.get_png_size() is deprecated, use
    QRCode.symbol_size(). The latter returns a (width, height)
    tuple, not an integer.
  - Deprecated QRCode.png_as_base64_str(), use
    QRCode.png_data_uri() which returns a valid URI instead of
    a Base64 encoded string
  - Faster PNG generation
  - Added CLI
  - Added term() method to QRCode which prints the QR Code to the
    terminal. This works with Windows and Unix.
  - Deprecated QRCode.terminal() in favor of QRCode.term()
  - Added "scale" parameter to QRCode.text
- Initial packaging of the version 1.2.1

OBS-URL: https://build.opensuse.org/request/show/688863
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=4
2019-03-26 18:33:31 +00:00
Tomáš Chvátal
38afdf384e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=3 2019-03-26 12:37:35 +00:00
Tomáš Chvátal
2fcd65b84c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=2 2019-03-26 12:35:13 +00:00
Tomáš Chvátal
a996cca30c Accepting request 688700 from home:mcepl:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/688700
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=1
2019-03-26 12:34:04 +00:00