Port details |
- py-qrcode QR Code image generator
- 8.0_2 textproc =4 7.4_1Version of this port present on the latest quarterly branch.
- Maintainer: leres@FreeBSD.org
- 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)
- ¦ ¦ ¦ ¦
- 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>)
- distinfo:
- TIMESTAMP = 1730404155
SHA256 (qrcode-8.0.tar.gz) = 025ce2b150f7fe4296d116ee9bad455a6643ab4f6e7dce541613a4758cbce347
SIZE (qrcode-8.0.tar.gz) = 42743
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-poetry-core>=0 : devel/py-poetry-core@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pillow>=9.1.0 : graphics/py-pillow@py311
- py311-png>=0.0.17 : graphics/py-png@py311
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- net-p2p/warpinator
- for Run
-
- finance/electrum
- finance/odoo
- finance/odoo14
- finance/odoo15
- finance/odoo16
- net-im/gajim
- net-p2p/nomadnet
-
Deleted ports which required this port:
- * - 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
8.0_2 03 Nov 2024 20:16:04 |
Po-Chuan Hsieh (sunpoet) |
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 |
Craig Leres (leres) |
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 |
Craig Leres (leres) |
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 ) |
7.4_1 21 Jan 2024 23:28:29 |
Craig Leres (leres) |
textproc/py-qrcode: Install man page in share/man |
7.4 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
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 |
Craig Leres (leres) |
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 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
7.3 20 Jul 2022 14:23:14 |
Tobias C. Berner (tcberner) |
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 ) |
7.3 16 Apr 2022 04:19:51 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-qrcode: Add NO_ARCH
Approved by: portmgr (blanket) |
7.3 26 Dec 2021 23:25:18 |
Craig Leres (leres) |
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 ) |
6.1_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
6.1_1 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
6.1_1 24 Mar 2020 19:54:57 |
antoine |
Convert the tree to use PY_PILLOW
With hat: portmgr
Originally submitted by: kai |
6.1_1 24 Feb 2020 11:36:16 |
kai |
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 ) |
6.1 22 Jun 2019 01:29:04 |
leres |
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 |
antoine |
Bump a few PORTREVISIONs after r498529
With hat: portmgr |
6.0 20 Jun 2018 22:36:46 |
leres |
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 |
mat |
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 |
leres |
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 |
leres |
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 |
mat |
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 ) |
5.3_1 10 Nov 2017 08:41:59 |
ehaupt |
Fix dependencies for py3-* stub port. |
5.3 08 Nov 2017 18:53:49 |
ehaupt |
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 |
wen |
- 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 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
5.1 24 Jan 2015 10:16:49 |
xmj |
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) |