diff options
Diffstat (limited to 'community/py3-sentry-sdk/APKBUILD')
-rw-r--r-- | community/py3-sentry-sdk/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-sentry-sdk/APKBUILD b/community/py3-sentry-sdk/APKBUILD new file mode 100644 index 00000000000..92e4a36f39e --- /dev/null +++ b/community/py3-sentry-sdk/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +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" |