Skip to content

Commit

Permalink
[NEW PORT] archivers/py-brotlipy: Python binding to the Brotli library
Browse files Browse the repository at this point in the history
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/


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@501863 35697150-7ecd-e111-bb59-0022644237b5
  • Loading branch information
koobs committed May 17, 2019
1 parent d4fcfa8 commit 1e6afc5
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions archivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions archivers/py-brotlipy/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# $FreeBSD$

PORTNAME= brotlipy
PORTVERSION= 0.7.0
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= [email protected]
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 <bsd.port.mk>
3 changes: 3 additions & 0 deletions archivers/py-brotlipy/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1558091360
SHA256 (brotlipy-0.7.0.tar.gz) = 36def0b859beaf21910157b4c33eb3b06d8ce459c942102f16988cca6ea164df
SIZE (brotlipy-0.7.0.tar.gz) = 413338
6 changes: 6 additions & 0 deletions archivers/py-brotlipy/pkg-descr
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit 1e6afc5

Please sign in to comment.