[arch-commits] Commit in python-wsproto/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jan 24 11:06:34 UTC 2019


    Date: Thursday, January 24, 2019 @ 11:06:33
  Author: felixonmars
Revision: 427501

upgpkg: python-wsproto 0.13.0-1

Modified:
  python-wsproto/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-24 11:04:08 UTC (rev 427500)
+++ PKGBUILD	2019-01-24 11:06:33 UTC (rev 427501)
@@ -4,7 +4,7 @@
 
 pkgbase=python-wsproto
 pkgname=(python-wsproto python2-wsproto)
-pkgver=0.12.0
+pkgver=0.13.0
 pkgrel=1
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto"
@@ -13,7 +13,7 @@
 makedepends=('python-h11' 'python2-h11' 'python-setuptools' 'python2-setuptools' 'python2-enum34')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner')
 source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz")
-sha512sums=('159b7f67eff60c2514cfca17036d95017109fe251def6cec132998ac82a037484e3e248d4335539fd03491f56c491a7cf51582aa3f74a44d7d150220a875b18d')
+sha512sums=('2dd7a2fea22748ab7fe213ccd5b44415b67855d4fbeb3cab8acc5967e84ea7e910bdd2c937a10c348389e997a39eeff7a29f65fee595f8126c23982eaf1ae306')
 
 build() {
   cd wsproto-$pkgver
@@ -33,6 +33,8 @@
   cd wsproto-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/lib/python3.7/site-packages/test{,wsproto/}
 }
 
 package_python2-wsproto() {
@@ -41,4 +43,6 @@
   cd wsproto-$pkgver
   python2 setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/lib/python2.7/site-packages/test{,wsproto/}
 }



More information about the arch-commits mailing list