Date: Tuesday, February 12, 2019 @ 10:46:40 Author: yan12125 Revision: 431871
archrelease: copy trunk to community-any Added: python-aiobotocore/repos/community-any/PKGBUILD (from rev 431870, python-aiobotocore/trunk/PKGBUILD) Deleted: python-aiobotocore/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-12 10:46:18 UTC (rev 431870) +++ PKGBUILD 2019-02-12 10:46:40 UTC (rev 431871) @@ -1,42 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-aiobotocore -_pkgname=aiobotocore -pkgver=0.10.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-async_generator) -checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio) -source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aio-libs/aiobotocore/archive/$pkgver.tar.gz") -sha256sums=('a2b3edaebf47019b0052c046ef1b0186f916c8a89286e86ab9fc80e87ac8411f') - -prepare() { - cd $_pkgname-$pkgver - - # used in a skipped test only - sed -i '/from dill.source import getsource/d' tests/test_patches.py -} - -build() { - cd $_pkgname-$pkgver - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - # https://github.com/spulec/moto/issues/1941 - export AWS_ACCESS_KEY_ID=foobar - export AWS_SECRET_ACCESS_KEY=foobar - - # test_patches works only for pinned versions of dependencies - PYTHONPATH=build/lib pytest -v -m moto -k 'not test_patches' tests -} - -package() { - cd $_pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-aiobotocore/repos/community-any/PKGBUILD (from rev 431870, python-aiobotocore/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-12 10:46:40 UTC (rev 431871) @@ -0,0 +1,42 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-aiobotocore +_pkgname=aiobotocore +pkgver=0.10.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-async_generator) +checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio) +source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aio-libs/aiobotocore/archive/$pkgver.tar.gz") +sha256sums=('0748808cfe3063e8cb2902d076370034513f321ca10317b2464fadaa718fae85') + +prepare() { + cd $_pkgname-$pkgver + + # used in a skipped test only + sed -i '/from dill.source import getsource/d' tests/test_patches.py +} + +build() { + cd $_pkgname-$pkgver + python setup.py build +} + +check() { + cd $_pkgname-$pkgver + + # https://github.com/spulec/moto/issues/1941 + export AWS_ACCESS_KEY_ID=foobar + export AWS_SECRET_ACCESS_KEY=foobar + + # test_patches works only for pinned versions of dependencies + PYTHONPATH=build/lib pytest -v -m moto -k 'not test_patches' tests +} + +package() { + cd $_pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}