[arch-commits] Commit in python-h11/trunk (PKGBUILD pytest5.patch)
Felix Yan
felixonmars at archlinux.org
Tue Feb 18 18:41:56 UTC 2020
Date: Tuesday, February 18, 2020 @ 18:41:56
Author: felixonmars
Revision: 576095
upgpkg: python-h11 0.9.0-1
Modified:
python-h11/trunk/PKGBUILD
Deleted:
python-h11/trunk/pytest5.patch
---------------+
PKGBUILD | 14 ++++----------
pytest5.patch | 12 ------------
2 files changed, 4 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-18 18:40:48 UTC (rev 576094)
+++ PKGBUILD 2020-02-18 18:41:56 UTC (rev 576095)
@@ -3,8 +3,8 @@
# Contributor: Kyle Keen <keenerd at gmail.com>
pkgname=python-h11
-pkgver=0.8.1
-pkgrel=4
+pkgver=0.9.0
+pkgrel=1
pkgdesc="A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
url="https://github.com/njsmith/h11"
license=('MIT')
@@ -12,15 +12,9 @@
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest-runner')
-source=("https://pypi.io/packages/source/h/h11/h11-$pkgver.tar.gz"
- 'pytest5.patch')
-sha512sums=('3310dcd8552de4440ed9669fd37b3fc4d76073a9801decb705bceee3c1e98ff83470bd124ecf36e1ec3457ff2fb4da6f4fbf077daa810c28ab73044dfab709d4'
- '7747ba51fa9350d4fa6a5c1654f237e4109a5f0b7175be777ca0e1da83af4f631a240a605c594076fefcec5c26693f55886c0cb47aa75236d65a42dd520cb6e1')
+source=("https://pypi.io/packages/source/h/h11/h11-$pkgver.tar.gz")
+sha512sums=('fb323ebf0cc95d89bb7e73cf1f393d2588961ed6dd95630ad692e36f15141ae1de7a0bfe3ef2855f0e9b7c8cf2abba5cf808547bb4bb4d10ebb525122ac63d4a')
-prepare() {
- patch -Np1 -d h11-$pkgver <pytest5.patch
-}
-
build() {
cd "$srcdir"/h11-$pkgver
python setup.py build
Deleted: pytest5.patch
===================================================================
--- pytest5.patch 2020-02-18 18:40:48 UTC (rev 576094)
+++ pytest5.patch 2020-02-18 18:41:56 UTC (rev 576095)
@@ -1,12 +0,0 @@
-diff -upr h11-0.8.1.orig/h11/tests/test_events.py h11-0.8.1/h11/tests/test_events.py
---- h11-0.8.1.orig/h11/tests/test_events.py 2017-03-18 23:56:02.000000000 +0200
-+++ h11-0.8.1/h11/tests/test_events.py 2019-11-01 10:17:40.211258036 +0200
-@@ -43,7 +43,7 @@ def test_event_bundle():
- with pytest.raises(TypeError) as exc:
- T(b=0)
- # make sure we error on the right missing kwarg
-- assert 'kwarg a' in str(exc)
-+ assert 'kwarg a' in str(exc.value)
-
- # _validate is called
- with pytest.raises(ValueError):
More information about the arch-commits
mailing list