[arch-commits] Commit in python-aws-xray-sdk/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Jun 30 21:34:05 UTC 2019


    Date: Sunday, June 30, 2019 @ 21:34:03
  Author: yan12125
Revision: 486835

upgpkg: python-aws-xray-sdk 2.4.2-2

Fix tests with python-psycopg2>=2.8.0

Modified:
  python-aws-xray-sdk/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-30 21:32:19 UTC (rev 486834)
+++ PKGBUILD	2019-06-30 21:34:03 UTC (rev 486835)
@@ -4,7 +4,7 @@
 pkgname=python-aws-xray-sdk
 _pkgname=aws-xray-sdk-python
 pkgver=2.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc='AWS X-Ray SDK for Python'
 arch=(any)
 url='https://github.com/aws/aws-xray-sdk-python'
@@ -15,9 +15,16 @@
               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=('e480a6dc21d314faf6a9af4cf871fd7b782fae1e704e0fe5977161707f101374')
+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")
+sha256sums=('e480a6dc21d314faf6a9af4cf871fd7b782fae1e704e0fe5977161707f101374'
+            'b0740901e4c3bd0a678b217b1121c5f827e8535722a560d9f84fb9a8b90f8f74')
 
+prepare() {
+  cd $_pkgname-$pkgver
+  patch -Np1 -i ../aws-xray-sdk-psycopg2.8.patch
+}
+
 build() {
   cd $_pkgname-$pkgver
   python setup.py build



More information about the arch-commits mailing list