[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2019-08-03 Thread Felix Yan via arch-commits
Date: Saturday, August 3, 2019 @ 14:17:16
  Author: felixonmars
Revision: 497129

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 497128, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  108 ++---
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-08-03 14:17:06 UTC (rev 497128)
+++ PKGBUILD2019-08-03 14:17:16 UTC (rev 497129)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=3.1.0
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-hyper/hyper-h2/archive/v$pkgver.tar.gz;)
-sha512sums=('b24357e22cec849c4050c77488cf9fd6f50fe5091553c3efc5e6d5c719bc15fd1d89bb9fddee06e1b9815c37100d9f5da798921f10887a9f03ec1b9da736ef8d')
-
-prepare() {
-  cp -a hyper-h2-$pkgver{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/hyper-h2-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 497128, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-08-03 14:17:16 UTC (rev 497129)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="https://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-hyper/hyper-h2/archive/v$pkgver.tar.gz;)
+sha512sums=('153c450ef918cc7cdb5d8efe61692a646925e76e6255ef46f679091590681be7d1f9319b37f6521c56207cf35e7d9e56951e4e3b55a24fe89d9e6aa28591957b')
+
+prepare() {
+  cp -a hyper-h2-$pkgver{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/hyper-h2-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2017-03-17 Thread Felix Yan
Date: Friday, March 17, 2017 @ 08:49:41
  Author: felixonmars
Revision: 216900

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 216899, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-03-17 08:49:05 UTC (rev 216899)
+++ PKGBUILD2017-03-17 08:49:41 UTC (rev 216900)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.6.0
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py pytest
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py pytest
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 216899, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-03-17 08:49:41 UTC (rev 216900)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.6.1
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-hyper/hyper-h2/archive/v$pkgver.tar.gz;)
+sha512sums=('88bff9e893b04cff52bf7ce850718a3e690206834d77a81f692a9f361ef24b9833cec5fe12650a50744eef8e3450930fb12f1b119fe1b39de9e06ef15df6a2c5')
+
+prepare() {
+  cp -a hyper-h2-$pkgver{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/hyper-h2-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2017-03-14 Thread Felix Yan
Date: Tuesday, March 14, 2017 @ 09:16:07
  Author: felixonmars
Revision: 216195

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 216194, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-03-14 09:15:49 UTC (rev 216194)
+++ PKGBUILD2017-03-14 09:16:07 UTC (rev 216195)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.5.2
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py pytest
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py pytest
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 216194, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-03-14 09:16:07 UTC (rev 216195)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.6.0
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py pytest
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py pytest
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2017-02-08 Thread Felix Yan
Date: Wednesday, February 8, 2017 @ 08:25:28
  Author: felixonmars
Revision: 211168

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 211167, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-02-08 08:25:10 UTC (rev 211167)
+++ PKGBUILD2017-02-08 08:25:28 UTC (rev 211168)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.5.1
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 211167, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-02-08 08:25:28 UTC (rev 211168)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.5.2
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py pytest
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py pytest
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-08-26 Thread Felix Yan
Date: Friday, August 26, 2016 @ 09:35:15
  Author: felixonmars
Revision: 187581

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 187580, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-08-26 09:34:29 UTC (rev 187580)
+++ PKGBUILD2016-08-26 09:35:15 UTC (rev 187581)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.4.0
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 187580, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-08-26 09:35:15 UTC (rev 187581)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-07-01 Thread Felix Yan
Date: Friday, July 1, 2016 @ 14:41:37
  Author: felixonmars
Revision: 181692

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 181691, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-07-01 14:41:16 UTC (rev 181691)
+++ PKGBUILD2016-07-01 14:41:37 UTC (rev 181692)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.3.1
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 181691, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-07-01 14:41:37 UTC (rev 181692)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-05-12 Thread Felix Yan
Date: Thursday, May 12, 2016 @ 10:54:31
  Author: fyan
Revision: 174913

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 174912, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-05-12 08:54:02 UTC (rev 174912)
+++ PKGBUILD2016-05-12 08:54:31 UTC (rev 174913)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.3.0
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 174912, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-05-12 08:54:31 UTC (rev 174913)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.3.1
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-04-26 Thread Felix Yan
Date: Tuesday, April 26, 2016 @ 16:00:02
  Author: fyan
Revision: 171895

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 171894, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-04-26 13:59:43 UTC (rev 171894)
+++ PKGBUILD2016-04-26 14:00:02 UTC (rev 171895)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.2.4
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 171894, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-04-26 14:00:02 UTC (rev 171895)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-04-25 Thread Felix Yan
Date: Tuesday, April 26, 2016 @ 04:31:29
  Author: fyan
Revision: 171869

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 171868, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-04-26 02:31:12 UTC (rev 171868)
+++ PKGBUILD2016-04-26 02:31:29 UTC (rev 171869)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.2.3
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 171868, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-04-26 02:31:29 UTC (rev 171869)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.2.4
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-04-13 Thread Felix Yan
Date: Wednesday, April 13, 2016 @ 14:32:04
  Author: fyan
Revision: 170814

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 170813, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-04-13 12:31:34 UTC (rev 170813)
+++ PKGBUILD2016-04-13 12:32:04 UTC (rev 170814)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.2.2
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 170813, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-04-13 12:32:04 UTC (rev 170814)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.2.3
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-04-05 Thread Felix Yan
Date: Wednesday, April 6, 2016 @ 02:56:02
  Author: fyan
Revision: 169541

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 169540, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-04-06 00:55:38 UTC (rev 169540)
+++ PKGBUILD2016-04-06 00:56:02 UTC (rev 169541)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.2.1
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 169540, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-04-06 00:56:02 UTC (rev 169541)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.2.2
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-03-24 Thread Felix Yan
Date: Thursday, March 24, 2016 @ 07:43:02
  Author: fyan
Revision: 168154

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 168153, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  110 ++---
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-03-24 06:42:07 UTC (rev 168153)
+++ PKGBUILD2016-03-24 06:43:02 UTC (rev 168154)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 168153, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-03-24 06:43:02 UTC (rev 168154)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.2.1
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-03-23 Thread Felix Yan
Date: Wednesday, March 23, 2016 @ 16:17:33
  Author: fyan
Revision: 168128

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 168127, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  108 +++--
 1 file changed, 55 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-03-23 15:17:11 UTC (rev 168127)
+++ PKGBUILD2016-03-23 15:17:33 UTC (rev 168128)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.1.3
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a hyper-h2{,-py2}
-}
-
-build() {
-  cd "$srcdir"/hyper-h2
-  python setup.py build
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hyper-h2
-  python setup.py ptr
-
-  cd "$srcdir"/hyper-h2-py2
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 168127, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-03-23 15:17:33 UTC (rev 168128)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-03-19 Thread Felix Yan
Date: Thursday, March 17, 2016 @ 06:52:38
  Author: fyan
Revision: 166946

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 166945, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  107 ++---
 1 file changed, 53 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-03-17 05:52:23 UTC (rev 166945)
+++ PKGBUILD2016-03-17 05:52:38 UTC (rev 166946)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.1.2
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  sed -i 's/enum34>=1.0.4, <1.1/enum34>=1.0.4, <1.2/' hyper-h2/setup.py
-  cp -a hyper-h2{,-py2}
-}
-
-build() {
-  cd "$srcdir/hyper-h2"
-  python setup.py build
-
-  cd "$srcdir/hyper-h2-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/hyper-h2"
-  python setup.py ptr
-
-  cd "$srcdir/hyper-h2-py2"
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 166945, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-03-17 05:52:38 UTC (rev 166946)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.1.3
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hyper-h2{,-py2}
+}
+
+build() {
+  cd "$srcdir"/hyper-h2
+  python setup.py build
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hyper-h2
+  python setup.py ptr
+
+  cd "$srcdir"/hyper-h2-py2
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)

2016-02-17 Thread Felix Yan
Date: Thursday, February 18, 2016 @ 01:51:58
  Author: fyan
Revision: 162149

archrelease: copy trunk to community-any

Added:
  python-h2/repos/community-any/PKGBUILD
(from rev 162148, python-h2/trunk/PKGBUILD)
Deleted:
  python-h2/repos/community-any/PKGBUILD

--+
 PKGBUILD |  108 ++---
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-02-18 00:51:39 UTC (rev 162148)
+++ PKGBUILD2016-02-18 00:51:58 UTC (rev 162149)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.1.1
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
-  'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  sed -i 's/enum34>=1.0.4, <1.1/enum34>=1.0.4, <1.2/' hyper-h2/setup.py
-  cp -a hyper-h2{,-py2}
-}
-
-build() {
-  cd "$srcdir/hyper-h2"
-  python setup.py build
-
-  cd "$srcdir/hyper-h2-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/hyper-h2"
-  python setup.py ptr
-
-  cd "$srcdir/hyper-h2-py2"
-  python2 setup.py ptr
-}
-
-package_python-h2() {
-  depends=('python-hpack' 'python-hyperframe')
-
-  cd hyper-h2
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-h2() {
-  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
-  cd hyper-h2-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-h2/repos/community-any/PKGBUILD (from rev 162148, 
python-h2/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-02-18 00:51:58 UTC (rev 162149)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.1.2
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 
'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-hypothesis'
+  'python2-hypothesis')
+source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  sed -i 's/enum34>=1.0.4, <1.1/enum34>=1.0.4, <1.2/' hyper-h2/setup.py
+  cp -a hyper-h2{,-py2}
+}
+
+build() {
+  cd "$srcdir/hyper-h2"
+  python setup.py build
+
+  cd "$srcdir/hyper-h2-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/hyper-h2"
+  python setup.py ptr
+
+  cd "$srcdir/hyper-h2-py2"
+  python2 setup.py ptr
+}
+
+package_python-h2() {
+  depends=('python-hpack' 'python-hyperframe')
+
+  cd hyper-h2
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-h2() {
+  depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+  cd hyper-h2-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}