Index: head/archivers/Makefile =================================================================== --- head/archivers/Makefile +++ head/archivers/Makefile @@ -190,6 +190,7 @@ SUBDIR += py-rjsmin SUBDIR += py-warctools SUBDIR += py-xopen + SUBDIR += py-zstd SUBDIR += qpress SUBDIR += quazip SUBDIR += quazip-qt5 Index: head/archivers/py-zstd/Makefile =================================================================== --- head/archivers/py-zstd/Makefile +++ head/archivers/py-zstd/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= zstd +DISTVERSION= 1.3.1 +CATEGORIES= archivers python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python binding for Zstandard compression library + +LICENSE= BSD2CLAUSE + +LIB_DEPENDS= libzstd.so:archivers/zstd + +USES= python localbase +USE_PYTHON= distutils autoplist +PYDISTUTILS_BUILDARGS= --external + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/zstd.so + +.include Index: head/archivers/py-zstd/distinfo =================================================================== --- head/archivers/py-zstd/distinfo +++ head/archivers/py-zstd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1515483481 +SHA256 (zstd-1.3.1.tar.gz) = d0350b4384c593279e8268dea28515eaac0b8618a8e88529f5b0923a0ebbb356 +SIZE (zstd-1.3.1.tar.gz) = 1192173 Index: head/archivers/py-zstd/pkg-descr =================================================================== --- head/archivers/py-zstd/pkg-descr +++ head/archivers/py-zstd/pkg-descr @@ -0,0 +1,13 @@ +Simple python bindings to Yann Collet's ZSTD compression library. + +Zstd, short for Zstandard, is a new lossless compression algorithm, +which provides both good compression ratio and speed for standard +compression needs. "Standard" translates into everyday situations +which neither look for highest possible ratio (which LZMA and ZPAQ +cover) nor extreme speeds (which LZ4 covers). + +Please note that this is a simple python binding to Zstandard. +A more full-featured binding is Gregory Szorc's py-zstandard +package. + +WWW: https://github.com/sergey-dryabzhinsky/python-zstd