diff --git a/graphics/Makefile b/graphics/Makefile index 7767346d4daf..983c1c51c20d 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -862,6 +862,7 @@ SUBDIR += py-python-poppler-qt5 SUBDIR += py-pyvips SUBDIR += py-pyx + SUBDIR += py-qrencode SUBDIR += py-qt5-svg SUBDIR += py-rawkit SUBDIR += py-sane diff --git a/graphics/py-qrencode/Makefile b/graphics/py-qrencode/Makefile new file mode 100644 index 000000000000..f5ca9551fe84 --- /dev/null +++ b/graphics/py-qrencode/Makefile @@ -0,0 +1,27 @@ +# Created by: Dan Langille +# $FreeBSD$ + +PORTNAME= qrencode +PORTVERSION= 1.2 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dvl@FreeBSD.org +COMMENT= Simple wrapper for the C qrencode library + +LICENSE= MIT + +BUILD_DEPENDS= libqrencode>0:graphics/libqrencode +RUN_DEPENDS= libqrencode>0:graphics/libqrencode +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist distutils + +CFLAGS+= -I${PREFIX}/include + +NO_ARCH_IGNORE= yes +INSTALL_TARGET= install-strip + +.include diff --git a/graphics/py-qrencode/distinfo b/graphics/py-qrencode/distinfo new file mode 100644 index 000000000000..fd746fbf7282 --- /dev/null +++ b/graphics/py-qrencode/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1582131232 +SHA256 (qrencode-1.2.tar.gz) = 10942f76641e989d429e53e6b590f50420f883ded034f1fac767f55229678c6c +SIZE (qrencode-1.2.tar.gz) = 2156 diff --git a/graphics/py-qrencode/pkg-descr b/graphics/py-qrencode/pkg-descr new file mode 100644 index 000000000000..950dde7a90a3 --- /dev/null +++ b/graphics/py-qrencode/pkg-descr @@ -0,0 +1,3 @@ +A wrapper for C qrencode library + +WWW: https://github.com/Arachnid/pyqrencode/tree/master