notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-qrcode QR Code image generator
8.0_2 textproc on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 7.4_1Version of this port present on the latest quarterly branch.
Maintainer: leres@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-01-24 10:16:56
Last Update: 2024-11-03 20:16:04
Commit Hash: ec4d84a
People watching this port, also watch:: mesa-libs, dbus, libevent, jpeg-turbo
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://github.com/lincolnloop/python-qrcode
Description:
This module uses image libraries, Python Imaging Library (PIL) by default, to generate QR Codes. A Quick Response code is a two-dimensional pictographic code used for its fast readability and comparatively large storage capacity. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of any kind of data (e.g., binary, alphanumeric, or Kanji symbols)
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}qrcode>0:textproc/py-qrcode@${PY_FLAVOR}
To install the port:
cd /usr/ports/textproc/py-qrcode/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-qrcode
  • pkg install py311-qrcode
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-qrcode listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-qrcode
Package flavors (<flavor>: <package>)
  • py311: py311-qrcode
distinfo:
TIMESTAMP = 1730404155 SHA256 (qrcode-8.0.tar.gz) = 025ce2b150f7fe4296d116ee9bad455a6643ab4f6e7dce541613a4758cbce347 SIZE (qrcode-8.0.tar.gz) = 42743

Packages (timestamps in pop-ups are UTC):
py37-qrcode
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--6.1_1---6.1_1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-qrcode
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly------7.47.4
FreeBSD:14:latest-------7.4
FreeBSD:14:quarterly------7.47.4
FreeBSD:15:latest--n/a-n/a-7.4_1-
 
py311-qrcode
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest8.0_28.0_2-8.0_28.0_2---
FreeBSD:13:quarterly7.4_17.4_1--7.4_1---
FreeBSD:14:latest8.0_28.0_2-8.0_28.0_2---
FreeBSD:14:quarterly7.4_17.4_1--7.4_1---
FreeBSD:15:latest8.0_28.0_2n/a8.0_2n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-poetry-core>=0 : devel/py-poetry-core@py311
  2. python3.11 : lang/python311
  3. py311-build>=0 : devel/py-build@py311
  4. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-pillow>=9.1.0 : graphics/py-pillow@py311
  2. py311-png>=0.0.17 : graphics/py-png@py311
  3. python3.11 : lang/python311
This port is required by:
for Build
  1. net-p2p/warpinator
for Run
  1. finance/electrum
  2. finance/odoo
  3. finance/odoo14
  4. finance/odoo15
  5. finance/odoo16
  6. net-im/gajim
  7. net-p2p/nomadnet
Expand this list (15 items / 8 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. security/py-passhole
  3. security/py-pyhanko
  4. www/onionshare
  5. www/py-autobahn
  6. www/py-wagtail-2fa
  7. www/seahub
  8. Collapse this list.

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. finance/electrum2*
  2. net-p2p/bitmessage*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
textproc_py-qrcode
USES:
python shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/q/qrcode/
  2. https://pypi.org/packages/source/q/qrcode/
Collapse this list.

Number of commits found: 28

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
8.0_2
03 Nov 2024 20:16:04
commit hash: ec4d84ad8978cc634ad0bdbf38ddc327cab2c2e8commit hash: ec4d84ad8978cc634ad0bdbf38ddc327cab2c2e8commit hash: ec4d84ad8978cc634ad0bdbf38ddc327cab2c2e8commit hash: ec4d84ad8978cc634ad0bdbf38ddc327cab2c2e8 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/py-qrcode: Fix stage-qa

- Bump PORTREVISION for package change

====> Running Q/A tests (stage-qa)
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for
'lib/python3.11/site-packages/qrcode/console_scripts.py'
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/py-qrcode

Approved by:	portmgr (blanket)
With hat:	python
8.0_1
31 Oct 2024 20:15:09
commit hash: aec77aca46e1ac8b1a70660307b367769a3b238acommit hash: aec77aca46e1ac8b1a70660307b367769a3b238acommit hash: aec77aca46e1ac8b1a70660307b367769a3b238acommit hash: aec77aca46e1ac8b1a70660307b367769a3b238a files touched by this commit
Craig Leres (leres) search for other commits by this committer
textproc/py-qrcode: Remove obsolete dependencies

py-six and py-typing-extensions are no longer required (oops).
8.0
31 Oct 2024 20:06:03
commit hash: 11ebca5f74d7711a348bb619399f7a1476ea1f48commit hash: 11ebca5f74d7711a348bb619399f7a1476ea1f48commit hash: 11ebca5f74d7711a348bb619399f7a1476ea1f48commit hash: 11ebca5f74d7711a348bb619399f7a1476ea1f48 files touched by this commit
Craig Leres (leres) search for other commits by this committer
textproc/py-qrcode: Update to 8.0

Changes since 7.4:

 - 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
(Only the first 15 lines of the commit message are shown above View all of this commit message)
7.4_1
21 Jan 2024 23:28:29
commit hash: af980284789c17098f12e6df83b63ff9e8e46a53commit hash: af980284789c17098f12e6df83b63ff9e8e46a53commit hash: af980284789c17098f12e6df83b63ff9e8e46a53commit hash: af980284789c17098f12e6df83b63ff9e8e46a53 files touched by this commit
Craig Leres (leres) search for other commits by this committer
textproc/py-qrcode: Install man page in share/man
7.4
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
7.4
19 Mar 2023 19:55:14
commit hash: 146ec1966ca836502e3f0f53b39f5438ffbfb0eacommit hash: 146ec1966ca836502e3f0f53b39f5438ffbfb0eacommit hash: 146ec1966ca836502e3f0f53b39f5438ffbfb0eacommit hash: 146ec1966ca836502e3f0f53b39f5438ffbfb0ea files touched by this commit
Craig Leres (leres) search for other commits by this committer
textproc/py-qrcode: Update to 7.4

Changes since 7.3:

 - Improvements for embedded image.

 - 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.

Reported by:	portscout
7.3
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
7.3
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
7.3
20 Jul 2022 14:23:14
commit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9b files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
textproc: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  -
  *  <glewis@FreeBSD.org>
  *  <koshy@india.hp.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron Straup Cope
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Ache
  *  Adam Herzog <adam@herzogdesigns.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
7.3
16 Apr 2022 04:19:51
commit hash: 87ce03462a5359155af838ac0cfae3b531f79c21commit hash: 87ce03462a5359155af838ac0cfae3b531f79c21commit hash: 87ce03462a5359155af838ac0cfae3b531f79c21commit hash: 87ce03462a5359155af838ac0cfae3b531f79c21 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/py-qrcode: Add NO_ARCH

Approved by:	portmgr (blanket)
7.3
26 Dec 2021 23:25:18
commit hash: 0f8aed33528cca4f2387ceb498115275feeafd11commit hash: 0f8aed33528cca4f2387ceb498115275feeafd11commit hash: 0f8aed33528cca4f2387ceb498115275feeafd11commit hash: 0f8aed33528cca4f2387ceb498115275feeafd11 files touched by this commit
Craig Leres (leres) search for other commits by this committer
textproc/py-qrcode: Update to 7.3

Changes since 6.1:

 - 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
(Only the first 15 lines of the commit message are shown above View all of this commit message)
6.1_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
6.1_1
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
6.1_1
24 Mar 2020 19:54:57
Revision:529063Original commit files touched by this commit
antoine search for other commits by this committer
Convert the tree to use PY_PILLOW

With hat:	portmgr
Originally submitted by:	kai
6.1_1
24 Feb 2020 11:36:16
Revision:526962Original commit files touched by this commit
kai search for other commits by this committer
graphics/py-pillow: Update to 7.0.0

* Repo-Copy the Pillow 6.2.2 release to graphics/py-pillow6 to retain
  backwards compatibility for Python 2 consumers as the Pillow 7.0.0 release
  dropped the support for Python 2.

* Apply conditional statements to use either Pillow 7.x or Pillow 6.x for
  consumers that can be built for Python 2 or newer.

* Exceptions are ports that can be built only for either Python 2 or
  Python 3.  For the first case, consumers are just assigned to the
  repo-copied graphics/py-pillow6.

* Also remove Pillow from BUILD_DEPENDS of math/py-PyWavelets as it is not
  listed in setup.py as a build dependency [1] and relax the version
(Only the first 15 lines of the commit message are shown above View all of this commit message)
6.1
22 Jun 2019 01:29:04
Revision:504839Original commit files touched by this commit
leres search for other commits by this committer
textproc/py-qrcode: Update to 6.1. From CHANGES.rst:

 - Fix short chunks of data not being optimized to the correct mode.

 - Tests fixed for Python 3

Reported by:	portscout
Approved by:	matthew (mentor, implicit)
6.0_1
10 Apr 2019 06:18:32
Revision:498530Original commit files touched by this commit
antoine search for other commits by this committer
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
6.0
20 Jun 2018 22:36:46
Revision:472941Original commit files touched by this commit
leres search for other commits by this committer
Update to 6.0:

 - Fix optimize length being ignored in QRCode.add_data.

 - Better calculation of the best mask pattern and related
   optimizations.

Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D15930
5.3_3
20 Jun 2018 17:05:44
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
5.3_3
13 Feb 2018 02:43:08
Revision:461681Original commit files touched by this commit
leres search for other commits by this committer
Allow concurrent installation (USE_PYTHON=concurrent).

PR:		225842
Submitted by:	John Hein
Reviewed by:	ler (mentor)
Approved by:	ler (mentor)
Differential Revision:	https://reviews.freebsd.org/D14342
5.3_2
26 Jan 2018 21:56:10
Revision:460054Original commit files touched by this commit
leres search for other commits by this committer
Patch setup.py to install the man page in ${PREFIX}/man/man1
instead of ${PREFIX}/share/man/man1

Assume matainership (the current maintainer requests being removed
in PR 224219).

PR:		224219
Reviewed by:	ler (mentor)
Approved by:	ler (mentor)
Differential Revision:	https://reviews.freebsd.org/D13902
5.3_1
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
5.3_1
10 Nov 2017 08:41:59
Revision:453887Original commit files touched by this commit
ehaupt search for other commits by this committer
Fix dependencies for py3-* stub port.
5.3
08 Nov 2017 18:53:49
Revision:453761Original commit files touched by this commit
ehaupt search for other commits by this committer
Add python3 stub ports required for the upcoming update of finance/electrum.

Approved by:	portmgr (bdrewery)
Differential Revision:	D13000
5.3
09 Dec 2016 13:10:27
Revision:428203Original commit files touched by this commit
wen search for other commits by this committer
- Update to 5.3

PR:		214525
Submitted by:	yuri@rawbw.com
Approved by:	kyuupichan@gmail.com(maintainer)
5.1
01 Apr 2016 14:25:18
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
5.1
24 Jan 2015 10:16:49
Revision:377786Original commit files touched by this commit
xmj search for other commits by this committer
textproc/py-qrcode: Add port

This module uses image libraries, Python Imaging Library (PIL) by
default, to generate QR Codes.

A Quick Response code is a two-dimensional pictographic code used
for its fast readability and comparatively large storage capacity.
The code consists of black modules arranged in a square pattern on
a white background. The information encoded can be made up of any
kind of data (e.g., binary, alphanumeric, or Kanji symbols)

WWW: https://github.com/lincolnloop/python-qrcode

PR:		196046
Differential Revision:	https://reviews.freebsd.org/D1631
Submitted by:	kyuupichan@gmail.com
Approved by:	koobs (mentor)

Number of commits found: 28