diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-26 19:55:34 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-09 08:03:07 -0300 |
commit | 138a5650dbec3be0284d0dc12f727f41a46cb090 (patch) | |
tree | 709d61bdc4114e2c709f6c382998073dfc27571f /community/py3-coreschema | |
parent | b1bb92c314ec0f5e2768dc31e39e5abbcfd7e9dd (diff) | |
download | aports-138a5650dbec3be0284d0dc12f727f41a46cb090.tar.bz2 aports-138a5650dbec3be0284d0dc12f727f41a46cb090.tar.xz |
community/py3-coreschema: move from testing
Diffstat (limited to 'community/py3-coreschema')
-rw-r--r-- | community/py3-coreschema/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/py3-coreschema/APKBUILD b/community/py3-coreschema/APKBUILD new file mode 100644 index 0000000000..87589ac80d --- /dev/null +++ b/community/py3-coreschema/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: +pkgname=py3-coreschema +_pkgname=coreschema +pkgver=0.0.4 +pkgrel=2 +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" |