summaryrefslogtreecommitdiff
path: root/archivers/py-brotlipy/Makefile
diff options
context:
space:
mode:
authorleot <leot>2017-04-14 12:10:26 +0000
committerleot <leot>2017-04-14 12:10:26 +0000
commitdc7ba839277462287c51735847a31902b8cdb072 (patch)
treebe3a913612c56f1ff59a78d62087ff4c03457260 /archivers/py-brotlipy/Makefile
parentfce3c0a369e8eb24438be5b71874dc8a0d86fc14 (diff)
downloadpkgsrc-dc7ba839277462287c51735847a31902b8cdb072.tar.gz
Import py-brotlipy-0.6.0 as archivers/py-brotlipy
Brotlipy is a collection of CFFI-based bindings to the Brotli compression reference implementation as written by Google. This enables Python software to easily and quickly work with the Brotli compression algorithm, regardless of what interpreter is being used.
Diffstat (limited to 'archivers/py-brotlipy/Makefile')
-rw-r--r--archivers/py-brotlipy/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/archivers/py-brotlipy/Makefile b/archivers/py-brotlipy/Makefile
new file mode 100644
index 00000000000..6ecb0a4bc68
--- /dev/null
+++ b/archivers/py-brotlipy/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 12:10:26 leot Exp $
+
+DISTNAME= brotlipy-0.6.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_PYPI:=b/brotlipy/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/python-hyper/brotlipy/
+COMMENT= Python Bindings to the Brotli Compression Algorithm
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-cffi>=1.0.0:../../devel/py-cffi
+
+.include "../../lang/python/egg.mk"
+
+.if ${_PYTHON_VERSION} < 33
+DEPENDS+= ${PYPKGPREFIX}-enum34>=1.0.4:../../devel/py-enum34
+.endif
+
+.include "../../mk/bsd.pkg.mk"