forked from Lainports/freebsd-ports
- Update WWW - Convert to USE_PYTHON=pep517 Changes: https://github.com/WhyNotHugo/python-barcode/blob/main/docs/changelog.rst https://python-barcode.readthedocs.io/en/stable/changelog.html
30 lines
850 B
Makefile
30 lines
850 B
Makefile
PORTNAME= python-barcode
|
|
PORTVERSION= 0.15.1
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Create standard barcodes with Python
|
|
WWW= https://python-barcode.readthedocs.io/en/stable/ \
|
|
https://github.com/WhyNotHugo/python-barcode
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
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>
|