Skip to content
Snippets Groups Projects
Commit 093589ad authored by Chih-Hsuan Yen's avatar Chih-Hsuan Yen
Browse files

add the link to changelogs; drop included patch

parent 839af7fe
No related branches found
No related tags found
No related merge requests found
# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
pkgname=python-anyio
pkgver=3.3.0
# https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst
pkgver=3.3.1
pkgrel=1
pkgdesc='High level compatibility layer for multiple asynchronous event loop implementations'
arch=(any)
......@@ -16,10 +17,8 @@ optdepends=(
'python-trio: trio backend'
)
source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz
https://github.com/agronholm/anyio/commit/5ed3270c8d12cffc4cd3349d9ff32bc32451ae65.patch
bpo-45097.diff)
sha256sums=('5872afba5b2a03461e8eb64538d8050d1f64fe54192ad67d8f34f6287ea7c729'
'30e94b5a37c124d3620c77abd835384b224eee3349bea0ddd19f3a268e71c9ca'
sha256sums=('2f27663b77aa484ca85544f6701f7d6710e9cf4fbb23df0990c8447983aabb32'
'ed0ad72f604697d247a2d74f5b4740fcda0fe478040fa6ff75120cd97d5985c8')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
......@@ -32,9 +31,6 @@ prepare() {
# [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
# Work around https://bugs.python.org/issue45097
patch -Np1 -i ../bpo-45097.diff
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment