aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-flask-caching/APKBUILD
blob: d80e71a4fa4832b42a0816866f85cc030826f9b8 (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-flask-caching
_pkgname=Flask-Caching
pkgver=2.0.0
pkgrel=0
pkgdesc="Flask caching support"
url="https://flask-caching.readthedocs.io/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-cachelib py3-flask"
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="
7dc364182b74c426745b8f264df295ce59e4f1f729a3c680fcf707b299effd2829650409da55049fa307b9c66475117948524b3e9b891069b3fd0c2815d96c8c  Flask-Caching-2.0.0.tar.gz
"