summaryrefslogtreecommitdiff
path: root/graphics/py-strich/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-10-23 13:38:41 +0000
committerjoerg <joerg@pkgsrc.org>2017-10-23 13:38:41 +0000
commitfe52bb949f837d39420dbdb8d3ff47488362c204 (patch)
treebdf623312ff1b1c780a1cf3a86462f8ce5e92a45 /graphics/py-strich/Makefile
parent146e6b211b6741d5b0bbed27f4f0f3a973ebc83c (diff)
downloadpkgsrc-fe52bb949f837d39420dbdb8d3ff47488362c204.tar.gz
Add py-strich-0.8:
PyStrich is a Python module to generate 1D and 2D barcodes (Code 39, Code 128, DataMatrix, QRCode and EAN13).
Diffstat (limited to 'graphics/py-strich/Makefile')
-rw-r--r--graphics/py-strich/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/py-strich/Makefile b/graphics/py-strich/Makefile
new file mode 100644
index 00000000000..10c8d2f1b4a
--- /dev/null
+++ b/graphics/py-strich/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/10/23 13:38:41 joerg Exp $
+
+DISTNAME= pyStrich-0.8
+PKGNAME= ${PYPKGPREFIX}-strich-0.8
+CATEGORIES= graphics python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyStrich/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://method-b.uk/pystrich/
+COMMENT= 1D and 2D barcode generator
+LICENSE= 2-clause-bsd AND apache-2.0
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
+DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
+
+do-test:
+ ${MKDIR} ${WRKSRC}/pystrich/code128/test_img ${WRKSRC}/pystrich/ean13/test_img
+ cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"