aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-raven/APKBUILD
blob: 144b3257227c21b5f1cf656f0d73283203b0a3ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-raven
_pkgname=raven
pkgver=6.10.0
pkgrel=3
pkgdesc="Python client for Sentry"
url="https://github.com/getsentry/raven-python"
arch="noarch"
license="BSD-3-Clause"
replaces="py-raven py2-raven" # for backwards compatibility
provides="py-raven=$pkgver-r$pkgrel py2-raven=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3"
makedepends="py3-setuptools python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="37ca6d5953dc92b57b3bf4e2edb3947d41f33711d9babfc9eafb8712dc5923829f8810e5123e63749710aeecceb66e56bf8b5b60868f61d750704e20add3c747  raven-6.10.0.tar.gz"