[arch-commits] Commit in python-websocket-client/trunk (PKGBUILD use-system-ca.patch)
Felix Yan
felixonmars at archlinux.org
Sun May 27 06:39:31 UTC 2018
Date: Sunday, May 27, 2018 @ 06:39:31
Author: felixonmars
Revision: 331334
upgpkg: python-websocket-client 0.48.0-1
Modified:
python-websocket-client/trunk/PKGBUILD
Deleted:
python-websocket-client/trunk/use-system-ca.patch
---------------------+
PKGBUILD | 11 ++++-------
use-system-ca.patch | 10 ----------
2 files changed, 4 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-27 06:39:19 UTC (rev 331333)
+++ PKGBUILD 2018-05-27 06:39:31 UTC (rev 331334)
@@ -6,7 +6,7 @@
# Contributor: Florian Bruhin <archlinux.org at the-compiler.org>
pkgname=(python-websocket-client python2-websocket-client)
-pkgver=0.47.0
+pkgver=0.48.0
pkgrel=1
pkgdesc="WebSocket client library for Python"
arch=(any)
@@ -13,14 +13,11 @@
url="https://github.com/liris/websocket-client"
license=('LGPL')
makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
-source=(https://pypi.io/packages/source/w/websocket-client/websocket_client-$pkgver.tar.gz
- use-system-ca.patch)
-sha512sums=('0d384e96be66877ba0c24e7194e2f3d554f818c2e2f107b054e07034fa7678946738c2b08c68cd71ebe0237fa507fade319273c492871fbd0ad7085b87cf0a54'
- '0c477ff2cb1c0201b47e5462500326ebc0d60d1010bc9e6c29eb201204f74c1932df1ff0c1c4e59fa64d946ff7e253c1cce350793a8a102e9e7e10074e0aa1db')
+source=(https://pypi.io/packages/source/w/websocket-client/websocket_client-$pkgver.tar.gz)
+sha512sums=('6c678a2671ce6cfb86a61effa836bbe4bb1702f22827934b1fcd7f0f8439be76037d9b6d4d6b416249361a9a74a92701d7b90bc6276b2433388644ed66f56333')
prepare() {
- (cd websocket_client-$pkgver; patch -p1 -i ../use-system-ca.patch)
- rm websocket_client-$pkgver/websocket/cacert.pem
+ # Not sure why the conditions are not working :/
sed -i "s/'backports.ssl_match_hostname'//" websocket_client-$pkgver/setup.py
cp -a websocket_client-$pkgver{,-py2}
Deleted: use-system-ca.patch
===================================================================
--- use-system-ca.patch 2018-05-27 06:39:19 UTC (rev 331333)
+++ use-system-ca.patch 2018-05-27 06:39:31 UTC (rev 331334)
@@ -1,10 +0,0 @@
---- a/setup.py 2015-06-03 08:44:39.000000000 +0800
-+++ b/setup.py 2015-10-26 11:52:15.798195748 +0800
-@@ -41,7 +41,6 @@
- packages=["websocket", "websocket.tests"],
- package_data={
- 'websocket.tests': ['data/*.txt'],
-- 'websocket': ["cacert.pem"]
- },
- tests_require=tests_require,
- test_suite="websocket.tests.test_websocket",
More information about the arch-commits
mailing list