[arch-commits] Commit in python-aiobotocore/repos/community-any (4 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Tue Apr 7 04:52:18 UTC 2020


    Date: Tuesday, April 7, 2020 @ 04:52:17
  Author: yan12125
Revision: 612426

archrelease: copy trunk to community-any

Added:
  python-aiobotocore/repos/community-any/PKGBUILD
    (from rev 612425, python-aiobotocore/trunk/PKGBUILD)
  python-aiobotocore/repos/community-any/unittest-mock.diff
    (from rev 612425, python-aiobotocore/trunk/unittest-mock.diff)
Deleted:
  python-aiobotocore/repos/community-any/PKGBUILD
  python-aiobotocore/repos/community-any/unittest-mock.diff

--------------------+
 PKGBUILD           |   84 +++++++++++++++++++++++++--------------------------
 unittest-mock.diff |   74 ++++++++++++++++++++++----------------------
 2 files changed, 79 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-07 04:51:21 UTC (rev 612425)
+++ PKGBUILD	2020-04-07 04:52:17 UTC (rev 612426)
@@ -1,42 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-aiobotocore
-_pkgname=aiobotocore
-pkgver=1.0.1
-pkgrel=1
-pkgdesc='asyncio support for botocore library using aiohttp'
-arch=(any)
-url='https://github.com/aio-libs/aiobotocore'
-license=(Apache)
-depends=(python python-aiohttp python-botocore python-wrapt python-aioitertools)
-checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
-source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz"
-        unittest-mock.diff)
-sha256sums=('55b3afca3da9e3bee4a902d7af1a1e9dadb16fb79b46b5ee6a896654509d3bee'
-            'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
-
-prepare() {
-  cd $_pkgname-$pkgver
-  patch -Np1 -i ../unittest-mock.diff
-
-  # Disable dependency pinning
-  # Upstream tracking issue: https://github.com/aio-libs/aiobotocore/issues/670
-  sed --in-place=.orig -r "s#'(botocore.*),<.*',#'\1',#" setup.py
-  diff -u setup.py{.orig,} || true
-}
-
-build() {
-  cd $_pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  PYTHONPATH="$PWD/build/lib:$PWD" pytest -v -m moto tests --ignore=tests/test_patches.py
-}
-
-package() {
-  cd $_pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-aiobotocore/repos/community-any/PKGBUILD (from rev 612425, python-aiobotocore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-07 04:52:17 UTC (rev 612426)
@@ -0,0 +1,42 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-aiobotocore
+_pkgname=aiobotocore
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='asyncio support for botocore library using aiohttp'
+arch=(any)
+url='https://github.com/aio-libs/aiobotocore'
+license=(Apache)
+depends=(python python-aiohttp python-botocore python-wrapt python-aioitertools)
+checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
+source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        unittest-mock.diff)
+sha256sums=('0f8c3fab20f18fce65eacf547a144c2d18953006dec89b9ff13b0f343a5e91dd'
+            'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
+
+prepare() {
+  cd $_pkgname-$pkgver
+  patch -Np1 -i ../unittest-mock.diff
+
+  # Disable dependency pinning
+  # Upstream tracking issue: https://github.com/aio-libs/aiobotocore/issues/670
+  sed --in-place=.orig -r "s#'(botocore.*),<.*',#'\1',#" setup.py
+  diff -u setup.py{.orig,} || true
+}
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  PYTHONPATH="$PWD/build/lib:$PWD" pytest -v -m moto tests --ignore=tests/test_patches.py
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}

Deleted: unittest-mock.diff
===================================================================
--- unittest-mock.diff	2020-04-07 04:51:21 UTC (rev 612425)
+++ unittest-mock.diff	2020-04-07 04:52:17 UTC (rev 612426)
@@ -1,37 +0,0 @@
-diff --git a/tests/botocore/test_credentials.py b/tests/botocore/test_credentials.py
-index ecbe17e..1b2172e 100644
---- a/tests/botocore/test_credentials.py
-+++ b/tests/botocore/test_credentials.py
-@@ -8,7 +8,7 @@ import datetime
- import json
- import subprocess
- 
--import mock
-+from unittest import mock
- from typing import Optional
- 
- import pytest
-diff --git a/tests/botocore/test_signers.py b/tests/botocore/test_signers.py
-index 0e4035e..7529760 100644
---- a/tests/botocore/test_signers.py
-+++ b/tests/botocore/test_signers.py
-@@ -1,5 +1,5 @@
- import pytest
--import mock
-+from unittest import mock
- 
- import aiobotocore
- import aiobotocore.credentials
-diff --git a/tests/botocore/test_utils.py b/tests/botocore/test_utils.py
-index 3d17b87..4089cf1 100644
---- a/tests/botocore/test_utils.py
-+++ b/tests/botocore/test_utils.py
-@@ -1,7 +1,7 @@
- import asyncio
- import pytest
- import json
--import mock
-+from unittest import mock
- import itertools
- from typing import Union, List, Tuple
- 

Copied: python-aiobotocore/repos/community-any/unittest-mock.diff (from rev 612425, python-aiobotocore/trunk/unittest-mock.diff)
===================================================================
--- unittest-mock.diff	                        (rev 0)
+++ unittest-mock.diff	2020-04-07 04:52:17 UTC (rev 612426)
@@ -0,0 +1,37 @@
+diff --git a/tests/botocore/test_credentials.py b/tests/botocore/test_credentials.py
+index ecbe17e..1b2172e 100644
+--- a/tests/botocore/test_credentials.py
++++ b/tests/botocore/test_credentials.py
+@@ -8,7 +8,7 @@ import datetime
+ import json
+ import subprocess
+ 
+-import mock
++from unittest import mock
+ from typing import Optional
+ 
+ import pytest
+diff --git a/tests/botocore/test_signers.py b/tests/botocore/test_signers.py
+index 0e4035e..7529760 100644
+--- a/tests/botocore/test_signers.py
++++ b/tests/botocore/test_signers.py
+@@ -1,5 +1,5 @@
+ import pytest
+-import mock
++from unittest import mock
+ 
+ import aiobotocore
+ import aiobotocore.credentials
+diff --git a/tests/botocore/test_utils.py b/tests/botocore/test_utils.py
+index 3d17b87..4089cf1 100644
+--- a/tests/botocore/test_utils.py
++++ b/tests/botocore/test_utils.py
+@@ -1,7 +1,7 @@
+ import asyncio
+ import pytest
+ import json
+-import mock
++from unittest import mock
+ import itertools
+ from typing import Union, List, Tuple
+ 



More information about the arch-commits mailing list