Up to [cvs.NetBSD.org] / pkgsrc / graphics / py-qrcode
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Update for changed LICENSE location. Bump PKGREVISION
py-qrcode: updated to 8.0 8.0 ( 27 September 2024) - Added support for Python 3.11 and 3.12. - Drop support for Python <=3.8. - Change local development setup to use Poetry_. - Testsuite and code quality checks are done through Github Actions. - Code quality and formatting utilises ruff_. - Removed ``typing_extensions`` as a dependency, as it's no longer required with having Python 3.9+ as a requirement. - Only allow high error correction rate (`qrcode.ERROR_CORRECT_H`) when generating QR codes with embedded images to ensure content is readable
py-qrcode: updated to 7.4.2
7.4.2 (6 February 2023)
- Allow ``pypng`` factory to allow for saving to a string (like
``qr.save("some_file.png")``) in addition to file-like objects.
7.4.1 (3 February 2023)
- Fix bad over-optimization in v7.4 that broke large QR codes. Thanks to
mattiasj-axis!
7.4 (1 February 2023)
- Restructure the factory drawers, allowing different shapes in SVG image
factories as well.
- Add a ``--factory-drawer`` option to the ``qr`` console script.
- Optimize the output for the ``SVGPathImage`` factory (more than 30% reduction
in file sizes).
- Add a ``pypng`` image factory as a pure Python PNG solution. If ``pillow`` is
*not* installed, then this becomes the default factory.
- The ``pymaging`` image factory has been removed, but its factory shortcut and
the actual PymagingImage factory class now just link to the PyPNGImage
factory.
7.3.1 (1 October 2021)
- Improvements for embedded image.
7.3 (19 August 2021)
- Skip color mask if QR is black and white
7.2 (19 July 2021)
- Add Styled PIL image factory, allowing different color masks and shapes in QR codes
- Small performance inprovement
- Add check for border size parameter
7.1 (1 July 2021)
- 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
py-qrcode: updated to 6.0 6.0: - Fix optimize length being ignored in QRCode.add_data. - Better calculation of the best mask pattern and related optimizations.
Cleaned up PLIST files.
The actual cleanup has been done by pkglint:
* Added missing identifier comments
* Replaced ${PKGMANDIR} with a simple man, since the infrastructure does
all the magic for PLISTs
Update to 5.3
Upstream changes:
Version 5.3
Fix incomplete block table for QR version 15. Thanks Rodrigo Queiro for the report and Jacob Welsh for the investigation and fix.
Avoid unnecessary dependency for non MS platforms, thanks to Noah Vesely.
Make BaseImage.get_image() actually work.
Version 5.2
Add --error-correction option to qr script.
Fix script piping to stdout in Python 3 and reading non-UTF-8 characters in Python 3.
Fix script piping in Windows.
Add some useful behind-the-curtain methods for tinkerers.
Fix terminal output when using Python 2.6
Fix terminal output to display correctly on MS command line.
Version 5.2.1
Small fix to terminal output in Python 3 (and fix tests)
Version 5.2.2
Revert some terminal changes from 5.2 that broke Python 3’s real life tty code generation and introduce a better way from Jacob Welsh.
Version 5.1 pkgsrc changes -------------- Fix Python interpreter in installed file. Rename bin and man files using PYVERSSUFFIX in post-install. Add ALTERNATIVES file. Fix PKGMANDIR in setup.py. ChangeLog =========== * Make ``qr`` script work in Windows. * Fixed print_ascii function in Python 3. * Out-of-bounds code version numbers are handled more consistently with a ValueError. * Much better test coverage (now only officially supporting Python 2.6+)
Version 5.0 =========== * Speed optimizations. * Change the output when using the ``qr`` script to use ASCII rather than just colors, better using the terminal real estate. * Fix a bug in passing bytecode data directly when in Python 3. * Substation speed optimizations to best-fit algorithm (thanks Jacob Welsh!). Version 5.0.1 ------------- * Update version numbers correctly.
Import py27-qrcode-4.0.4 as graphics/py-qrcode. QR Code image generator in Python. This package uses Pillow, which is recommended by upstream, instead of the default Python Imaging Library.