# Maintainer: pkgname=py3-jsonpickle pkgver=1.2 pkgrel=0 pkgdesc="an jsonpickle implementation" url="https://pypi.python.org/pypi/jsonpickle/" arch="noarch" license="BSD-3-Clause" depends="python3 py3-numpy py3-pandas" makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-$pkgver.tar.gz" builddir="$srcdir/jsonpickle-$pkgver" replaces="py-jsonpickle" # Backwards compatibility provides="py-jsonpickle=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { PYTHONPATH=$PWD/build/lib pytest-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="0a5bfb2e77175c9174ee1783301c613e25fcfa60f07e610206d1e1e34053e90b21b12bc1b1045dd03ff2d4efe5940d85d852800037ca01397994c022f0ffb2c6 jsonpickle-1.2.tar.gz"