diff options
author | Guillaume Horel | 2018-02-11 12:34:50 -0500 |
---|---|---|
committer | Guillaume Horel | 2018-02-11 12:34:50 -0500 |
commit | c1e57ebbae8cde072672b2d8171debecbbc0824c (patch) | |
tree | a3b5d0f76b519d35c93a2b73beff5614bb2d890a | |
parent | b45919dd0a989d3809c9b2cb055fbb143fba6757 (diff) | |
download | aur-c1e57ebbae8cde072672b2d8171debecbbc0824c.tar.gz |
version bump
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | fix_python_lz4.patch | 16 |
3 files changed, 32 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = python-dask pkgdesc = Minimal task scheduling abstraction - pkgver = 0.16.0 + pkgver = 0.17.0 pkgrel = 1 url = https://github.com/dask/dask arch = any @@ -28,8 +28,10 @@ pkgbase = python-dask optdepends = python-psutil optdepends = python-sparse: sparse data support optdepends = python-s3fs: S3 support - source = https://github.com/dask/dask/archive/0.16.0.tar.gz - sha256sums = 214e838ee7e7a4328e5dfbc7859e0f2d6226636adab98aa59c0f6d7dc561875b + source = https://github.com/dask/dask/archive/0.17.0.tar.gz + source = fix_python_lz4.patch + sha256sums = ff006490165aa9b22c73bc162473741ecfb2c41c6c65cf4e4a78e0f85eac23dc + sha256sums = 25812260a5e04030b9287ad1cd462c85a073eabc37f39366951e843de6bff70b pkgname = python-dask @@ -1,10 +1,9 @@ -# Contributor: Francois Boulogne <fboulogne at april dot org> -# Contributor: Guillaume Horel <guillaume.horel@gmail.com> # Maintainer: Guillaume Horel <guillaume.horel@gmail.com> +# Contributor: Francois Boulogne <fboulogne at april dot org> pkgname=python-dask _pkgname=dask -pkgver=0.16.0 +pkgver=0.17.0 pkgrel=1 pkgdesc="Minimal task scheduling abstraction" arch=('any') @@ -22,8 +21,15 @@ optdepends=('python-bcolz' 'python-sparse: sparse data support' 'python-s3fs: S3 support') makedepends=('python-setuptools') -source=("https://github.com/dask/dask/archive/$pkgver.tar.gz") -sha256sums=('214e838ee7e7a4328e5dfbc7859e0f2d6226636adab98aa59c0f6d7dc561875b') +source=("https://github.com/dask/dask/archive/$pkgver.tar.gz" + "fix_python_lz4.patch") +sha256sums=('ff006490165aa9b22c73bc162473741ecfb2c41c6c65cf4e4a78e0f85eac23dc' + '25812260a5e04030b9287ad1cd462c85a073eabc37f39366951e843de6bff70b') + +prepare(){ + cd "$srcdir/$_pkgname-$pkgver" + patch -p1 < ../fix_python_lz4.patch +} package(){ cd "$srcdir/$_pkgname-$pkgver" diff --git a/fix_python_lz4.patch b/fix_python_lz4.patch new file mode 100644 index 000000000000..44d5f6e7e8cd --- /dev/null +++ b/fix_python_lz4.patch @@ -0,0 +1,16 @@ +diff -urN dask-0.17.0-orig/dask/bytes/compression.py dask-0.17.0/dask/bytes/compression.py +--- dask-0.17.0-orig/dask/bytes/compression.py 2018-02-11 12:31:31.342559992 -0500 ++++ dask-0.17.0/dask/bytes/compression.py 2018-02-11 12:32:08.678046846 -0500 +@@ -34,9 +34,9 @@ + + + with ignoring(ImportError): +- import lz4 +- compress['lz4'] = lz4.LZ4_compress +- decompress['lz4'] = lz4.LZ4_uncompress ++ import lz4.block ++ compress['lz4'] = lz4.block.compress ++ decompress['lz4'] = lz4.block.decompress + + with ignoring(ImportError): + from ..compatibility import LZMAFile, lzma_compress, lzma_decompress |