[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Sat Jun 6 05:59:11 UTC 2020


    Date: Saturday, June 6, 2020 @ 05:59:11
  Author: yan12125
Revision: 639299

upgpkg: python-aiobotocore 1.0.7-1; add comments for the mock patch

Modified:
  python-aiobotocore/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-06 04:42:01 UTC (rev 639298)
+++ PKGBUILD	2020-06-06 05:59:11 UTC (rev 639299)
@@ -2,7 +2,7 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=1.0.4
+pkgver=1.0.7
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -13,12 +13,14 @@
 source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz"
         unittest-mock.diff
         pytest-event-loop.diff)
-sha256sums=('ef9cae30ee8fa2b0b70e92a45d221d6ee7e77d2d7dc26a4e79ab13eaa1e7200d'
+sha256sums=('0789c379925c2f65a639e978bb20a35f4e242a46d2272f212f159f9a14f28f13'
             'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e'
             '02700f174c58d754e501169737cf04f06f85f536b3bb4f44f422e213ab600e46')
 
 prepare() {
   cd $_pkgname-$pkgver
+  # community/python-mock is outdated and does not include needed AsyncMock.
+  # Use mock from stdlib instead. It has AsyncMock since 3.8
   patch -Np1 -i ../unittest-mock.diff
   patch -Np1 -i ../pytest-event-loop.diff
 



More information about the arch-commits mailing list