Files
ports/graphics/py-python-barcode/Makefile
T
Po-Chuan Hsieh d37916f24e graphics/py-python-barcode: Add py-python-barcode 0.14.0
python-barcode provides a simple way to create barcodes in Python.

There are no external dependencies when generating SVG files. Pillow is required
for generating images (e.g.: PNGs).
2023-04-27 23:28:01 +08:00

28 lines
664 B
Makefile

PORTNAME= python-barcode
PORTVERSION= 0.14.0
CATEGORIES= graphics python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Create standard barcodes with Python
WWW= https://github.com/WhyNotHugo/python-barcode
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= IMAGES
OPTIONS_DEFAULT=IMAGES
IMAGES_DESC= Generate images
IMAGES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR}
.include <bsd.port.mk>