python-websocket-client: use system ca-certificates
This commit is contained in:
parent
7919664697
commit
40e599b3e6
1 changed files with 7 additions and 4 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'python-websocket-client'
|
# Template file for 'python-websocket-client'
|
||||||
pkgname=python-websocket-client
|
pkgname=python-websocket-client
|
||||||
version=0.35.0
|
version=0.35.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="websocket_client-${version}"
|
wrksrc="websocket_client-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
depends="python-six"
|
depends="python-six ca-certificates"
|
||||||
pycompile_module="websocket"
|
pycompile_module="websocket"
|
||||||
short_desc="WebSocket client for Python2"
|
short_desc="WebSocket client for Python2"
|
||||||
maintainer="Sergi Alvarez <pancake@nopcode.org>"
|
maintainer="Sergi Alvarez <pancake@nopcode.org>"
|
||||||
|
@ -16,16 +16,19 @@ license="LGPL-2.1"
|
||||||
distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
|
||||||
checksum=5ac3ead091be17b680a0dda926aef1a697a2b6cf1e9ac0fbe4bffb14914c2116
|
checksum=5ac3ead091be17b680a0dda926aef1a697a2b6cf1e9ac0fbe4bffb14914c2116
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
# use system certs
|
||||||
|
rm -f websocket/cacert.pem
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/bin/*
|
rm -f ${DESTDIR}/usr/bin/*
|
||||||
vbin build-2.7/scripts-2.7/wsdump.py wsdump
|
vbin build-2.7/scripts-2.7/wsdump.py wsdump
|
||||||
vbin build-3.4/scripts-3.4/wsdump.py wsdump3.4
|
vbin build-3.4/scripts-3.4/wsdump.py wsdump3.4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
python3.4-websocket-client_package() {
|
python3.4-websocket-client_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-six"
|
depends="python3.4-six ca-certificates"
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="websocket"
|
pycompile_module="websocket"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
|
Loading…
Reference in a new issue