diff options
author | wiedi <wiedi@pkgsrc.org> | 2017-09-23 18:25:50 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2017-09-23 18:25:50 +0000 |
commit | 4afa6369d40173fa2de7d8c8158e9aa4bed84975 (patch) | |
tree | 36b86ca6a41b8b45d010d74d7de9881a3c2c5d4d | |
parent | ca04745200e88c1d6d71a7d461fb206372223529 (diff) | |
download | pkgsrc-4afa6369d40173fa2de7d8c8158e9aa4bed84975.tar.gz |
py-zstandard: fix build
Temporarily remove the zstd buildlink as py-zstandard includes
its own version that it wants to use. Future versions will
support using a system supplied zstd but this one doesn't yet.
Also prevent setup.py from picking up cffi by accident so the
PLIST is stable.
-rw-r--r-- | archivers/py-zstandard/Makefile | 3 | ||||
-rw-r--r-- | archivers/py-zstandard/distinfo | 3 | ||||
-rw-r--r-- | archivers/py-zstandard/patches/patch-setup.py | 14 |
3 files changed, 17 insertions, 3 deletions
diff --git a/archivers/py-zstandard/Makefile b/archivers/py-zstandard/Makefile index 54568143538..5c42c6cf944 100644 --- a/archivers/py-zstandard/Makefile +++ b/archivers/py-zstandard/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2017/03/08 14:54:26 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2017/09/23 18:25:50 wiedi Exp $ DISTNAME= zstandard-0.7.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -10,6 +10,5 @@ HOMEPAGE= https://github.com/indygreg/python-zstandard COMMENT= Zstandard bindings for Python LICENSE= modified-bsd -.include "../../archivers/zstd/buildlink3.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/py-zstandard/distinfo b/archivers/py-zstandard/distinfo index 069d8b2d98a..1bdce37ee45 100644 --- a/archivers/py-zstandard/distinfo +++ b/archivers/py-zstandard/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1 2017/03/08 14:54:26 wiz Exp $ +$NetBSD: distinfo,v 1.2 2017/09/23 18:25:50 wiedi Exp $ SHA1 (zstandard-0.7.0.tar.gz) = 36b19fe3b531cb8498869283278ff84bf0ef9a99 RMD160 (zstandard-0.7.0.tar.gz) = a61b531afb7ffd8d143fa1a51044efe45b2b2427 SHA512 (zstandard-0.7.0.tar.gz) = 016a8142a504757beb99b681386e7d8ea81b91a3a10b44894fa16443c21b567fce1101283e1967a2895e504045d84173b512fe7144a6a962ef64a509fcd83a4a Size (zstandard-0.7.0.tar.gz) = 427288 bytes +SHA1 (patch-setup.py) = 4655e24415b98dfcf7c3b9978270b8af7530b180 diff --git a/archivers/py-zstandard/patches/patch-setup.py b/archivers/py-zstandard/patches/patch-setup.py new file mode 100644 index 00000000000..84edb3ad560 --- /dev/null +++ b/archivers/py-zstandard/patches/patch-setup.py @@ -0,0 +1,14 @@ +$NetBSD: patch-setup.py,v 1.1 2017/09/23 18:25:51 wiedi Exp $ + +Don't pick up cffi by accident +--- setup.py.orig 2017-01-28 05:19:11.000000000 +0000 ++++ setup.py +@@ -25,7 +25,7 @@ if "--legacy" in sys.argv: + # facilitate reuse in other projects. + extensions = [setup_zstd.get_c_extension(SUPPORT_LEGACY, 'zstd')] + +-if cffi: ++if None: + import make_cffi + extensions.append(make_cffi.ffi.distutils_extension()) + |