svn commit: r466844 - head/archivers/py-zstandard
Yuri Victorovich
yuri at FreeBSD.org
Mon Apr 9 09:31:17 UTC 2018
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
More information about the svn-ports-head
mailing list