Date: Monday, March 9, 2020 @ 08:01:28
  Author: bgyorgy
Revision: 592753

Add python-gwebsockets

It's needed for Sugar Deskop.

Added:
  python-gwebsockets/
  python-gwebsockets/trunk/
  python-gwebsockets/trunk/PKGBUILD

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

Added: python-gwebsockets/trunk/PKGBUILD
===================================================================
--- python-gwebsockets/trunk/PKGBUILD                           (rev 0)
+++ python-gwebsockets/trunk/PKGBUILD   2020-03-09 08:01:28 UTC (rev 592753)
@@ -0,0 +1,24 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=python-gwebsockets
+_pkgname=gwebsockets
+pkgver=0.7
+pkgrel=1
+pkgdesc="GLib based websocket server written in python"
+arch=('any')
+url="https://github.com/sugarlabs/gwebsockets";
+license=('Apache')
+depends=('python-gobject')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sugarlabs/$_pkgname/archive/v$pkgver.tar.gz";)
+sha256sums=('116e7e9e2e316011b88c2410e5a9b86c93db1e133ff76534d225302810873d68')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to