[arch-commits] Commit in python-wsproto/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Dec 9 15:25:39 UTC 2020
Date: Wednesday, December 9, 2020 @ 15:25:39
Author: felixonmars
Revision: 772713
archrelease: copy trunk to community-testing-any
Added:
python-wsproto/repos/community-testing-any/
python-wsproto/repos/community-testing-any/PKGBUILD
(from rev 772712, python-wsproto/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-wsproto/repos/community-testing-any/PKGBUILD (from rev 772712, python-wsproto/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2020-12-09 15:25:39 UTC (rev 772713)
@@ -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=1.0.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=('36f8c4eebf84bfe869f7124330898d22416b423f47396f2e3f72069e14f1763514e1df700c3e8ee81467cf973197e10143e088978d0688930fa98518af8773fb')
+
+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