# Template file for 'python3-sentry'
pkgname=python3-sentry
version=0.15.1
revision=2
wrksrc="sentry-python-${version}"
build_style=python3-module
hostmakedepends=python3-setuptools
depends="python3-certifi python3-urllib3"
checkdepends="${depends}"
short_desc="New Python SDK for Sentry.io"
maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
license="BSD-2-Clause"
homepage="https://github.com/getsentry/sentry-python"
distfiles="https://github.com/getsentry/sentry-python/archive/${version}.tar.gz"
checksum=92008498d7e1d286cf0d971200398152eb776293814db82a2121f1f264cd966e

do_check() {
	cd build/lib
	python3 -c 'import sentry_sdk as m; print(m)'
}

post_install() {
	vlicense LICENSE
}
