summaryrefslogtreecommitdiff
path: root/community/py3-lazy/APKBUILD
blob: a55a6a4de8d0f488bae5949d06bc407142c9f071 (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
30
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-lazy
pkgver=1.5
pkgrel=1
pkgdesc="Lazy attributes for Python objects"
url="https://github.com/stefanholek/lazy"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://github.com/stefanholek/lazy/archive/$pkgver/lazy-$pkgver.tar.gz"
builddir="$srcdir/lazy-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
be849c405b2a8513eaa2f1e6111bb265e307c947b8f076055ad02e21f7b56f4f52c9cde362e76bfc35703b0a6dcc0675ef8684cec64bb8736f19ed171c687019  lazy-1.5.tar.gz
"