Date: Tuesday, October 27, 2015 @ 15:45:12 Author: fyan Revision: 145127
archrelease: copy trunk to community-any Added: python-websocket-client/repos/community-any/PKGBUILD (from rev 145126, python-websocket-client/trunk/PKGBUILD) python-websocket-client/repos/community-any/use-system-ca.patch (from rev 145126, 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 | 124 +++++++++++++++++++++++++------------------------- use-system-ca.patch | 20 ++++---- 2 files changed, 72 insertions(+), 72 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-10-27 14:44:51 UTC (rev 145126) +++ PKGBUILD 2015-10-27 14:45:12 UTC (rev 145127) @@ -1,62 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Matmas <mat...@matmas.net> -# Contributor: Thomas Gubler <thomasgub...@gmail.com> -# Contributor: Daniel YC Lin <dlin.tw at gmail> -# Contributor: Florian Bruhin <archlinux....@the-compiler.org> - -pkgname=(python-websocket-client python2-websocket-client) -pkgver=0.32.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=(http://pypi.python.org/packages/source/w/websocket-client/websocket_client-$pkgver.tar.gz - use-system-ca.patch) -md5sums=('b07a897511a3c585251fe2ea85a9d9d9' - 'c34c7f6fddbe5758d84b9d3cfdd92108') - -prepare() { - (cd websocket_client-$pkgver; patch -p1 -i ../use-system-ca.patch) - rm websocket_client-$pkgver/websocket/cacert.pem - - 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 "$srcdir/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 "$srcdir/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 145126, python-websocket-client/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-10-27 14:45:12 UTC (rev 145127) @@ -0,0 +1,62 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Matmas <mat...@matmas.net> +# Contributor: Thomas Gubler <thomasgub...@gmail.com> +# Contributor: Daniel YC Lin <dlin.tw at gmail> +# Contributor: Florian Bruhin <archlinux....@the-compiler.org> + +pkgname=(python-websocket-client python2-websocket-client) +pkgver=0.33.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=(http://pypi.python.org/packages/source/w/websocket-client/websocket_client-$pkgver.tar.gz + use-system-ca.patch) +md5sums=('7221d9ef4ee2bc4828d59b376a0cc682' + 'c34c7f6fddbe5758d84b9d3cfdd92108') + +prepare() { + (cd websocket_client-$pkgver; patch -p1 -i ../use-system-ca.patch) + rm websocket_client-$pkgver/websocket/cacert.pem + + 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 "$srcdir/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 "$srcdir/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 2015-10-27 14:44:51 UTC (rev 145126) +++ use-system-ca.patch 2015-10-27 14:45:12 UTC (rev 145127) @@ -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 145126, python-websocket-client/trunk/use-system-ca.patch) =================================================================== --- use-system-ca.patch (rev 0) +++ use-system-ca.patch 2015-10-27 14:45:12 UTC (rev 145127) @@ -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",