From b1bb92c314ec0f5e2768dc31e39e5abbcfd7e9dd Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 26 Sep 2019 19:55:22 -0300 Subject: community/py3-core-api: move from testing --- community/py3-core-api/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/py3-core-api/APKBUILD (limited to 'community/py3-core-api/APKBUILD') diff --git a/community/py3-core-api/APKBUILD b/community/py3-core-api/APKBUILD new file mode 100644 index 0000000000..ecd501aa31 --- /dev/null +++ b/community/py3-core-api/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Leonardo Arena +# Maintainer: +pkgname=py3-core-api +_pkgname=python-client +pkgver=2.3.3 +pkgrel=5 +pkgdesc="Python client library for Core API" +url="https://github.com/core-api/python-client" +arch="noarch" +license="BSD-2-Clause" +depends="py3-coreschema py3-itypes py3-requests py3-uritemplate" +makedepends="py3-setuptools" +checkdepends="py3-coverage py3-pytest py3-core-api" +source="$pkgname-$pkgver.tar.gz::https://github.com/core-api/python-client/archive/$pkgver.tar.gz + no-flake8.patch + " +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + python3 setup.py --quiet build +} + +check() { + python3 runtests +} + +package() { + python3 setup.py --quiet install --prefix=/usr --root="$pkgdir" +} + +sha512sums="aeae3ace84c0ce61552236b83db28e47492f5ac17a0e216e1a8eeddaf67270b94127f7a40f8a37cc5051abe097555adfd690a7e6c8801524ca77c916bd451ab8 py3-core-api-2.3.3.tar.gz +46f6ec6ef970094d41cb9d61c7225c19ea37b19bcba6287c7c8f26a1b11da5bd34a60cd6582436f0450cc5c8f616d499dd2ceb8fa2d6e6042c39715e68343310 no-flake8.patch" -- cgit v1.2.3