aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-cached-property/APKBUILD
blob: a3bede3bf8a3050c9a7478f998cf88c7e2ea76c7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-cached-property
pkgver=1.5.1
pkgrel=1
pkgdesc="Decorator for caching properties in classes"
url="https://github.com/pydanny/cached-property"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev"
source="https://pypi.io/packages/source/c/cached-property/cached-property-$pkgver.tar.gz"
builddir="$srcdir/cached-property-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="61bbedb48336af7c0b465421eb4d3b6b48155cfe4fd6270ff49caefe0d80e40b50c4801a68a5564931d316e374b69112ad14f72687a015ce81aaeade6fcf9ce3  cached-property-1.5.1.tar.gz"