New port: archivers/py-zstandard: Zstandard bindings for Python, a full-featured version

Submitted by:	myself
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13824
This commit is contained in:
Yuri Victorovich 2018-01-15 22:17:34 +00:00
parent 7978e65a4b
commit 19e2396dea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459130
4 changed files with 40 additions and 0 deletions

View file

@ -191,6 +191,7 @@
SUBDIR += py-rjsmin SUBDIR += py-rjsmin
SUBDIR += py-warctools SUBDIR += py-warctools
SUBDIR += py-xopen SUBDIR += py-xopen
SUBDIR += py-zstandard
SUBDIR += py-zstd SUBDIR += py-zstd
SUBDIR += qpress SUBDIR += qpress
SUBDIR += quazip SUBDIR += quazip

View file

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= zstandard
DISTVERSION= 0.8.1
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Zstandard bindings for Python, a full-featured version
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
#PYDISTUTILS_BUILDARGS= --system-zstd # The next release is going to allow to unbind zstd
post-install:
@cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && ${STRIP_CMD} zstd.so _zstd_cffi.so
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1515564528
SHA256 (zstandard-0.8.1.tar.gz) = d8df3b40fed5c0a5d15b36e698b0286323170086b2034e5d52465fa3c1ce2429
SIZE (zstandard-0.8.1.tar.gz) = 463785

View file

@ -0,0 +1,13 @@
This project provides Python bindings for interfacing with the Zstandard
compression library. A C extension and CFFI interface are provided.
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 a simple python binding to Zstandard is also
available: archivers/py-zstd.
WWW: https://github.com/indygreg/python-zstandard