1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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).
This commit is contained in:
Po-Chuan Hsieh 2023-04-27 23:28:01 +08:00
parent 4f924cb3b4
commit d37916f24e
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 35 additions and 0 deletions

View File

@ -934,6 +934,7 @@
SUBDIR += py-pyqtgraph
SUBDIR += py-pyrsgis
SUBDIR += py-pytesseract
SUBDIR += py-python-barcode
SUBDIR += py-python-poppler-qt5
SUBDIR += py-pyvips
SUBDIR += py-pyvista

View File

@ -0,0 +1,27 @@
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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1682354450
SHA256 (python-barcode-0.14.0.tar.gz) = 241b34aa5c5cb6a9889882f9409b0182903a2c5d19b4218be3609cdbbd5ffdf9
SIZE (python-barcode-0.14.0.tar.gz) = 228128

View File

@ -0,0 +1,4 @@
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).