aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-cachy/APKBUILD
blob: df20ea0a3377285db07cb39586146fde3a88f447 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-cachy
_realname=cachy
pkgver=0.2.0
pkgrel=0
pkgdesc="Simple yet effective caching library"
options="!check" # No tests on pypi tarball, github uses pyproject.toml
url="https://github.com/sdispater/cachy"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="a6844ab93b6bba32f49ca77bee800d724a6a447aff8d3644adf05bf079298858c1a7c891460e4ab383c41082ad89368503fe7bca0b105979dd27fc348f2d070a  cachy-0.2.0.tar.gz"