diff --git a/srcpkgs/python3-sentry/template b/srcpkgs/python3-sentry/template new file mode 100644 index 0000000000..c340cbb782 --- /dev/null +++ b/srcpkgs/python3-sentry/template @@ -0,0 +1,25 @@ +# Template file for 'python3-sentry' +pkgname=python3-sentry +version=0.15.1 +revision=1 +archs=noarch +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 " +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 +}