diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-04 03:01:34 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-04 03:12:46 -0300 |
commit | facc421fad90f57d4fde78bd2d96f86f7c86db7e (patch) | |
tree | 70d82e36341dc452f0881c3a9ea3833fcf15ec2c /testing/py3-fastavro/APKBUILD | |
parent | a4f0dd061975cbd6138932e90f5917c3afb3a8eb (diff) | |
download | aports-facc421fad90f57d4fde78bd2d96f86f7c86db7e.tar.bz2 aports-facc421fad90f57d4fde78bd2d96f86f7c86db7e.tar.xz |
testing/py3-fastavro: upgrade to 0.22.4
Diffstat (limited to 'testing/py3-fastavro/APKBUILD')
-rw-r--r-- | testing/py3-fastavro/APKBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/testing/py3-fastavro/APKBUILD b/testing/py3-fastavro/APKBUILD index bf1dd4f130..2f54c398cd 100644 --- a/testing/py3-fastavro/APKBUILD +++ b/testing/py3-fastavro/APKBUILD @@ -2,9 +2,12 @@ # Contributor: Gennady Feldman <gena01@gmail.com> pkgname=py3-fastavro _pkgname=fastavro -pkgver=0.21.24 +pkgver=0.22.4 pkgrel=0 pkgdesc="Fast Avro for Python" +# Tests for optional zstd and snappy codecs require +# unpackaged python modules 'zstandard' and 'python-snappy' +options="!check" url="https://github.com/fastavro/fastavro" arch="all !x86" # _tz_ tests fail license="MIT" @@ -19,12 +22,11 @@ build() { } check() { - FASTAVRO_USE_CYTHON=1 python3 setup.py build_ext --inplace - PYTHONPATH=${PWD} python3 -m pytest -v tests + PYTHONPATH="$(echo $PWD/build/lib.*)" python3 -m pytest -v tests } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="21b0afe86ff7dd202235da7f5e072621bfd4334efd1ba84bc026abbd907faab652e5c4bce248ae0417a20f56132263ed9300b563d030110092a2ce41902d66ff py3-fastavro-0.21.24.tar.gz" +sha512sums="7f55d6dd533862e3d39f758ab59f02fc970ac511f445f986b5813fd63c04966678226dc883ad95089c3cced7bc8297490c38e5f1fd42ccb1ff13571bb0de16c8 py3-fastavro-0.22.4.tar.gz" |