aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-tinydb/APKBUILD
blob: ca5a1634d78c305d2f83e108e4e83d44624cd548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-tinydb
_pkgname=tinydb
pkgver=3.14.2
pkgrel=0
pkgdesc="a tiny, document oriented database"
url="https://github.com/msiemens/tinydb"
arch="noarch"
license="MIT"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov py3-yaml"
source="$pkgname-$pkgver.tar.gz::https://github.com/msiemens/tinydb/archive/v$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="28d6aec5c205e4792e61547adf750e2e89a251ecb60a4302d7c0a0b3f7484466793bd94827a971481263363f8675c01e5d1fdc6aac3e7940973fe031b739b18b  py3-tinydb-3.14.2.tar.gz"