Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2018 22:01:04 +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: r458578 - in head/archivers: . py-zstd
Message-ID:  <201801092201.w09M14GJ024945@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Jan  9 22:01:04 2018
New Revision: 458578
URL: https://svnweb.freebsd.org/changeset/ports/458578

Log:
  New port: archivers/py-zstd: Python binding for Zstandard compression library
  
  This is a simple binding. A more full-featured binding will be
  at archivers/py-zstandard.
  
  Submitted by:	myself
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13807

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

Modified: head/archivers/Makefile
==============================================================================
--- head/archivers/Makefile	Tue Jan  9 21:47:55 2018	(r458577)
+++ head/archivers/Makefile	Tue Jan  9 22:01:04 2018	(r458578)
@@ -190,6 +190,7 @@
     SUBDIR += py-rjsmin
     SUBDIR += py-warctools
     SUBDIR += py-xopen
+    SUBDIR += py-zstd
     SUBDIR += qpress
     SUBDIR += quazip
     SUBDIR += quazip-qt5

Added: head/archivers/py-zstd/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-zstd/Makefile	Tue Jan  9 22:01:04 2018	(r458578)
@@ -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 <bsd.port.mk>

Added: head/archivers/py-zstd/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-zstd/distinfo	Tue Jan  9 22:01:04 2018	(r458578)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1515483481
+SHA256 (zstd-1.3.1.tar.gz) = d0350b4384c593279e8268dea28515eaac0b8618a8e88529f5b0923a0ebbb356
+SIZE (zstd-1.3.1.tar.gz) = 1192173

Added: head/archivers/py-zstd/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-zstd/pkg-descr	Tue Jan  9 22:01:04 2018	(r458578)
@@ -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



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