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

2020-12-09 Thread Felix Yan via arch-commits
Date: Wednesday, December 9, 2020 @ 15:25:29
  Author: felixonmars
Revision: 772712

upgpkg: python-wsproto 1.0.0-1

Modified:
  python-wsproto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-09 14:51:17 UTC (rev 772711)
+++ PKGBUILD2020-12-09 15:25:29 UTC (rev 772712)
@@ -3,8 +3,8 @@
 # Contributor: Kyle Keen 
 
 pkgname=python-wsproto
-pkgver=0.15.0
-pkgrel=5
+pkgver=1.0.0
+pkgrel=1
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')
@@ -13,7 +13,7 @@
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-runner')
 source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz";)
-sha512sums=('c9666ec65374181da762f460f0c394a5bb599f8a0666989fb2d53e5e8822f5ebdd28eae3098e115d5bbacf6d6e1dd33a9cfeb808d569e1a01025eefaff18c531')
+sha512sums=('36f8c4eebf84bfe869f7124330898d22416b423f47396f2e3f72069e14f1763514e1df700c3e8ee81467cf973197e10143e088978d0688930fa98518af8773fb')
 
 build() {
   cd wsproto-$pkgver


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

2020-11-11 Thread Evangelos Foutras via arch-commits
Date: Wednesday, November 11, 2020 @ 15:05:36
  Author: foutrelis
Revision: 750852

upgpkg: python-wsproto 0.15.0-5: Python 3.9 rebuild

Modified:
  python-wsproto/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 15:05:35 UTC (rev 750851)
+++ PKGBUILD2020-11-11 15:05:36 UTC (rev 750852)
@@ -4,7 +4,7 @@
 
 pkgname=python-wsproto
 pkgver=0.15.0
-pkgrel=4
+pkgrel=5
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')


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

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Monday, November 9, 2020 @ 16:50:04
  Author: foutrelis
Revision: 747585

upgpkg: python-wsproto 0.15.0-4: Python 3.9 rebuild

Modified:
  python-wsproto/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 16:50:00 UTC (rev 747584)
+++ PKGBUILD2020-11-09 16:50:04 UTC (rev 747585)
@@ -4,7 +4,7 @@
 
 pkgname=python-wsproto
 pkgver=0.15.0
-pkgrel=3
+pkgrel=4
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')


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

2019-11-01 Thread Felix Yan via arch-commits
Date: Friday, November 1, 2019 @ 13:23:31
  Author: felixonmars
Revision: 521787

Python 3.8 rebuild

Modified:
  python-wsproto/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 13:23:18 UTC (rev 521786)
+++ PKGBUILD2019-11-01 13:23:31 UTC (rev 521787)
@@ -4,7 +4,7 @@
 
 pkgname=python-wsproto
 pkgver=0.15.0
-pkgrel=2
+pkgrel=3
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')


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

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 20:05:09
  Author: felixonmars
Revision: 519715

Python 3.8 rebuild

Modified:
  python-wsproto/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 20:04:58 UTC (rev 519714)
+++ PKGBUILD2019-10-25 20:05:09 UTC (rev 519715)
@@ -4,7 +4,7 @@
 
 pkgname=python-wsproto
 pkgver=0.15.0
-pkgrel=1
+pkgrel=2
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')


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

2019-08-17 Thread Felix Yan via arch-commits
Date: Saturday, August 17, 2019 @ 12:29:22
  Author: felixonmars
Revision: 499962

upgpkg: python-wsproto 0.15.0-1

Modified:
  python-wsproto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-08-17 10:18:19 UTC (rev 499961)
+++ PKGBUILD2019-08-17 12:29:22 UTC (rev 499962)
@@ -3,7 +3,7 @@
 # Contributor: Kyle Keen 
 
 pkgname=python-wsproto
-pkgver=0.14.1
+pkgver=0.15.0
 pkgrel=1
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
@@ -13,7 +13,7 @@
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-runner')
 source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz";)
-sha512sums=('49f6672df67b620b7496a3141441c88467de07cb7451d4822922609796cfbc9d4b7361a5148c09fa82fb4af90547ff3f5d68e307f239a2495db834dc8bd7f429')
+sha512sums=('c9666ec65374181da762f460f0c394a5bb599f8a0666989fb2d53e5e8822f5ebdd28eae3098e115d5bbacf6d6e1dd33a9cfeb808d569e1a01025eefaff18c531')
 
 build() {
   cd wsproto-$pkgver


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

2019-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 30, 2019 @ 20:57:55
  Author: felixonmars
Revision: 475238

upgpkg: python-wsproto 0.14.1-1

Modified:
  python-wsproto/trunk/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-30 20:57:50 UTC (rev 475237)
+++ PKGBUILD2019-05-30 20:57:55 UTC (rev 475238)
@@ -3,8 +3,8 @@
 # Contributor: Kyle Keen 
 
 pkgname=python-wsproto
-pkgver=0.14.0
-pkgrel=2
+pkgver=0.14.1
+pkgrel=1
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')
@@ -13,7 +13,7 @@
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-runner')
 source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz";)
-sha512sums=('91ffc51229434b8a3c1517b22a082dce0078e38e0f5e7ad016aca9b4d4f2a77c2f9901ea9227e80e61009e70d3ffebb44ed9ae4c988d54a9807b45076e81d43f')
+sha512sums=('49f6672df67b620b7496a3141441c88467de07cb7451d4822922609796cfbc9d4b7361a5148c09fa82fb4af90547ff3f5d68e307f239a2495db834dc8bd7f429')
 
 build() {
   cd wsproto-$pkgver
@@ -29,6 +29,4 @@
   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/{,wsproto/}test
 }


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

2019-04-09 Thread Felix Yan via arch-commits
Date: Tuesday, April 9, 2019 @ 09:51:26
  Author: felixonmars
Revision: 450559

upgpkg: python-wsproto 0.14.0-2

remove python2 sibling

Modified:
  python-wsproto/trunk/PKGBUILD

--+
 PKGBUILD |   26 ++
 1 file changed, 6 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-09 09:50:43 UTC (rev 450558)
+++ PKGBUILD2019-04-09 09:51:26 UTC (rev 450559)
@@ -2,16 +2,16 @@
 # Contributor: Simon Sapin 
 # Contributor: Kyle Keen 
 
-pkgbase=python-wsproto
-pkgname=(python-wsproto python2-wsproto)
+pkgname=python-wsproto
 pkgver=0.14.0
-pkgrel=1
+pkgrel=2
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')
 arch=('any')
-makedepends=('python-h11' 'python2-h11' 'python-setuptools' 
'python2-setuptools' 'python2-enum34')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+depends=('python-h11')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
 source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz";)
 
sha512sums=('91ffc51229434b8a3c1517b22a082dce0078e38e0f5e7ad016aca9b4d4f2a77c2f9901ea9227e80e61009e70d3ffebb44ed9ae4c988d54a9807b45076e81d43f')
 
@@ -18,18 +18,14 @@
 build() {
   cd wsproto-$pkgver
   python setup.py build
-  python2 setup.py build
 }
 
 check() {
   cd wsproto-$pkgver
   python setup.py pytest
-  python2 setup.py pytest
 }
 
-package_python-wsproto() {
-  depends=('python-h11')
-
+package() {
   cd wsproto-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
@@ -36,13 +32,3 @@
 
   mv "$pkgdir"/usr/lib/python3.7/site-packages/{,wsproto/}test
 }
-
-package_python2-wsproto() {
-  depends=('python2-h11' 'python2-enum34')
-
-  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/{,wsproto/}test
-}


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

2019-04-07 Thread Felix Yan via arch-commits
Date: Sunday, April 7, 2019 @ 07:52:24
  Author: felixonmars
Revision: 450167

upgpkg: python-wsproto 0.14.0-1

Modified:
  python-wsproto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-04-07 07:51:39 UTC (rev 450166)
+++ PKGBUILD2019-04-07 07:52:24 UTC (rev 450167)
@@ -4,7 +4,7 @@
 
 pkgbase=python-wsproto
 pkgname=(python-wsproto python2-wsproto)
-pkgver=0.13.0
+pkgver=0.14.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=('2dd7a2fea22748ab7fe213ccd5b44415b67855d4fbeb3cab8acc5967e84ea7e910bdd2c937a10c348389e997a39eeff7a29f65fee595f8126c23982eaf1ae306')
+sha512sums=('91ffc51229434b8a3c1517b22a082dce0078e38e0f5e7ad016aca9b4d4f2a77c2f9901ea9227e80e61009e70d3ffebb44ed9ae4c988d54a9807b45076e81d43f')
 
 build() {
   cd wsproto-$pkgver


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

2019-01-24 Thread Felix Yan via arch-commits
Date: Thursday, January 24, 2019 @ 11:08:14
  Author: felixonmars
Revision: 427502

upgpkg: python-wsproto 0.13.0-1

Modified:
  python-wsproto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-01-24 11:06:33 UTC (rev 427501)
+++ PKGBUILD2019-01-24 11:08:14 UTC (rev 427502)
@@ -34,7 +34,7 @@
   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/}
+  mv "$pkgdir"/usr/lib/python3.7/site-packages/{,wsproto/}test
 }
 
 package_python2-wsproto() {
@@ -44,5 +44,5 @@
   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/}
+  mv "$pkgdir"/usr/lib/python2.7/site-packages/{,wsproto/}test
 }


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

2019-01-24 Thread Felix Yan via arch-commits
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
===
--- PKGBUILD2019-01-24 11:04:08 UTC (rev 427500)
+++ PKGBUILD2019-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/}
 }


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

2018-09-23 Thread Felix Yan via arch-commits
Date: Sunday, September 23, 2018 @ 18:51:21
  Author: felixonmars
Revision: 384233

upgpkg: python-wsproto 0.12.0-1

Modified:
  python-wsproto/trunk/PKGBUILD

--+
 PKGBUILD |   26 +++---
 1 file changed, 7 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-23 18:51:05 UTC (rev 384232)
+++ PKGBUILD2018-09-23 18:51:21 UTC (rev 384233)
@@ -4,8 +4,8 @@
 
 pkgbase=python-wsproto
 pkgname=(python-wsproto python2-wsproto)
-pkgver=0.11.0
-pkgrel=4
+pkgver=0.12.0
+pkgrel=1
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')
@@ -12,30 +12,18 @@
 arch=('any')
 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";
-"pr54-h11-update.patch::$url/pull/54.patch")
+source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz";)
+sha512sums=('159b7f67eff60c2514cfca17036d95017109fe251def6cec132998ac82a037484e3e248d4335539fd03491f56c491a7cf51582aa3f74a44d7d150220a875b18d')
 
-sha512sums=('583e030dc88971b3733e5e84e5fbaa70d6043d01485cabbbf45470baa31e4f511aea55e108132fc298aeae0031542af7bdd22b7ae25b11832179025a2fde4bdd'
-
'e123716dc239cb049419f6a668ba2b159c3c1c8db5c5f8147641f96f6ed74a730192929115b560df0be17197fc255dd7f4b31aec5734f7116742d3d4a0086747')
-
-prepare() {
-  patch -p1 -d wsproto-$pkgver < pr54-h11-update.patch
-  cp -a wsproto-$pkgver{,-py2}
-}
-
 build() {
-  cd "$srcdir"/wsproto-$pkgver
+  cd wsproto-$pkgver
   python setup.py build
-
-  cd "$srcdir"/wsproto-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/wsproto-$pkgver
+  cd wsproto-$pkgver
   python setup.py pytest
-
-  cd "$srcdir"/wsproto-$pkgver-py2
   python2 setup.py pytest
 }
 
@@ -50,7 +38,7 @@
 package_python2-wsproto() {
   depends=('python2-h11' 'python2-enum34')
 
-  cd wsproto-$pkgver-py2
+  cd wsproto-$pkgver
   python2 setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }


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

2018-07-04 Thread Eli Schwartz via arch-commits
Date: Wednesday, July 4, 2018 @ 18:40:21
  Author: eschwartz
Revision: 352048

upgpkg: python-wsproto 0.11.0-4

python 3.7 rebuild

Modified:
  python-wsproto/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-04 18:37:17 UTC (rev 352047)
+++ PKGBUILD2018-07-04 18:40:21 UTC (rev 352048)
@@ -6,7 +6,7 @@
 pkgbase=python-wsproto
 pkgname=(python-wsproto python2-wsproto)
 pkgver=0.11.0
-pkgrel=3
+pkgrel=4
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')


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

2018-06-13 Thread Eli Schwartz via arch-commits
Date: Wednesday, June 13, 2018 @ 21:33:53
  Author: eschwartz
Revision: 342945

upgpkg: python-wsproto 0.11.0-3

FTBFS; updated patch needs new checksum

Modified:
  python-wsproto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-13 20:47:24 UTC (rev 342944)
+++ PKGBUILD2018-06-13 21:33:53 UTC (rev 342945)
@@ -6,7 +6,7 @@
 pkgbase=python-wsproto
 pkgname=(python-wsproto python2-wsproto)
 pkgver=0.11.0
-pkgrel=2
+pkgrel=3
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')
@@ -17,7 +17,7 @@
 "pr54-h11-update.patch::$url/pull/54.patch")
 
 
sha512sums=('583e030dc88971b3733e5e84e5fbaa70d6043d01485cabbbf45470baa31e4f511aea55e108132fc298aeae0031542af7bdd22b7ae25b11832179025a2fde4bdd'
-
'aef7b6c8b3b62e78d63bbc920dbdf386c5522b76785a16f4a6606af96e75c5d3d62633b0ba3180e27db96f5210928b7ca8d597ceff17223a2e50dcbe966263dc')
+
'e123716dc239cb049419f6a668ba2b159c3c1c8db5c5f8147641f96f6ed74a730192929115b560df0be17197fc255dd7f4b31aec5734f7116742d3d4a0086747')
 
 prepare() {
   patch -p1 -d wsproto-$pkgver < pr54-h11-update.patch


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

2018-04-09 Thread Eli Schwartz via arch-commits
Date: Monday, April 9, 2018 @ 19:49:19
  Author: eschwartz
Revision: 315480

upgpkg: python-wsproto 0.11.0-2

backport fix for FS#57922

Modified:
  python-wsproto/trunk/PKGBUILD

--+
 PKGBUILD |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-09 19:43:46 UTC (rev 315479)
+++ PKGBUILD2018-04-09 19:49:19 UTC (rev 315480)
@@ -6,7 +6,7 @@
 pkgbase=python-wsproto
 pkgname=(python-wsproto python2-wsproto)
 pkgver=0.11.0
-pkgrel=1
+pkgrel=2
 pkgdesc="WebSockets state-machine based protocol implementation"
 url="https://github.com/python-hyper/wsproto";
 license=('MIT')
@@ -13,10 +13,14 @@
 arch=('any')
 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=('583e030dc88971b3733e5e84e5fbaa70d6043d01485cabbbf45470baa31e4f511aea55e108132fc298aeae0031542af7bdd22b7ae25b11832179025a2fde4bdd')
+source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz";
+"pr54-h11-update.patch::$url/pull/54.patch")
 
+sha512sums=('583e030dc88971b3733e5e84e5fbaa70d6043d01485cabbbf45470baa31e4f511aea55e108132fc298aeae0031542af7bdd22b7ae25b11832179025a2fde4bdd'
+
'aef7b6c8b3b62e78d63bbc920dbdf386c5522b76785a16f4a6606af96e75c5d3d62633b0ba3180e27db96f5210928b7ca8d597ceff17223a2e50dcbe966263dc')
+
 prepare() {
+  patch -p1 -d wsproto-$pkgver < pr54-h11-update.patch
   cp -a wsproto-$pkgver{,-py2}
 }