Date: Friday, January 27, 2023 @ 19:44:55
Author: ainola
Revision: 1388959
archrelease: copy trunk to community-testing-any
Added:
python-websocket-client/repos/community-testing-any/
python-websocket-client/repos/community-testing-any/PKGBUILD
(from rev 1388958, python-websocket-client/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-websocket-client/repos/community-testing-any/PKGBUILD (from rev
1388958, python-websocket-client/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2023-01-27 19:44:55 UTC (rev 1388959)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Thore Bödecker <[email protected]>
+# Contributor: Matmas <[email protected]>
+# Contributor: Thomas Gubler <[email protected]>
+# Contributor: Daniel YC Lin <dlin.tw at gmail>
+# Contributor: Florian Bruhin <[email protected]>
+
+pkgname=python-websocket-client
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="WebSocket client library for Python"
+arch=('any')
+url="https://github.com/websocket-client/websocket-client"
+license=('LGPL')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/w/websocket-client/websocket-client-$pkgver.tar.gz")
+sha512sums=('678ab14a8c036e341134e6ae19d422a8888e64ec781983c2eff9d7897298a3b1899b65813351bb566319c931918c034cf0a730aa07c06e48ebac3ddb409a8dee')
+
+build() {
+ cd websocket-client-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd websocket-client-$pkgver
+ pytest
+}
+
+package() {
+ cd websocket-client-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 ft=sh et: