From 3d1b019a6adaf25f92a2477d3fb412855f692e64 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 5 Jun 2020 14:28:29 +0000 Subject: community/py3-sentry-sdk: new aport. New dep of gns3-server --- community/py3-sentry-sdk/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 community/py3-sentry-sdk/APKBUILD diff --git a/community/py3-sentry-sdk/APKBUILD b/community/py3-sentry-sdk/APKBUILD new file mode 100644 index 0000000000..92e4a36f39 --- /dev/null +++ b/community/py3-sentry-sdk/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=py3-sentry-sdk +pkgver=0.14.4 +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" +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 --prefix=/usr --root="$pkgdir" +} + +sha512sums="539f337d7933f9c859fc9314edf2be5643f0acd6823fcff64aad5c00cd8c55743d2f6438a1b3352f179b0d84351d435c2db27516618a3046bc400e7dbeeecff0 py3-sentry-sdk-0.14.4.tar.gz" -- cgit v1.2.3