aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-kitchen/APKBUILD
blob: c066bcae8b26edbe4234c1ac26be49b3a6b12355 (plain) (blame)
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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-kitchen
_pyname=kitchen
pkgver=1.2.6
pkgrel=0
pkgdesc="Useful snippets of python code"
url="https://github.com/fedora-infra/kitchen"
arch="noarch"
license="LGPL-2.1-only"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/k/kitchen/kitchen-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="215d9e1f64b2f10362ecc434999b27607ecf091c8abe317f47b8607d82a45a63ba2cdfaef8b560e38c82a5e4ab270bb9b5283f957e8a66423fd93e9b83ed0123  kitchen-1.2.6.tar.gz"