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

Felix Yan felixonmars at archlinux.org
Sat Aug 17 12:29:31 UTC 2019


    Date: Saturday, August 17, 2019 @ 12:29:30
  Author: felixonmars
Revision: 499963

archrelease: copy trunk to community-testing-any

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

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

Copied: python-wsproto/repos/community-testing-any/PKGBUILD (from rev 499962, python-wsproto/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-08-17 12:29:30 UTC (rev 499963)
@@ -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=1
+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