Date: Saturday, December 24, 2022 @ 08:59:11
  Author: yan12125
Revision: 1365376

archrelease: copy trunk to community-any

Added:
  python-aiobotocore/repos/community-any/PKGBUILD
    (from rev 1365375, python-aiobotocore/trunk/PKGBUILD)
Deleted:
  python-aiobotocore/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-24 08:58:54 UTC (rev 1365375)
+++ PKGBUILD    2022-12-24 08:59:11 UTC (rev 1365376)
@@ -1,63 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <[email protected]>
-
-pkgname=python-aiobotocore
-_pkgname=aiobotocore
-# https://github.com/aio-libs/aiobotocore/releases
-pkgver=2.4.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)
-makedepends=(python-setuptools)
-checkdepends=(python-moto python-pytest python-pytest-asyncio
-              # moto optdepends
-              python-docker python-openapi-spec-validator python-yaml 
python-flask python-flask-cors)
-source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha256sums=('662a9e301923e8a48442380239677030fe51198d2a4c48ecc88fec046c3e54cf')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-  # 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
-
-  # moto 3.1 rename
-  sed -i "s#'dynamodb2'#'dynamodb'#" tests/mock_server.py
-
-  # For pytest-asyncio >= 0.19
-  # https://github.com/aio-libs/aiobotocore/issues/965
-  echo asyncio_mode = auto >> pytest.ini
-}
-
-build() {
-  cd $_pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  export PYTHONPATH="$PWD"
-  # Needed since 2.3.0 https://github.com/aio-libs/aiobotocore/issues/948
-  export AWS_SECRET_ACCESS_KEY=test
-  export AWS_ACCESS_KEY_ID=test
-  # test_lambda uses moto.awslambda, which requires a running Docker service
-  # See: https://github.com/spulec/moto/issues/3276
-  # test_version checks lower and upper bounds for dependencies in setup.py,
-  # and they are patched away in prepare()
-  # test_load_sso_credentials_with_cache_expired: failed with newer botocore
-  pytest -m moto tests \
-      --ignore=tests/test_patches.py \
-      --ignore=tests/test_lambda.py \
-      --ignore=tests/test_version.py \
-      -k 'not test_load_sso_credentials_with_cache_expired'
-}
-
-package() {
-  cd $_pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-aiobotocore/repos/community-any/PKGBUILD (from rev 1365375, 
python-aiobotocore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-24 08:59:11 UTC (rev 1365376)
@@ -0,0 +1,63 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+
+pkgname=python-aiobotocore
+_pkgname=aiobotocore
+# https://github.com/aio-libs/aiobotocore/releases
+pkgver=2.4.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)
+makedepends=(python-setuptools)
+checkdepends=(python-moto python-pytest python-pytest-asyncio
+              # moto optdepends
+              python-docker python-openapi-spec-validator python-yaml 
python-flask python-flask-cors)
+source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha256sums=('fe5f60efccaddfb6d1a667cd19e90c9b7d1159cf420a884e517a91917a476c7c')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  # 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
+
+  # moto 3.1 rename
+  sed -i "s#'dynamodb2'#'dynamodb'#" tests/mock_server.py
+
+  # For pytest-asyncio >= 0.19
+  # https://github.com/aio-libs/aiobotocore/issues/965
+  echo asyncio_mode = auto >> pytest.ini
+}
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  export PYTHONPATH="$PWD"
+  # Needed since 2.3.0 https://github.com/aio-libs/aiobotocore/issues/948
+  export AWS_SECRET_ACCESS_KEY=test
+  export AWS_ACCESS_KEY_ID=test
+  # test_lambda uses moto.awslambda, which requires a running Docker service
+  # See: https://github.com/spulec/moto/issues/3276
+  # test_version checks lower and upper bounds for dependencies in setup.py,
+  # and they are patched away in prepare()
+  # test_load_sso_credentials_with_cache_expired: failed with newer botocore
+  pytest -m moto tests \
+      --ignore=tests/test_patches.py \
+      --ignore=tests/test_lambda.py \
+      --ignore=tests/test_version.py \
+      -k 'not test_load_sso_credentials_with_cache_expired'
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}

Reply via email to