From ce5d48e45209a47e223498e6122a6ea66c59370e Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 16 May 2023 13:30:23 -0400 Subject: [PATCH] backports/py3-sentry-sdk: new aport --- backports/py3-sentry-sdk/APKBUILD | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 backports/py3-sentry-sdk/APKBUILD diff --git a/backports/py3-sentry-sdk/APKBUILD b/backports/py3-sentry-sdk/APKBUILD new file mode 100644 index 0000000..691846b --- /dev/null +++ b/backports/py3-sentry-sdk/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=py3-sentry-sdk +pkgver=1.23.0 +pkgrel=0 +pkgdesc="The new Python SDK for Sentry.io" +url="https://sentry.io/for/python/" +arch="noarch" +license="BSD-2-Clause" +options="!check" # test depends on sanic that is not avail atm +depends="python3 py3-certifi py3-urllib3" +makedepends="py3-setuptools" +# only starting v3.18 +#subpackages="$pkgname-pyc" +source="$pkgname-$pkgver.tar.gz::https://github.com/getsentry/sentry-python/archive/$pkgver.tar.gz" +builddir="$srcdir"/sentry-python-$pkgver + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --skip-build --root="$pkgdir" +} + +sha512sums=" +6cb0fda5c73e7f3a3e33458479ab40f6f33c661b9ddf69eaf6630c22004ff8a21157a3be454e583717b7d1999bff26bbe8d8e3d719e42c42612f1c5ddf0767b5 py3-sentry-sdk-1.23.0.tar.gz +"