Date: Friday, July 9, 2021 @ 13:01:49 Author: yan12125 Revision: 976215
archrelease: copy trunk to community-any Added: python-aiobotocore/repos/community-any/PKGBUILD (from rev 976214, python-aiobotocore/trunk/PKGBUILD) Deleted: python-aiobotocore/repos/community-any/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-09 13:01:38 UTC (rev 976214) +++ PKGBUILD 2021-07-09 13:01:49 UTC (rev 976215) @@ -1,47 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-aiobotocore -_pkgname=aiobotocore -pkgver=1.3.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-yaml python-flask python-flask-cors) -source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('e63de6c9de96df5e35567ea56f94f28d098e5fc3edd6d83be5e650e1ce809e76') - -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 -} - -build() { - cd $_pkgname-$pkgver - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - export PYTHONPATH="$PWD" - # test_lambda uses moto.awslambda, which requires a running Docker service - # See: https://github.com/spulec/moto/issues/3276 - pytest -m moto tests \ - --ignore=tests/test_patches.py \ - --ignore=tests/test_lambda.py -} - -package() { - cd $_pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-aiobotocore/repos/community-any/PKGBUILD (from rev 976214, python-aiobotocore/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-09 13:01:49 UTC (rev 976215) @@ -0,0 +1,47 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-aiobotocore +_pkgname=aiobotocore +pkgver=1.3.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-yaml python-flask python-flask-cors) +source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('131c89dd4264d5a3f5134dcf701ae309a3dd58770045d7b8cbd3aeb310c3c2de') + +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 +} + +build() { + cd $_pkgname-$pkgver + python setup.py build +} + +check() { + cd $_pkgname-$pkgver + + export PYTHONPATH="$PWD" + # test_lambda uses moto.awslambda, which requires a running Docker service + # See: https://github.com/spulec/moto/issues/3276 + pytest -m moto tests \ + --ignore=tests/test_patches.py \ + --ignore=tests/test_lambda.py +} + +package() { + cd $_pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}