python3-raven: use system CA Certificates again

From the switch to openssl in commit d90dba0ae2,
(New package: openssl-1.1.1j, 2019-01-12), we no longer ships
/etc/ssl/cert.pem, we have /etc/ssl/certs.pem instead.

This package still links to the old files.
Link them to the new files.
This commit is contained in:
Đoàn Trần Công Danh 2022-07-14 21:51:55 +07:00
parent 38b10d2d56
commit f854ad0d0a

View file

@ -1,7 +1,7 @@
# Template file for 'python3-raven'
pkgname=python3-raven
version=6.10.0
revision=5
revision=6
wrksrc="raven-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
@ -17,6 +17,6 @@ conflicts="python-raven>=0"
post_install() {
# use system ca-certificates
rm -f ${DESTDIR}/${py3_sitelib}/raven/data/cacert.pem
ln -sf /etc/ssl/cert.pem ${DESTDIR}/${py3_sitelib}/raven/data/cacert.pem
ln -sf /etc/ssl/certs.pem ${DESTDIR}/${py3_sitelib}/raven/data/cacert.pem
vlicense LICENSE
}