aports/community/py3-tinydb/APKBUILD
2023-04-28 18:58:18 +02:00

39 lines
872 B
Plaintext

# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-tinydb
pkgver=4.7.1
pkgrel=0
pkgdesc="a tiny, document oriented database"
url="https://github.com/msiemens/tinydb"
arch="noarch"
license="MIT"
makedepends="
py3-pytest-runner
py3-setuptools
"
checkdepends="
py3-pytest
py3-pytest-cov
py3-yaml
"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/t/tinydb/tinydb-$pkgver.tar.gz"
options="!check" # No tests in pypi package
builddir="$srcdir/tinydb-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
8bdaffb9bc0e8cf07cea63c4bce76b4cbdc888bb31d11c386c4bc5bf930fc9ccad59ca678bea818cada025b862e3c64493301ec4f84e7b44984d7ef28cb86f31 tinydb-4.7.1.tar.gz
"