./graphics/py-qrcode, QR Code image generator

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 7.4.2, Package name: py311-qrcode-7.4.2, Maintainer: pkgsrc-users

QR Code image generator in Python. This package uses Pillow, which is
recommended by upstream, instead of the default Python Imaging Library.


Required to run:
[devel/py-setuptools] [textproc/py-lxml] [graphics/py-Pillow] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 523.412 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-20 17:17:19 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-qrcode: add missing tools
   2024-01-06 10:24:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:47:26 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:13:27 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Remove SHA1 hashes for distfiles
   2021-03-10 19:49:07 by Adam Ciarcinski | Files touched by this commit (8)
Log message:
Use Pillow as versioned dependency
   2020-05-06 13:16:46 by Jonathan Perkin | Files touched by this commit (11)
Log message:
*: Remove manual page entries from ALTERNATIVES files.

Thes are not supported by pkg_alternatives, and lead to breakage as found
in <http://mail-index.netbsd.org/tech-pkg/2020/05/06/msg023089.html>.

In many cases these were unnecessary anyway, as they match the corresponding
command that pkg_alternatives will have automatically detected manual page
entries for, plus many of them did not support PKGMANDIR.

In the one case (databases/py-peewee) where the manual page does not match
the command name, pkg_alternatives will need to be enhanced to support this
before it can be re-enabled.