# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-json-database
pkgver=0.7.0
pkgrel=4
pkgdesc="Searchable json database with persistence"
url="https://github.com/OpenJarbas/json_database"
arch="noarch"
license="MIT"
depends="
	py3-combo-lock
	python3
	"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/j/json_database/json_database-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/json_database-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
ed90818cd290952856d0178254e9b8ed0052df458b640b45abbbb2c1c161ed2d8d220ff3b53d77c0743a7b779809e39e51cae62763e85c21e72ad9a6ffc1184d  json_database-0.7.0.tar.gz
"
