pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/py-zstandard py-zstandard: Use bundled zstd ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee3481632518
branches:  trunk
changeset: 345779:ee3481632518
user:      leot <leot%pkgsrc.org@localhost>
date:      Tue Dec 17 10:50:41 2019 +0000

description:
py-zstandard: Use bundled zstd because not adapted to zstd-1.4.4

At least ZSTD_FRAMEHEADERSIZE_MIN and ZSTD_FRAMEHEADERSIZE_PREFIX
macros in 1.4.4 needs a `format' argument but py-zstandard is not
adapted to 1.4.4 yet.

PKGREVISION++

diffstat:

 archivers/py-zstandard/Makefile |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 51fed71687d2 -r ee3481632518 archivers/py-zstandard/Makefile
--- a/archivers/py-zstandard/Makefile   Tue Dec 17 10:22:02 2019 +0000
+++ b/archivers/py-zstandard/Makefile   Tue Dec 17 10:50:41 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2019/09/19 16:50:57 adam Exp $
+# $NetBSD: Makefile,v 1.13 2019/12/17 10:50:41 leot Exp $
 
 DISTNAME=      zstandard-0.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    archivers python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zstandard/}
 
@@ -13,9 +14,13 @@
 DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.11:../../devel/py-cffi
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 
-PYSETUPBUILDARGS+=     --system-zstd
-
-BUILDLINK_API_DEPENDS.zstd+=   zstd>=1.4.0
-.include "../../archivers/zstd/buildlink3.mk"
+#
+# XXX: At the moment py-zstandard only supports zstd<1.4.3, use bundled
+# XXX: zstd instead.
+#
+#PYSETUPBUILDARGS+=    --system-zstd
+#
+#BUILDLINK_API_DEPENDS.zstd+=  zstd>=1.4.0
+#.include "../../archivers/zstd/buildlink3.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index