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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:50:08 UTC 2020


    Date: Monday, November 9, 2020 @ 16:50:08
  Author: foutrelis
Revision: 747587

archrelease: copy trunk to community-staging-any

Added:
  python-wsproto/repos/community-staging-any/
  python-wsproto/repos/community-staging-any/PKGBUILD
    (from rev 747586, python-wsproto/trunk/PKGBUILD)

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

Copied: python-wsproto/repos/community-staging-any/PKGBUILD (from rev 747586, python-wsproto/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:50:08 UTC (rev 747587)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-wsproto
+pkgver=0.15.0
+pkgrel=4
+pkgdesc="WebSockets state-machine based protocol implementation"
+url="https://github.com/python-hyper/wsproto"
+license=('MIT')
+arch=('any')
+depends=('python-h11')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz")
+sha512sums=('c9666ec65374181da762f460f0c394a5bb599f8a0666989fb2d53e5e8822f5ebdd28eae3098e115d5bbacf6d6e1dd33a9cfeb808d569e1a01025eefaff18c531')
+
+build() {
+  cd wsproto-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd wsproto-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd wsproto-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list