summaryrefslogtreecommitdiff
path: root/archivers/py-brotli
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2019-12-17 10:15:37 +0000
committerleot <leot@pkgsrc.org>2019-12-17 10:15:37 +0000
commit59d9f36005dcbfb72026fbe1b8cdd611af368b88 (patch)
tree1998e651c24b2e3b6159adbfddc508def00d8090 /archivers/py-brotli
parent71988025deeecd15481eed9efff71739582be0ee (diff)
downloadpkgsrc-59d9f36005dcbfb72026fbe1b8cdd611af368b88.tar.gz
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.
Diffstat (limited to 'archivers/py-brotli')
-rw-r--r--archivers/py-brotli/DESCR7
-rw-r--r--archivers/py-brotli/Makefile18
-rw-r--r--archivers/py-brotli/PLIST9
-rw-r--r--archivers/py-brotli/distinfo6
4 files changed, 40 insertions, 0 deletions
diff --git a/archivers/py-brotli/DESCR b/archivers/py-brotli/DESCR
new file mode 100644
index 00000000000..c12d9875788
--- /dev/null
+++ b/archivers/py-brotli/DESCR
@@ -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.
diff --git a/archivers/py-brotli/Makefile b/archivers/py-brotli/Makefile
new file mode 100644
index 00000000000..3fe38ab8082
--- /dev/null
+++ b/archivers/py-brotli/Makefile
@@ -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"
diff --git a/archivers/py-brotli/PLIST b/archivers/py-brotli/PLIST
new file mode 100644
index 00000000000..0234d24f3f7
--- /dev/null
+++ b/archivers/py-brotli/PLIST
@@ -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
diff --git a/archivers/py-brotli/distinfo b/archivers/py-brotli/distinfo
new file mode 100644
index 00000000000..7e9884e29bd
--- /dev/null
+++ b/archivers/py-brotli/distinfo
@@ -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