backports/py3-sentry-sdk: new aport
This commit is contained in:
parent
249f54b278
commit
ce5d48e452
1 changed files with 32 additions and 0 deletions
32
backports/py3-sentry-sdk/APKBUILD
Normal file
32
backports/py3-sentry-sdk/APKBUILD
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
|
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
|
||||||
|
"
|
Loading…
Add table
Reference in a new issue