aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-05-10 03:08:48 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-05-10 03:08:48 +0800
commit0d8b268ea666c164937306a3fac34c197171b112 (patch)
tree3e9e88b1497b68a7ae98a70173be71ea71717225 /archivers
parent1a737e1beaba9652910fcc4030d89cad7eaa1991 (diff)
downloadfreebsd-ports-gnome-0d8b268ea666c164937306a3fac34c197171b112.tar.gz
freebsd-ports-gnome-0d8b268ea666c164937306a3fac34c197171b112.tar.zst
freebsd-ports-gnome-0d8b268ea666c164937306a3fac34c197171b112.zip
Add py-zopfli 0.1.6
pyzopfli is a straightforward Python wrapper around zopfli's ZlibCompress method. It also wraps GzipCompress, but the API point does not try to mimic the gzip module. WWW: https://github.com/obp/py-zopfli
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/py-zopfli/Makefile19
-rw-r--r--archivers/py-zopfli/distinfo3
-rw-r--r--archivers/py-zopfli/pkg-descr5
4 files changed, 28 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index e6980078f523..02a747d3aa87 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -189,6 +189,7 @@
SUBDIR += py-rjsmin
SUBDIR += py-warctools
SUBDIR += py-xopen
+ SUBDIR += py-zopfli
SUBDIR += py-zstandard
SUBDIR += py-zstd
SUBDIR += qpress
diff --git a/archivers/py-zopfli/Makefile b/archivers/py-zopfli/Makefile
new file mode 100644
index 000000000000..abcd3afa8972
--- /dev/null
+++ b/archivers/py-zopfli/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= zopfli
+PORTVERSION= 0.1.6
+CATEGORIES= archivers python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Zopfli module for python
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= python zip
+USE_PYTHON= autoplist concurrent distutils
+
+.include <bsd.port.mk>
diff --git a/archivers/py-zopfli/distinfo b/archivers/py-zopfli/distinfo
new file mode 100644
index 000000000000..9ed102ef5661
--- /dev/null
+++ b/archivers/py-zopfli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1557427238
+SHA256 (zopfli-0.1.6.zip) = ed2293c11c2685bbd70bad0103285279406a77622e06de794d59c2180fecaa6a
+SIZE (zopfli-0.1.6.zip) = 75549
diff --git a/archivers/py-zopfli/pkg-descr b/archivers/py-zopfli/pkg-descr
new file mode 100644
index 000000000000..2003c8769968
--- /dev/null
+++ b/archivers/py-zopfli/pkg-descr
@@ -0,0 +1,5 @@
+pyzopfli is a straightforward Python wrapper around zopfli's ZlibCompress
+method. It also wraps GzipCompress, but the API point does not try to mimic the
+gzip module.
+
+WWW: https://github.com/obp/py-zopfli