[arch-commits] Commit in python-h2/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Aug 31 06:15:58 UTC 2021
Date: Tuesday, August 31, 2021 @ 06:15:57
Author: felixonmars
Revision: 1010121
github repo renamed
Modified:
python-h2/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-31 01:39:06 UTC (rev 1010120)
+++ PKGBUILD 2021-08-31 06:15:57 UTC (rev 1010121)
@@ -10,21 +10,21 @@
depends=('python-hpack' 'python-hyperframe')
makedepends=('python-setuptools')
checkdepends=('python-pytest-runner' 'python-hypothesis')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/python-hyper/hyper-h2/archive/v$pkgver.tar.gz")
-sha512sums=('84578174a13782897f9286c62d450eaf11aa71c01c96b8660179cd2df77618dc1a6c4b354b2bc5731cd21c4709c8c0a8282a859a98c4a62a7295b6dfd1b5cfb2')
+source=("https://github.com/python-hyper/h2/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ae145421549ecd29845b100e3895f1088598142824d82cf0b59293b0f647939e4acd0ff809187cabd67a3a524a0337cc925a3f17624c86767bd87a2d18a59b2b')
build() {
- cd hyper-h2-$pkgver
+ cd h2-$pkgver
python setup.py build
}
check() {
- cd hyper-h2-$pkgver
+ cd h2-$pkgver
python setup.py pytest
}
package() {
- cd hyper-h2-$pkgver
+ cd h2-$pkgver
python 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