[arch-commits] Commit in python-anyio/trunk (PKGBUILD)
Chih-Hsuan Yen
yan12125 at gemini.archlinux.org
Sat Jul 24 05:04:32 UTC 2021
Date: Saturday, July 24, 2021 @ 05:04:32
Author: yan12125
Revision: 984865
upgpkg: python-anyio 3.3.0-1; add a patch for https://github.com/agronholm/anyio/issues/347
Modified:
python-anyio/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-24 04:30:15 UTC (rev 984864)
+++ PKGBUILD 2021-07-24 05:04:32 UTC (rev 984865)
@@ -1,7 +1,7 @@
# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
pkgname=python-anyio
-pkgver=3.2.1
+pkgver=3.3.0
pkgrel=1
pkgdesc='High level compatibility layer for multiple asynchronous event loop implementations'
arch=(any)
@@ -15,8 +15,10 @@
'python-curio: curio backend'
'python-trio: trio backend'
)
-source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz)
-sha256sums=('176ff54241e8116fc5064b66b099eda7afbfc8451538c4ab43d76e126c49772d')
+source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz
+ https://github.com/agronholm/anyio/commit/5ed3270c8d12cffc4cd3349d9ff32bc32451ae65.patch)
+sha256sums=('5872afba5b2a03461e8eb64538d8050d1f64fe54192ad67d8f34f6287ea7c729'
+ '30e94b5a37c124d3620c77abd835384b224eee3349bea0ddd19f3a268e71c9ca')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
@@ -27,6 +29,9 @@
# the old API.
# [1] https://github.com/pytest-dev/pytest-mock/issues/202
sed -i 's#MockerFixture#MockFixture#' tests/test_eventloop.py
+
+ # https://github.com/agronholm/anyio/issues/347
+ patch -Np1 -i ../5ed3270c8d12cffc4cd3349d9ff32bc32451ae65.patch
}
build() {
More information about the arch-commits
mailing list