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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 16:48:58
  Author: felixonmars
Revision: 747561

archrelease: copy trunk to community-staging-any

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

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

Copied: python-h2/repos/community-staging-any/PKGBUILD (from rev 747558, 
python-h2/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-09 16:48:58 UTC (rev 747561)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-h2
+pkgver=3.2.0
+pkgrel=3
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="https://hyper.rtfd.org;
+depends=('python-hpack' 'python-hyperframe')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-hypothesis')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-hyper/hyper-h2/archive/v$pkgver.tar.gz;)
+sha512sums=('103a4ea2cd29037ce03ae676864125b4111c7d31a82bbbe7028557da886d88fb5363d885f08d5d3f68dfa29013b7b03350cc0cb4d9dddf32735e98dae5d7fc7c')
+
+build() {
+  cd hyper-h2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd hyper-h2-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd hyper-h2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


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

2020-02-18 Thread Felix Yan via arch-commits
Date: Tuesday, February 18, 2020 @ 18:40:45
  Author: felixonmars
Revision: 576093

archrelease: copy trunk to community-testing-any

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

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

Copied: python-h2/repos/community-testing-any/PKGBUILD (from rev 576092, 
python-h2/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-02-18 18:40:45 UTC (rev 576093)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=3.2.0
+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=('103a4ea2cd29037ce03ae676864125b4111c7d31a82bbbe7028557da886d88fb5363d885f08d5d3f68dfa29013b7b03350cc0cb4d9dddf32735e98dae5d7fc7c')
+
+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 (2 files)

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 20:17:12
  Author: felixonmars
Revision: 519836

archrelease: copy trunk to community-staging-any

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

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

Copied: python-h2/repos/community-staging-any/PKGBUILD (from rev 519834, 
python-h2/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-10-25 20:17:12 UTC (rev 519836)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=3.1.1
+pkgrel=2
+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 (2 files)

2019-01-22 Thread Felix Yan via arch-commits
Date: Wednesday, January 23, 2019 @ 06:31:46
  Author: felixonmars
Revision: 427145

archrelease: copy trunk to community-testing-any

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

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

Copied: python-h2/repos/community-testing-any/PKGBUILD (from rev 427144, 
python-h2/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-01-23 06:31:46 UTC (rev 427145)
@@ -0,0 +1,54 @@
+# 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
+}


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

2018-07-08 Thread Evangelos Foutras via arch-commits
Date: Sunday, July 8, 2018 @ 14:12:27
  Author: foutrelis
Revision: 354942

archrelease: copy trunk to community-staging-any

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

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

Copied: python-h2/repos/community-staging-any/PKGBUILD (from rev 354941, 
python-h2/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 14:12:27 UTC (rev 354942)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=3.0.1
+pkgrel=2
+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=('5d98b4fb654c20f6b9e6918bb71b88a42a3027bae795f31c32c2b5cc4428774457c44a194f9c819f99b9cfd01753a6e6d8edb6c162020ff463602452d8e9057c')
+
+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 (2 files)

2017-07-25 Thread Felix Yan
Date: Tuesday, July 25, 2017 @ 07:53:47
  Author: felixonmars
Revision: 246309

archrelease: copy trunk to community-testing-any

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

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

Copied: python-h2/repos/community-testing-any/PKGBUILD (from rev 246308, 
python-h2/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2017-07-25 07:53:47 UTC (rev 246309)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=3.0.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')
+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=('5d98b4fb654c20f6b9e6918bb71b88a42a3027bae795f31c32c2b5cc4428774457c44a194f9c819f99b9cfd01753a6e6d8edb6c162020ff463602452d8e9057c')
+
+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 (2 files)

2016-12-24 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 05:52:17
  Author: felixonmars
Revision: 201842

archrelease: copy trunk to community-staging-any

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

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

Copied: python-h2/repos/community-staging-any/PKGBUILD (from rev 201841, 
python-h2/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2016-12-25 05:52:17 UTC (rev 201842)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.4.1
+pkgrel=2
+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
+}