py-brotli: Import py-brotli-1.0.7 as archivers/py-brotli

Brotli is a generic-purpose lossless compression algorithm that compresses data
using a combination of a modern variant of the LZ77 algorithm, Huffman coding
and 2nd order context modeling, with a compression ratio comparable to the best
currently available general-purpose compression methods. It is similar in speed
with deflate but offers more dense compression.

This package contains Python bindings for Brotli.
This commit is contained in:
leot 2019-12-17 10:15:37 +00:00
parent af71ea6b6b
commit 5aa5f51dca
4 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,7 @@
Brotli is a generic-purpose lossless compression algorithm that compresses data
using a combination of a modern variant of the LZ77 algorithm, Huffman coding
and 2nd order context modeling, with a compression ratio comparable to the best
currently available general-purpose compression methods. It is similar in speed
with deflate but offers more dense compression.
This package contains Python bindings for Brotli.

View file

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2019/12/17 10:15:37 leot Exp $
DISTNAME= Brotli-1.0.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= archivers python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/brotli/}
EXTRACT_SUFX= .zip
DIST_SUBDIR= py-brotli
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/google/brotli
COMMENT= Generic-purpose lossless compression algorithm (Python module)
LICENSE= mit
USE_LANGUAGES= c c++
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2019/12/17 10:15:37 leot Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/_brotli.so
${PYSITELIB}/brotli.py
${PYSITELIB}/brotli.pyc
${PYSITELIB}/brotli.pyo

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2019/12/17 10:15:37 leot Exp $
SHA1 (py-brotli/Brotli-1.0.7.zip) = 707c9a4eb4aefb60b8ece34b246ea2c1fee88fad
RMD160 (py-brotli/Brotli-1.0.7.zip) = d9924953377fa7d766da673529eb5be03123d08d
SHA512 (py-brotli/Brotli-1.0.7.zip) = 1c491fcea970e9c966b27ded03d50b7f77a038f228edb66c9ace383d9ceb4dc17e9f34cf957f3a0e8050847b7476bef7f42f39e10c6fc2a56686b6e29241e248
Size (py-brotli/Brotli-1.0.7.zip) = 496391 bytes