aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-coreschema/APKBUILD
blob: 19ae97ef1a3a424d964f02a6ad17f972363a9eac (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
29
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-coreschema
_pkgname=coreschema
pkgver=0.0.4
pkgrel=3
pkgdesc="No description or topics provided"
url="https://github.com/core-api/python-coreschema"
arch="noarch"
license="BSD"
depends="py3-jinja2"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="$pkgname-$pkgver.tar.gz::https://github.com/core-api/python-coreschema/archive/$pkgver.tar.gz"
builddir="$srcdir"/python-$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$PWD/build/lib" py.test-3 tests/
}

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

sha512sums="28badbae07284fb4dbd3f01f613edda1202902115fb166bd95bbac549d398c9e02548b473524d3b530a42319a99d7e55e92bf54269827a9812249cfb285670c3  py3-coreschema-0.0.4.tar.gz"