Skip to content
Snippets Groups Projects
Commit e9335991 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/py3-tinydb: upgrade to 4.4.0 and modernize

parent fe5dc552
No related branches found
No related tags found
1 merge request!22367[3.14] community/py3-tinydb: upgrade to 4.4.0 and modernize
Pipeline #84816 canceled
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-tinydb
_pkgname=tinydb
pkgver=3.15.2
pkgrel=1
pkgver=4.4.0
pkgrel=0
pkgdesc="a tiny, document oriented database"
url="https://github.com/msiemens/tinydb"
arch="noarch"
license="MIT"
makedepends="py3-setuptools py3-pytest-runner"
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
makedepends="
py3-pytest-runner
py3-setuptools
"
checkdepends="
py3-pytest
py3-pytest-cov
py3-yaml
"
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 --prefix=/usr --root="$pkgdir"
}
check() {
python3 setup.py test
}
sha512sums="dac3132415120a622e84eda64962dd1bb3253db661228d6118c200d6020c28bc7902760bf5fb9a8589e76815630106436090c6aea6f6715c1a28f72193711444 py3-tinydb-3.15.2.tar.gz"
sha512sums="
4a7ec7ba0a20136425261ae33f9fd003fcdef796db3bf006b8b20fe5b4dce6f1d5c4ba172034bd5520d577c5517777cd8368084b6646bf978f8987c81ee98a07 tinydb-4.4.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment