diff options
Diffstat (limited to 'community/py3-tinydb/APKBUILD')
-rw-r--r-- | community/py3-tinydb/APKBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/community/py3-tinydb/APKBUILD b/community/py3-tinydb/APKBUILD index f5ccb05f259..addeb9c4b57 100644 --- a/community/py3-tinydb/APKBUILD +++ b/community/py3-tinydb/APKBUILD @@ -1,27 +1,33 @@ # Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de> # Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> pkgname=py3-tinydb -pkgver=4.4.0 -pkgrel=0 +pkgver=4.8.0 +pkgrel=1 pkgdesc="a tiny, document oriented database" url="https://github.com/msiemens/tinydb" arch="noarch" license="MIT" makedepends=" + py3-gpep517 + py3-installer + py3-poetry-core py3-pytest-runner - py3-setuptools + py3-wheel " 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 + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } check() { @@ -29,9 +35,10 @@ check() { } package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" + python3 -m installer -d "$pkgdir" \ + .dist/tinydb*.whl } sha512sums=" -4a7ec7ba0a20136425261ae33f9fd003fcdef796db3bf006b8b20fe5b4dce6f1d5c4ba172034bd5520d577c5517777cd8368084b6646bf978f8987c81ee98a07 tinydb-4.4.0.tar.gz +7f1932b766aba34f3721f0fbb7d45b8f39036caf8c41767e21232d4f329f00e440eb93a7284daa7b6df3a6700a5b4fcbdd6a7b79601ffd95480a86065cf7907c tinydb-4.8.0.tar.gz " |