Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2018 09:31:17 +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: r466844 - head/archivers/py-zstandard
Message-ID:  <201804090931.w399VHoO010519@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Apr  9 09:31:16 2018
New Revision: 466844
URL: https://svnweb.freebsd.org/changeset/ports/466844

Log:
  archivers/py-zstandard: Change to use the external zstandard library

Modified:
  head/archivers/py-zstandard/Makefile

Modified: head/archivers/py-zstandard/Makefile
==============================================================================
--- head/archivers/py-zstandard/Makefile	Mon Apr  9 09:25:44 2018	(r466843)
+++ head/archivers/py-zstandard/Makefile	Mon Apr  9 09:31:16 2018	(r466844)
@@ -2,6 +2,7 @@
 
 PORTNAME=	zstandard
 DISTVERSION=	0.9.0
+PORTREVISION=	1
 CATEGORIES=	archivers python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,11 @@ COMMENT=	Zstandard bindings for Python, a full-feature
 LICENSE=	BSD2CLAUSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${FLAVOR}
+LIB_DEPENDS=	libzstd.so:archivers/zstd
 
-USES=		python
+USES=		localbase python
 USE_PYTHON=	distutils autoplist
-#PYDISTUTILS_BUILDARGS=	--system-zstd  # fails: https://github.com/indygreg/python-zstandard/issues/43
+PYDISTUTILS_BUILDARGS=	--system-zstd
 
 post-install:
 	@cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && ${STRIP_CMD} zstd.so _zstd_cffi.so



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