# Contributor: Thiago Perrotta # Maintainer: Thiago Perrotta pkgname=py3-minidb pkgver=2.0.8 pkgrel=0 pkgdesc="Simple SQLite3 store for Python objects" url="https://thp.io/2010/minidb" arch="noarch" license="ISC" depends="python3" makedepends="py3-setuptools py3-gpep517" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/m/minidb/minidb-$pkgver.tar.gz" builddir="$srcdir/minidb-$pkgver/" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl .testenv/bin/python3 -m pytest } package() { gpep517 install-wheel --destdir "$pkgdir" \ .dist/*.whl } sha512sums=" 04cdf6ae3a537aa421cd9ca9c283ac3c721ce35a6e23bf71f56ff70ee94dfad4672feb9cea7490e6747f9c2cfaabc7d163559cce3a40cf643df0287cbea6f994 minidb-2.0.8.tar.gz "