void-packages/srcpkgs/python3-raven/template

22 lines
721 B
Bash

# Template file for 'python3-raven'
pkgname=python3-raven
version=6.10.0
revision=8
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="ca-certificates python3-setuptools"
short_desc="Python3 client for Sentry"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/getsentry/raven-python"
distfiles="${PYPI_SITE}/r/raven/raven-${version}.tar.gz"
checksum=3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54
conflicts="python-raven>=0"
post_install() {
# use system ca-certificates
rm -f ${DESTDIR}/${py3_sitelib}/raven/data/cacert.pem
ln -sf /etc/ssl/certs.pem ${DESTDIR}/${py3_sitelib}/raven/data/cacert.pem
vlicense LICENSE
}