diff options
Diffstat (limited to 'testing/awslogs')
-rw-r--r-- | testing/awslogs/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/awslogs/APKBUILD b/testing/awslogs/APKBUILD new file mode 100644 index 0000000000..4ee639094f --- /dev/null +++ b/testing/awslogs/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Paul Bredbury <brebs@sent.com> +pkgname=awslogs +pkgver=0.11.0 +pkgrel=0 +pkgdesc="AWS CloudWatch log retriever" +url="https://github.com/jorgebastida/awslogs" +arch="noarch" +license="BSD-Source-Code" +depends="py3-boto3 py3-jmespath py3-termcolor py3-dateutil" +makedepends="python3-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/jorgebastida/awslogs/archive/$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" +} + +sha512sums="30118717535ef46acc387473a0dffc61169e234b290555097db4d0deb0cfedba23a18147c9c40bc1f983f5ac18a051f057ec6aaa13a1ca8d7caa23e3c53a3e1b awslogs-0.11.0.tar.gz" |