diff options
author | Marian Buschsieweke <marian.buschsieweke@ovgu.de> | 2019-07-13 13:42:41 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-13 12:54:43 -0300 |
commit | db74d9ef6c529bba77a2d687711be42fb6b07233 (patch) | |
tree | 2107bdbf437be4f9e6830fc23b7c892464ed36de /testing/py3-tinydb | |
parent | 1e51cbf729f393d301ab48963943199fcc51e44e (diff) | |
download | aports-db74d9ef6c529bba77a2d687711be42fb6b07233.tar.bz2 aports-db74d9ef6c529bba77a2d687711be42fb6b07233.tar.xz |
testing/py3-tinydb: New aport
a tiny, document oriented database
https://github.com/msiemens/tinydb
Diffstat (limited to 'testing/py3-tinydb')
-rw-r--r-- | testing/py3-tinydb/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/py3-tinydb/APKBUILD b/testing/py3-tinydb/APKBUILD new file mode 100644 index 0000000000..eb6de416f6 --- /dev/null +++ b/testing/py3-tinydb/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de> +# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> +pkgname=py3-tinydb +_pkgname=tinydb +pkgver=3.13.0 +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://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$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="2fe92aa36c0e4541e87de005146615c2e80fc7fb94539ee3ba236a35b2a681545a30f8e88132408c2c3b4de65a0d316e40b93a102f76def2aa82519fa016a7b8 py3-tinydb-3.13.0.tar.gz" |