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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 20:05:20 UTC 2019


    Date: Friday, October 25, 2019 @ 20:05:19
  Author: felixonmars
Revision: 519717

archrelease: copy trunk to community-staging-any

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

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

Copied: python-wsproto/repos/community-staging-any/PKGBUILD (from rev 519716, python-wsproto/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 20:05:19 UTC (rev 519717)
@@ -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=2
+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