[arch-commits] Commit in python-websocket-client/repos/community-any (4 files)

Felix Yan felixonmars at archlinux.org
Mon Dec 25 04:28:44 UTC 2017


    Date: Monday, December 25, 2017 @ 04:28:43
  Author: felixonmars
Revision: 275911

archrelease: copy trunk to community-any

Added:
  python-websocket-client/repos/community-any/PKGBUILD
    (from rev 275910, python-websocket-client/trunk/PKGBUILD)
  python-websocket-client/repos/community-any/use-system-ca.patch
    (from rev 275910, python-websocket-client/trunk/use-system-ca.patch)
Deleted:
  python-websocket-client/repos/community-any/PKGBUILD
  python-websocket-client/repos/community-any/use-system-ca.patch

---------------------+
 PKGBUILD            |  126 +++++++++++++++++++++++++-------------------------
 use-system-ca.patch |   20 +++----
 2 files changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-25 04:28:27 UTC (rev 275910)
+++ PKGBUILD	2017-12-25 04:28:43 UTC (rev 275911)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Matmas <matmas at matmas.net>
-# Contributor: Thomas Gubler <thomasgubler at gmail.com>
-# Contributor: Daniel YC Lin <dlin.tw at gmail>
-# Contributor: Florian Bruhin <archlinux.org at the-compiler.org>
-
-pkgname=(python-websocket-client python2-websocket-client)
-pkgver=0.44.0
-pkgrel=1
-pkgdesc="WebSocket client library for Python"
-arch=(any)
-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=('845e29c3ee7233f77d630c21a7cd8bc0ac1f619cafbd77cf2cb493e2d6b1900611bf7e9a6b927f10685a267ca2dbe6434f8b2a1e796534649253b3f1dd446738'
-            '0c477ff2cb1c0201b47e5462500326ebc0d60d1010bc9e6c29eb201204f74c1932df1ff0c1c4e59fa64d946ff7e253c1cce350793a8a102e9e7e10074e0aa1db')
-
-prepare() {
-  (cd websocket_client-$pkgver; patch -p1 -i ../use-system-ca.patch)
-  rm websocket_client-$pkgver/websocket/cacert.pem
-  sed -i "s/'backports.ssl_match_hostname'//" websocket_client-$pkgver/setup.py
-
-  cp -a websocket_client-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/websocket_client-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/websocket_client-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/websocket_client-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/websocket_client-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-websocket-client() {
-  depends=('python-six')
-
-  cd websocket_client-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-websocket-client() {
-  depends=('python2-six')
-
-  cd websocket_client-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/wsdump{,2}.py
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: python-websocket-client/repos/community-any/PKGBUILD (from rev 275910, python-websocket-client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-25 04:28:43 UTC (rev 275911)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Matmas <matmas at matmas.net>
+# Contributor: Thomas Gubler <thomasgubler at gmail.com>
+# Contributor: Daniel YC Lin <dlin.tw at gmail>
+# Contributor: Florian Bruhin <archlinux.org at the-compiler.org>
+
+pkgname=(python-websocket-client python2-websocket-client)
+pkgver=0.45.0
+pkgrel=1
+pkgdesc="WebSocket client library for Python"
+arch=(any)
+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=('a6d582174538ee66b8f04721faad5f287040ec64c7b75ac16f1168a08014bfc0cbb54c0730413eeecc0e25a980823d8e49a54f64e8913d0cf9dbf273f99f3af3'
+            '0c477ff2cb1c0201b47e5462500326ebc0d60d1010bc9e6c29eb201204f74c1932df1ff0c1c4e59fa64d946ff7e253c1cce350793a8a102e9e7e10074e0aa1db')
+
+prepare() {
+  (cd websocket_client-$pkgver; patch -p1 -i ../use-system-ca.patch)
+  rm websocket_client-$pkgver/websocket/cacert.pem
+  sed -i "s/'backports.ssl_match_hostname'//" websocket_client-$pkgver/setup.py
+
+  cp -a websocket_client-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/websocket_client-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/websocket_client-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/websocket_client-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/websocket_client-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-websocket-client() {
+  depends=('python-six')
+
+  cd websocket_client-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-websocket-client() {
+  depends=('python2-six')
+
+  cd websocket_client-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/wsdump{,2}.py
+}
+
+# vim:set ts=2 sw=2 ft=sh et:

Deleted: use-system-ca.patch
===================================================================
--- use-system-ca.patch	2017-12-25 04:28:27 UTC (rev 275910)
+++ use-system-ca.patch	2017-12-25 04:28:43 UTC (rev 275911)
@@ -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",

Copied: python-websocket-client/repos/community-any/use-system-ca.patch (from rev 275910, python-websocket-client/trunk/use-system-ca.patch)
===================================================================
--- use-system-ca.patch	                        (rev 0)
+++ use-system-ca.patch	2017-12-25 04:28:43 UTC (rev 275911)
@@ -0,0 +1,10 @@
+--- 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