aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-sentry-sdk/APKBUILD
blob: 92e4a36f39ef83c1d4c17eb7eccc719c359031bf (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-sentry-sdk
pkgver=0.14.4
pkgrel=0
pkgdesc="The new Python SDK for Sentry.io"
url="https://sentry.io/for/python/"
arch="noarch"
license="BSD-2-Clause"
options="!check" # test depends on sanic that is not avail atm
depends="python3 py3-certifi py3-urllib3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/getsentry/sentry-python/archive/$pkgver.tar.gz"
builddir="$srcdir"/sentry-python-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="539f337d7933f9c859fc9314edf2be5643f0acd6823fcff64aad5c00cd8c55743d2f6438a1b3352f179b0d84351d435c2db27516618a3046bc400e7dbeeecff0  py3-sentry-sdk-0.14.4.tar.gz"