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: updated to 0.13.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1acb111ee72
branches:  trunk
changeset: 346174:a1acb111ee72
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 29 16:53:13 2019 +0000

description:
py-zstandard: updated to 0.13.0

Changes 0.13.0:
* ``pytest-xdist`` ``pytest`` extension is now installed so tests can be
  run in parallel.
* CI now builds ``manylinux2010`` and ``manylinux2014`` binary wheels
  instead of a mix of ``manylinux2010`` and ``manylinux1``.
* Official support for Python 3.8 has been added.
* Bundled zstandard library upgraded from 1.4.3 to 1.4.4.
* Python code has been reformatted with black.

diffstat:

 archivers/py-zstandard/Makefile             |  17 ++++++-----------
 archivers/py-zstandard/distinfo             |  12 ++++++------
 archivers/py-zstandard/patches/patch-zstd.c |   6 +++---
 3 files changed, 15 insertions(+), 20 deletions(-)

diffs (70 lines):

diff -r b770c036f6cc -r a1acb111ee72 archivers/py-zstandard/Makefile
--- a/archivers/py-zstandard/Makefile   Sun Dec 29 16:48:33 2019 +0000
+++ b/archivers/py-zstandard/Makefile   Sun Dec 29 16:53:13 2019 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2019/12/17 10:50:41 leot Exp $
+# $NetBSD: Makefile,v 1.14 2019/12/29 16:53:13 adam Exp $
 
-DISTNAME=      zstandard-0.12.0
+DISTNAME=      zstandard-0.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    archivers python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zstandard/}
 
@@ -14,13 +13,9 @@
 DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.11:../../devel/py-cffi
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 
-#
-# 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"
+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"
diff -r b770c036f6cc -r a1acb111ee72 archivers/py-zstandard/distinfo
--- a/archivers/py-zstandard/distinfo   Sun Dec 29 16:48:33 2019 +0000
+++ b/archivers/py-zstandard/distinfo   Sun Dec 29 16:53:13 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.12 2019/09/19 16:50:57 adam Exp $
+$NetBSD: distinfo,v 1.13 2019/12/29 16:53:13 adam Exp $
 
-SHA1 (zstandard-0.12.0.tar.gz) = b6b81d4af12dd16f7d830de2b769c569f5a23a9a
-RMD160 (zstandard-0.12.0.tar.gz) = c5ed78145c3057cc83893977f59eda68b4b63e29
-SHA512 (zstandard-0.12.0.tar.gz) = ebf896a77ce5cdc82a1edb658a0b96bcf99deee7aa031163879fc21fe3d03623061182fd2c11840a5a46a8ad0a08b98b802b4703b963d448a25c0b52685d3b64
-Size (zstandard-0.12.0.tar.gz) = 648827 bytes
-SHA1 (patch-zstd.c) = 0d2a52f1adae7ed1768974533ae92440954cf03e
+SHA1 (zstandard-0.13.0.tar.gz) = a2956e6f75ab1c182b0d6b63b97fcc8c44981494
+RMD160 (zstandard-0.13.0.tar.gz) = 0aa7feac7dd5d2a906d150999d13ba44e9c0dcbc
+SHA512 (zstandard-0.13.0.tar.gz) = 3a6151de640515f21626d150e1295c1f2e524d377b3b1ccabf2719fae6da89f95480a50ec80eac4d07d317c7abe50ed7a26162b3291169e139c4ddd71b6ada98
+Size (zstandard-0.13.0.tar.gz) = 659422 bytes
+SHA1 (patch-zstd.c) = 5a104e264605b6ce03721b84b56ae20c49684a89
diff -r b770c036f6cc -r a1acb111ee72 archivers/py-zstandard/patches/patch-zstd.c
--- a/archivers/py-zstandard/patches/patch-zstd.c       Sun Dec 29 16:48:33 2019 +0000
+++ b/archivers/py-zstandard/patches/patch-zstd.c       Sun Dec 29 16:53:13 2019 +0000
@@ -1,14 +1,14 @@
-$NetBSD: patch-zstd.c,v 1.3 2019/09/19 16:50:57 adam Exp $
+$NetBSD: patch-zstd.c,v 1.4 2019/12/29 16:53:13 adam Exp $
 
 Allow newer zstd.
 
---- zstd.c.orig        2019-09-16 01:27:27.000000000 +0000
+--- zstd.c.orig        2019-12-28 17:43:58.000000000 +0000
 +++ zstd.c
 @@ -210,10 +210,6 @@ void zstd_module_init(PyObject* m) {
           We detect this mismatch here and refuse to load the module if this
           scenario is detected.
        */
--      if (ZSTD_VERSION_NUMBER != 10403 || ZSTD_versionNumber() != 10403) {
+-      if (ZSTD_VERSION_NUMBER != 10404 || ZSTD_versionNumber() != 10404) {
 -              PyErr_SetString(PyExc_ImportError, "zstd C API mismatch; Python bindings not compiled against expected zstd version");
 -              return;
 -      }



Home | Main Index | Thread Index | Old Index