void-packages/srcpkgs/python3-sentry/template

25 lines
684 B
Bash

# Template file for 'python3-sentry'
pkgname=python3-sentry
version=1.0.0
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="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/getsentry/sentry-python"
distfiles="https://github.com/getsentry/sentry-python/archive/${version}.tar.gz"
checksum=@514331143990028b4cecf9f8e4ff5dfe4c0dddd0dcb206b28b7fba22ada6cece
do_check() {
cd build/lib
python3 -c 'import sentry_sdk as m; print(m)'
}
post_install() {
vlicense LICENSE
}