freebsd-ports/textproc/py-qrcode/Makefile
Craig Leres d1ce85cf9f 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)
2019-06-22 01:29:04 +00:00

24 lines
554 B
Makefile

# Created by: Neil Booth
# $FreeBSD$
PORTNAME= qrcode
PORTVERSION= 6.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= leres@FreeBSD.org
COMMENT= QR Code image generator
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=2.6:graphics/py-pillow@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
post-patch:
${REINPLACE_CMD} -e 's|share/\(man/man1\)|\1|' ${WRKSRC}/setup.py
.include <bsd.port.mk>