Date: Saturday, September 28, 2019 @ 07:50:18 Author: yan12125 Revision: 511958
upgpkg: python-ubjson 0.14.0-2 * Enable tests for the C extension (_ubjson) * Remove no longer needed pypandoc dependency. See https://github.com/Iotic-Labs/py-ubjson/commit/64fd7933793f5e68ab6db8276088876c332a3187 Modified: python-ubjson/trunk/PKGBUILD ----------+ PKGBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-09-28 05:56:26 UTC (rev 511957) +++ PKGBUILD 2019-09-28 07:50:18 UTC (rev 511958) @@ -2,12 +2,12 @@ pkgname=python-ubjson pkgver=0.14.0 -pkgrel=1 +pkgrel=2 pkgdesc='Universal Binary JSON draft-12 serializer for Python' arch=(x86_64) url='https://github.com/Iotic-Labs/py-ubjson' license=(Apache) -makedepends=(python-setuptools python-pypandoc) +makedepends=(python-setuptools) depends=(python) source=("https://files.pythonhosted.org/packages/source/p/py-ubjson/py-ubjson-$pkgver.tar.gz"{,.asc}) sha256sums=('f742c87bccc8653329d3f79b8b3f40d44d11d17cce7f6d7025a73c52ebf91c66' @@ -23,7 +23,8 @@ check() { cd py-ubjson-$pkgver - python -m unittest discover -v test + pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))") + PYTHONPATH="$PWD/build/lib.linux-$CARCH-$pyver" python -m unittest discover -v test } package() {
