mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
37 lines
845 B
Text
37 lines
845 B
Text
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
pkgname=py3-tinydb
|
|
pkgver=4.7.0
|
|
pkgrel=1
|
|
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
|
|
"
|
|
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="
|
|
6a7d1ac395498f9bae7e6338cd87014847b59f9157ad77eea18fe2a5eb9dd519e593124b0cee27ff1b7035d12ce2804c2e9362a22d0a18f725f703bc222f85bc tinydb-4.7.0.tar.gz
|
|
"
|