aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-cachelib/APKBUILD
blob: 46ac2dd600afb66fc7cc1ea0f45b7ff79549441d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Simon Rupf <simon@rupf.net>
pkgname=py3-cachelib
_pkgname=cachelib
pkgver=0.9.0
pkgrel=0
pkgdesc="Extract from werkzeug.cache"
url="https://cachelib.readthedocs.io/"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-build py3-installer py3-pytest py3-setuptools py3-tox py3-wheel"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 -m build --wheel --no-isolation
}

check() {
	tox -e pypy3
}

package() {
	python3 -m installer --destdir="$pkgdir" dist/*.whl
}

sha512sums="
33f1dc99bcd993107f27b0cbc99a703fa41a7e46cd4ebf851b8e6f6a8d78e973db68b71f0f64a8455ec7e2995bda9f3e6c569c5f1522fe7269a8299b83ecc510  cachelib-0.9.0.tar.gz
"