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
===================================================================
--- PKGBUILD    2019-08-03 14:17:06 UTC (rev 497128)
+++ PKGBUILD    2019-08-03 14:17:16 UTC (rev 497129)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-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)
+++ PKGBUILD    2019-08-03 14:17:16 UTC (rev 497129)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+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
+}

Reply via email to