pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/py-zstandard



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Sat Sep 23 18:25:51 UTC 2017

Modified Files:
        pkgsrc/archivers/py-zstandard: Makefile distinfo
Added Files:
        pkgsrc/archivers/py-zstandard/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/archivers/py-zstandard/Makefile \
    pkgsrc/archivers/py-zstandard/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/py-zstandard/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/py-zstandard/Makefile
diff -u pkgsrc/archivers/py-zstandard/Makefile:1.1 pkgsrc/archivers/py-zstandard/Makefile:1.2
--- pkgsrc/archivers/py-zstandard/Makefile:1.1  Wed Mar  8 14:54:26 2017
+++ pkgsrc/archivers/py-zstandard/Makefile      Sat Sep 23 18:25:50 2017
@@ -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/py
 COMMENT=       Zstandard bindings for Python
 LICENSE=       modified-bsd
 
-.include "../../archivers/zstd/buildlink3.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/archivers/py-zstandard/distinfo
diff -u pkgsrc/archivers/py-zstandard/distinfo:1.1 pkgsrc/archivers/py-zstandard/distinfo:1.2
--- pkgsrc/archivers/py-zstandard/distinfo:1.1  Wed Mar  8 14:54:26 2017
+++ pkgsrc/archivers/py-zstandard/distinfo      Sat Sep 23 18:25:50 2017
@@ -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

Added files:

Index: pkgsrc/archivers/py-zstandard/patches/patch-setup.py
diff -u /dev/null pkgsrc/archivers/py-zstandard/patches/patch-setup.py:1.1
--- /dev/null   Sat Sep 23 18:25:51 2017
+++ pkgsrc/archivers/py-zstandard/patches/patch-setup.py        Sat Sep 23 18:25:51 2017
@@ -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())
+ 



Home | Main Index | Thread Index | Old Index