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

Felix Yan felixonmars at archlinux.org
Thu Nov 1 06:20:03 UTC 2018


    Date: Thursday, November 1, 2018 @ 06:20:03
  Author: felixonmars
Revision: 400941

archrelease: copy trunk to community-any

Added:
  python-websocket-client/repos/community-any/PKGBUILD
    (from rev 400940, python-websocket-client/trunk/PKGBUILD)
Deleted:
  python-websocket-client/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  119 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-01 06:19:43 UTC (rev 400940)
+++ PKGBUILD	2018-11-01 06:20:03 UTC (rev 400941)
@@ -1,60 +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.53.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)
-sha512sums=('a20aad73545eb9cff493a9583e1ba5c895096b8de28f4360925f4ed2906d74cf96023ccea9097a23e71402430a623ce9a1456b14add26587b320de903503cb34')
-
-prepare() {
-  # 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}
-}
-
-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 400940, python-websocket-client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-01 06:20:03 UTC (rev 400941)
@@ -0,0 +1,59 @@
+# 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.54.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)
+sha512sums=('ba4dfb6b879ec88ca446f44a77b91bbace55faa1a276f493174f3dc5b96b4d400d43c886798666da98e331610f71b4629f894d97f4614acf8d64affe8370bfec')
+
+prepare() {
+  # 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}
+}
+
+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:



More information about the arch-commits mailing list