community/python-aws-xray-sdk to 2.4.2-4

This commit is contained in:
Kevin Mihelich 2019-10-10 03:39:57 +00:00
parent 38660e6c89
commit f357b411d7

View file

@ -7,7 +7,7 @@
pkgname=python-aws-xray-sdk pkgname=python-aws-xray-sdk
_pkgname=aws-xray-sdk-python _pkgname=aws-xray-sdk-python
pkgver=2.4.2 pkgver=2.4.2
pkgrel=2 pkgrel=4
pkgdesc='AWS X-Ray SDK for Python' pkgdesc='AWS X-Ray SDK for Python'
arch=(any) arch=(any)
url='https://github.com/aws/aws-xray-sdk-python' url='https://github.com/aws/aws-xray-sdk-python'
@ -19,13 +19,17 @@ checkdepends=(python-flask-sqlalchemy python-pynamodb python-pytest python-aioht
python-pg8000 python-requests python-aiobotocore) python-pg8000 python-requests python-aiobotocore)
# Not using PyPI source tarball as it does not include tests # Not using PyPI source tarball as it does not include tests
source=("https://github.com/aws/aws-xray-sdk-python/archive/$pkgver/$pkgname-$pkgver.tar.gz" source=("https://github.com/aws/aws-xray-sdk-python/archive/$pkgver/$pkgname-$pkgver.tar.gz"
"aws-xray-sdk-psycopg2.8.patch"::"https://github.com/aws/aws-xray-sdk-python/commit/4b4422a3ad9bb9a28399b34851dd574f6155bb66.patch") "aws-xray-sdk-psycopg2.8.patch"::"https://github.com/aws/aws-xray-sdk-python/commit/4b4422a3ad9bb9a28399b34851dd574f6155bb66.patch"
"aws-xray-sdk-pynamodb4.patch"::"https://github.com/aws/aws-xray-sdk-python/commit/1dd185ba2fb946cea711a9620f04516c7f6eecdf.patch")
sha256sums=('e480a6dc21d314faf6a9af4cf871fd7b782fae1e704e0fe5977161707f101374' sha256sums=('e480a6dc21d314faf6a9af4cf871fd7b782fae1e704e0fe5977161707f101374'
'b0740901e4c3bd0a678b217b1121c5f827e8535722a560d9f84fb9a8b90f8f74') 'b0740901e4c3bd0a678b217b1121c5f827e8535722a560d9f84fb9a8b90f8f74'
'c2ad5a109841600d271c0b4b49b0fb2b54bcac6e220bf6a7c4cd6f68e17f377e')
prepare() { prepare() {
cd $_pkgname-$pkgver cd $_pkgname-$pkgver
patch -Np1 -i ../aws-xray-sdk-psycopg2.8.patch patch -Np1 -i ../aws-xray-sdk-psycopg2.8.patch
# https://github.com/aws/aws-xray-sdk-python/issues/171
patch -Np1 -i ../aws-xray-sdk-pynamodb4.patch
} }
build() { build() {