New package: python-raven-6.1.0
This commit is contained in:
parent
dd7fdcbba8
commit
12cdfb1ba1
|
@ -0,0 +1,39 @@
|
|||
# Template file for 'python-raven'
|
||||
pkgname=python-raven
|
||||
version=6.1.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="raven-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="raven"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="ca-certificates python-setuptools python-contextlib2"
|
||||
short_desc="Python2 client for Sentry"
|
||||
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
||||
license="3-clause-BSD"
|
||||
homepage="https://github.com/getsentry/raven-python"
|
||||
distfiles="${PYPI_SITE}/r/raven/raven-${version}.tar.gz"
|
||||
checksum=02cabffb173b99d860a95d4908e8b1864aad1b8452146e13fd7e212aa576a884
|
||||
alternatives="raven:raven:/usr/bin/raven2"
|
||||
|
||||
post_install() {
|
||||
# use system ca-certificates
|
||||
for py_sitelib in $py2_sitelib $py3_sitelib; do
|
||||
rm -f ${DESTDIR}/${py_sitelib}/raven/data/cacert.pem
|
||||
ln -sf /etc/ssl/cert.pem ${DESTDIR}/${py_sitelib}/raven/data/cacert.pem
|
||||
done
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-raven_package() {
|
||||
noarch=yes
|
||||
pycompile_module="raven"
|
||||
depends="ca-certificates python3-setuptools"
|
||||
alternatives="raven:raven:/usr/bin/raven3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
python-raven
|
Loading…
Reference in New Issue