From 0891fafe75b63b2d6e7654e389d474f09fea7806 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Thu, 25 Jun 2020 13:29:46 +0200 Subject: [PATCH] New package: python3-sentry-0.15.1 --- srcpkgs/python3-sentry/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/python3-sentry/template diff --git a/srcpkgs/python3-sentry/template b/srcpkgs/python3-sentry/template new file mode 100644 index 00000000000..c340cbb7820 --- /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 +}