[arch-commits] Commit in python-h2/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Mar 17 08:49:06 UTC 2017
Date: Friday, March 17, 2017 @ 08:49:05
Author: felixonmars
Revision: 216899
upgpkg: python-h2 2.6.1-1
Modified:
python-h2/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-17 08:48:07 UTC (rev 216898)
+++ PKGBUILD 2017-03-17 08:49:05 UTC (rev 216899)
@@ -3,7 +3,7 @@
pkgbase=python-h2
pkgname=('python-h2' 'python2-h2')
-pkgver=2.6.0
+pkgver=2.6.1
pkgrel=1
pkgdesc="HTTP/2 State-Machine based protocol implementation"
arch=('any')
@@ -13,28 +13,28 @@
'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')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-hyper/hyper-h2/archive/v$pkgver.tar.gz")
+sha512sums=('88bff9e893b04cff52bf7ce850718a3e690206834d77a81f692a9f361ef24b9833cec5fe12650a50744eef8e3450930fb12f1b119fe1b39de9e06ef15df6a2c5')
prepare() {
- cp -a hyper-h2{,-py2}
+ cp -a hyper-h2-$pkgver{,-py2}
export LC_CTYPE=en_US.UTF-8
}
build() {
- cd "$srcdir"/hyper-h2
+ cd "$srcdir"/hyper-h2-$pkgver
python setup.py build
- cd "$srcdir"/hyper-h2-py2
+ cd "$srcdir"/hyper-h2-$pkgver-py2
python2 setup.py build
}
check() {
- cd "$srcdir"/hyper-h2
+ cd "$srcdir"/hyper-h2-$pkgver
python setup.py pytest
- cd "$srcdir"/hyper-h2-py2
+ cd "$srcdir"/hyper-h2-$pkgver-py2
python2 setup.py pytest
}
@@ -41,7 +41,7 @@
package_python-h2() {
depends=('python-hpack' 'python-hyperframe')
- cd hyper-h2
+ cd hyper-h2-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
@@ -49,7 +49,7 @@
package_python2-h2() {
depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
- cd hyper-h2-py2
+ cd hyper-h2-$pkgver-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