aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-tinydb/APKBUILD
blob: c2469ca70c733050e1b0a765bf59b8d9f18acc15 (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.15.1
pkgrel=1
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="071447bc9e5c47c4e997ec1e6ff7bf9c56c86cbaecca7d4a822f985b5a8d8d8cc17d159874c840b914489713d3f79b14eb5949a030cd900f7e0f70ccb613c1ce  py3-tinydb-3.15.1.tar.gz"