Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2018 22:17:34 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459130 - in head/archivers: . py-zstandard
Message-ID:  <201801152217.w0FMHYV2093127@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Jan 15 22:17:34 2018
New Revision: 459130
URL: https://svnweb.freebsd.org/changeset/ports/459130

Log:
  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

Added:
  head/archivers/py-zstandard/
  head/archivers/py-zstandard/Makefile   (contents, props changed)
  head/archivers/py-zstandard/distinfo   (contents, props changed)
  head/archivers/py-zstandard/pkg-descr   (contents, props changed)
Modified:
  head/archivers/Makefile

Modified: head/archivers/Makefile
==============================================================================
--- head/archivers/Makefile	Mon Jan 15 22:12:16 2018	(r459129)
+++ head/archivers/Makefile	Mon Jan 15 22:17:34 2018	(r459130)
@@ -191,6 +191,7 @@
     SUBDIR += py-rjsmin
     SUBDIR += py-warctools
     SUBDIR += py-xopen
+    SUBDIR += py-zstandard
     SUBDIR += py-zstd
     SUBDIR += qpress
     SUBDIR += quazip

Added: head/archivers/py-zstandard/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-zstandard/Makefile	Mon Jan 15 22:17:34 2018	(r459130)
@@ -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>

Added: head/archivers/py-zstandard/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-zstandard/distinfo	Mon Jan 15 22:17:34 2018	(r459130)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1515564528
+SHA256 (zstandard-0.8.1.tar.gz) = d8df3b40fed5c0a5d15b36e698b0286323170086b2034e5d52465fa3c1ce2429
+SIZE (zstandard-0.8.1.tar.gz) = 463785

Added: head/archivers/py-zstandard/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-zstandard/pkg-descr	Mon Jan 15 22:17:34 2018	(r459130)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801152217.w0FMHYV2093127>