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:
parent
4f924cb3b4
commit
d37916f24e
@ -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
|
||||
|
27
graphics/py-python-barcode/Makefile
Normal file
27
graphics/py-python-barcode/Makefile
Normal 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>
|
3
graphics/py-python-barcode/distinfo
Normal file
3
graphics/py-python-barcode/distinfo
Normal 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
|
4
graphics/py-python-barcode/pkg-descr
Normal file
4
graphics/py-python-barcode/pkg-descr
Normal 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).
|
Loading…
Reference in New Issue
Block a user