# Contributor: Marian Buschsieweke # Maintainer: Marian Buschsieweke pkgname=py3-bson _pkgname=bson pkgver=0.5.8 pkgrel=1 pkgdesc="Independent BSON codec for Python that doesn’t depend on MongoDB" options="!check" # No testsuite url="https://github.com/py-bson/bson" arch="noarch" license="BSD-3-Clause" depends="py3-dateutil py3-six" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/${_pkgname/-/_}-$pkgver build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } check() { python3 setup.py test } sha512sums="a01762c80e9b11355b1679b3c5aad2e729b9a2e58eb061eb303c0bdae326968f4329ec0cfe1b928f288d011adf516c24600e2867cdec627777bf3648d7c1bad8 bson-0.5.8.tar.gz"