# Contributor: Brandon Bergren # Maintainer: Brandon Bergren pkgname=py3-u-msgpack-python _pkgname=u-msgpack-python _p="${_pkgname#?}" _p="${_pkgname%"$_p"}" pkgver=2.5.2 pkgrel=0 pkgdesc="A portable, lightweight MessagePack serializer and deserializer written in pure Python." url="https://pypi.python.org/pypi/u-msgpack-python" arch="noarch" license="MIT" depends="python3" checkdepends="py3-pytest py3-iniconfig" makedepends="python3-dev" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="cefba7ed86d2b7c37b0d92e3a4fb4ec62c89dffee0be078c783010638413e6ce1af7ab959b43dfedb6fd8cf2943185c18fc2201a4a9764c423e8242bcedf21a9 py3-u-msgpack-python-2.5.2.tar.gz"