[arch-commits] Commit in python-aws-xray-sdk/repos/community-any (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri Mar 26 04:48:45 UTC 2021
Date: Friday, March 26, 2021 @ 04:48:45
Author: yan12125
Revision: 904453
archrelease: copy trunk to community-any
Added:
python-aws-xray-sdk/repos/community-any/PKGBUILD
(from rev 904452, python-aws-xray-sdk/trunk/PKGBUILD)
Deleted:
python-aws-xray-sdk/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 44 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-26 04:48:30 UTC (rev 904452)
+++ PKGBUILD 2021-03-26 04:48:45 UTC (rev 904453)
@@ -1,48 +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.6.0
-pkgrel=3
-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 python-mock)
-# 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=('3db4147eb9fae56a2b414611e8ce84fec9b00b2a0fbb9dee18da22e58ed18a6e')
-
-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
-}
Copied: python-aws-xray-sdk/repos/community-any/PKGBUILD (from rev 904452, python-aws-xray-sdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-26 04:48:45 UTC (rev 904453)
@@ -0,0 +1,44 @@
+# 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.7.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-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 python-mock)
+# 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=('3c3f326143b7a9075de9791485fe3082648cc23f85a3264ff6423f3febcec862')
+
+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