aboutsummaryrefslogtreecommitdiffstats
path: root/testing/awslogs/APKBUILD
blob: 4ee639094f7b78cb5a8a47e5842896307e7c4b82 (plain)
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: 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"