Date: Friday, March 1, 2019 @ 05:57:58 Author: yan12125 Revision: 437157
archrelease: copy trunk to community-any Added: python-aws-xray-sdk/repos/community-any/PKGBUILD (from rev 437156, python-aws-xray-sdk/trunk/PKGBUILD) Deleted: python-aws-xray-sdk/repos/community-any/PKGBUILD ----------+ PKGBUILD | 82 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 40 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-01 05:57:34 UTC (rev 437156) +++ PKGBUILD 2019-03-01 05:57:58 UTC (rev 437157) @@ -1,42 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> -# Contributor: Guillaume Horel <guillaume.ho...@gmail.com> - -pkgname=python-aws-xray-sdk -_pkgname=aws-xray-sdk-python -pkgver=2.3.0 -pkgrel=1 -pkgdesc='AWS X-Ray SDK for Python' -arch=(any) -url='https://github.com/aws/aws-xray-sdk-python' -license=(Apache) -makedepends=(python-setuptools python-pypandoc) -depends=(python-botocore python-future python-jsonpickle python-wrapt) -checkdepends=(python-flask-sqlalchemy python-pynamodb python-pytest python-aiohttp - python-pytest-aiohttp python-testing.postgresql python-psycopg2 - python-pg8000 python-requests) -# Not using PyPI source tarball as it does not include tests -source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aws/aws-xray-sdk-python/archive/$pkgver.tar.gz") -sha256sums=('6769bde3e75ec08de7a4931fde881a839e77cfa935afeeeefd1f1e4bf3ff7256') - -build() { - cd $_pkgname-$pkgver - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - export AWS_SECRET_ACCESS_KEY=fake_key - export AWS_ACCESS_KEY_ID=fake_id - - # aiobotocore is not compatible with botocore 1.11+, which is required by aws-xray-sdk 2.x - # https://github.com/aio-libs/aiobotocore/issues/629 - # the test suite is not compatible with Django 2.x yet - # https://github.com/aws/aws-xray-sdk-python/issues/85 - pytest -v --ignore tests/ext/aiobotocore --ignore tests/ext/django -} - -package() { - cd $_pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-aws-xray-sdk/repos/community-any/PKGBUILD (from rev 437156, python-aws-xray-sdk/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-01 05:57:58 UTC (rev 437157) @@ -0,0 +1,40 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> +# Contributor: Guillaume Horel <guillaume.ho...@gmail.com> + +pkgname=python-aws-xray-sdk +_pkgname=aws-xray-sdk-python +pkgver=2.4.1 +pkgrel=1 +pkgdesc='AWS X-Ray SDK for Python' +arch=(any) +url='https://github.com/aws/aws-xray-sdk-python' +license=(Apache) +makedepends=(python-setuptools python-pypandoc) +depends=(python python-botocore python-future python-jsonpickle python-wrapt) +checkdepends=(python-flask-sqlalchemy python-pynamodb python-pytest python-aiohttp + python-pytest-aiohttp python-testing.postgresql python-psycopg2 + python-pg8000 python-requests python-aiobotocore) +# Not using PyPI source tarball as it does not include tests +source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aws/aws-xray-sdk-python/archive/$pkgver.tar.gz") +sha256sums=('d565a1100991ca123f57be7fe6eb2f4d757b2a105d594fdf3f67419e866c7608') + +build() { + cd $_pkgname-$pkgver + python setup.py build +} + +check() { + cd $_pkgname-$pkgver + + export AWS_SECRET_ACCESS_KEY=fake_key + export AWS_ACCESS_KEY_ID=fake_id + + # the test suite is not compatible with Django 2.x yet + # https://github.com/aws/aws-xray-sdk-python/issues/85 + pytest -v --ignore tests/ext/django +} + +package() { + cd $_pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}