Date: Saturday, February 26, 2022 @ 00:21:26
  Author: ainola
Revision: 1136624

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 1136623, python-websocket-client/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: python-websocket-client/repos/community-testing-any/PKGBUILD (from rev 
1136623, python-websocket-client/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2022-02-26 00:21:26 UTC (rev 1136624)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Thore Bödecker <fox...@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
+pkgver=1.3.1
+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=('d60c5e755944ed0b2d426c75da9650a6624ee5718061a0cfb71b9a700e5bd3db9143702657175d7988b57e81117bad9cbb58636fb14ca55ad6addd90ff02ce0f')
+
+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:

Reply via email to