aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-raven
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-04-06 14:41:08 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-04-06 14:41:08 +0000
commit46d0595ffc9fdfd3e7cc399fdf770eb75980a60e (patch)
tree7e438f212892b3174328accb383891a0e446301c /testing/py-raven
parent64c9395a65150271a7e6dd703ae072de4ad56dc7 (diff)
downloadaports-46d0595ffc9fdfd3e7cc399fdf770eb75980a60e.tar.bz2
aports-46d0595ffc9fdfd3e7cc399fdf770eb75980a60e.tar.xz
testing/py-raven: new aport
Diffstat (limited to 'testing/py-raven')
-rw-r--r--testing/py-raven/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/py-raven/APKBUILD b/testing/py-raven/APKBUILD
new file mode 100644
index 0000000000..4f15608c63
--- /dev/null
+++ b/testing/py-raven/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=py-raven
+_pkgname=raven-python
+pkgver=5.12.0
+pkgrel=0
+pkgdesc="Python client for Sentry"
+url="http://pypi.python.org/pypi/raven"
+arch="noarch"
+license="BSD"
+depends="python3"
+depends_dev=""
+makedepends="$depends_dev py-setuptools pytest"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/getsentry/$_pkgname/archive/$pkgver.tar.gz"
+
+builddir="$srcdir"/$_pkgname-$pkgver
+build() {
+ cd "$builddir"
+ python3 setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+md5sums="f539dc5fdc9fff1a26017e7010194f3a py-raven-5.12.0.tar.gz"
+sha256sums="dfdaa2873c414793d386c7bdfcaa204e9faa5b6b0dce894961b405975ad3f0a5 py-raven-5.12.0.tar.gz"
+sha512sums="4ecfe442f89ac1376a48859d6d83f7d3672c60329af580ec7885c93d5d02bee9d2b81a27a52bf252f3319c80e95c0bdba3a9fbccf2918041f1f7ae4b8ff8dbfa py-raven-5.12.0.tar.gz"