[arch-commits] Commit in python-aws-xray-sdk/repos/community-any (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri Apr 17 04:19:44 UTC 2020
Date: Friday, April 17, 2020 @ 04:19:43
Author: yan12125
Revision: 615405
archrelease: copy trunk to community-any
Added:
python-aws-xray-sdk/repos/community-any/PKGBUILD
(from rev 615404, python-aws-xray-sdk/trunk/PKGBUILD)
Deleted:
python-aws-xray-sdk/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 48 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-17 04:19:30 UTC (rev 615404)
+++ PKGBUILD 2020-04-17 04:19:43 UTC (rev 615405)
@@ -1,40 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
-
-pkgname=python-aws-xray-sdk
-_pkgname=aws-xray-sdk-python
-pkgver=2.4.3
-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=("https://github.com/aws/aws-xray-sdk-python/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('adb528c7c092293613484ca28c5466c79889ff6035493681daf9fbde9ba95b3a')
-
-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
-}
Copied: python-aws-xray-sdk/repos/community-any/PKGBUILD (from rev 615404, python-aws-xray-sdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-17 04:19:43 UTC (rev 615405)
@@ -0,0 +1,48 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgname=python-aws-xray-sdk
+_pkgname=aws-xray-sdk-python
+pkgver=2.5.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)
+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 python-bottle
+ python-webtest python-django-fake-model)
+# 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")
+sha256sums=('70fd26080462087f4f20fcbff11c3bc125bcded9f96b8203b4e5773418c204ef')
+
+prepare() {
+ cd $_pkgname-$pkgver
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+
+ # See setenv= in upstream tox.ini
+ export DJANGO_SETTINGS_MODULE=tests.ext.django.app.settings
+ export AWS_SECRET_ACCESS_KEY=fake_key
+ export AWS_ACCESS_KEY_ID=fake_id
+
+ # the test suite for pymysql uses testing.mysqld, which is not
+ # compatible with MariaDB
+ # https://github.com/tk0miya/testing.mysqld/issues/3
+ pytest -v tests --ignore tests/ext/pymysql
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list