freebsd-ports/textproc/py-qrcode/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

26 lines
521 B
Makefile

# Created by: Neil Booth
# $FreeBSD$
PORTNAME= qrcode
PORTVERSION= 6.1
PORTREVISION= 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} \
${PY_PILLOW}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
post-patch:
${REINPLACE_CMD} -e 's|share/\(man/man1\)|\1|' ${WRKSRC}/setup.py
.include <bsd.port.mk>