1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

[NEW PORT] archivers/py-brotlipy: Python binding to the Brotli library

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/
This commit is contained in:
Kubilay Kocak 2019-05-17 12:34:14 +00:00
parent 678d5bb76e
commit c81d6079a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501863
4 changed files with 36 additions and 0 deletions

View File

@ -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

View File

@ -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 <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1558091360
SHA256 (brotlipy-0.7.0.tar.gz) = 36def0b859beaf21910157b4c33eb3b06d8ce459c942102f16988cca6ea164df
SIZE (brotlipy-0.7.0.tar.gz) = 413338

View File

@ -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/