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

Brett Cornwall ainola at gemini.archlinux.org
Tue Jun 21 01:27:47 UTC 2022


    Date: Tuesday, June 21, 2022 @ 01:27:47
  Author: ainola
Revision: 1238750

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

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

Copied: python-websocket-client/repos/community-testing-any/PKGBUILD (from rev 1238749, python-websocket-client/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-06-21 01:27:47 UTC (rev 1238750)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thore Bödecker <foxxx0 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
+pkgver=1.3.3
+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=('e70b6c074cbcac1e97dc11b0ccf60dc67fc066f8394b6cbd20349c1d41d625966c03645da5ccd0a81198c80e2e40fdc267ac599bc5dfacadad4c511a83e06de1')
+
+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:



More information about the arch-commits mailing list