[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Mar 17 05:52:38 UTC 2016
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
===================================================================
--- PKGBUILD 2016-03-17 05:52:23 UTC (rev 166945)
+++ PKGBUILD 2016-03-17 05:52:38 UTC (rev 166946)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-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)
+++ PKGBUILD 2016-03-17 05:52:38 UTC (rev 166946)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+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
+}
More information about the arch-commits
mailing list