diff --git a/archivers/Makefile b/archivers/Makefile index 02a747d3aa879..77c148f268673 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -173,6 +173,7 @@ SUBDIR += py-backports.lzma SUBDIR += py-borgbackup SUBDIR += py-brotli + SUBDIR += py-brotlipy SUBDIR += py-bup SUBDIR += py-bz2file SUBDIR += py-czipfile diff --git a/archivers/py-brotlipy/Makefile b/archivers/py-brotlipy/Makefile new file mode 100644 index 0000000000000..5be49b363c9f9 --- /dev/null +++ b/archivers/py-brotlipy/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= brotlipy +PORTVERSION= 0.7.0 +CATEGORIES= archivers python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= Python binding to the Brotli library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} + +py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enum34>=1.0.4,<2.0:devel/py-enum34@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/brotli/*.so + +.include diff --git a/archivers/py-brotlipy/distinfo b/archivers/py-brotlipy/distinfo new file mode 100644 index 0000000000000..12c7c4637b440 --- /dev/null +++ b/archivers/py-brotlipy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1558091360 +SHA256 (brotlipy-0.7.0.tar.gz) = 36def0b859beaf21910157b4c33eb3b06d8ce459c942102f16988cca6ea164df +SIZE (brotlipy-0.7.0.tar.gz) = 413338 diff --git a/archivers/py-brotlipy/pkg-descr b/archivers/py-brotlipy/pkg-descr new file mode 100644 index 0000000000000..2871fc2a21b59 --- /dev/null +++ b/archivers/py-brotlipy/pkg-descr @@ -0,0 +1,6 @@ +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. + +WWW: https://github.com/python-hyper/brotlipy/