summaryrefslogtreecommitdiff
path: root/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-09-20 01:44:38 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-09-20 01:44:38 +0000
commita3be64552ce9fb6471744889161baee97af4ef4d (patch)
treed61ab81fec4a79765bf9104c9a28bda51c7d74e9 /dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild
parentc3e380abeb6a8b6f648df61aab556a3cefa167b5 (diff)
downloadbaldeagleos-repo-a3be64552ce9fb6471744889161baee97af4ef4d.tar.gz
baldeagleos-repo-a3be64552ce9fb6471744889161baee97af4ef4d.tar.xz
baldeagleos-repo-a3be64552ce9fb6471744889161baee97af4ef4d.zip
Adding metadata
Diffstat (limited to 'dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild')
-rw-r--r--dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild38
1 files changed, 18 insertions, 20 deletions
diff --git a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild
index 776bd0ea1f69..130f51cea7be 100644
--- a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild
+++ b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
inherit distutils-r1
@@ -15,7 +16,6 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
-IUSE=""
RDEPEND="
>=dev-python/botocore-1.12.122[${PYTHON_USEDEP}]
@@ -33,6 +33,10 @@ BDEPEND="
dev-python/webtest[${PYTHON_USEDEP}]
)"
+PATCHES=(
+ "${FILESDIR}/${P}-fix-py3.10-loops.patch"
+)
+
distutils_enable_tests pytest
python_test() {
@@ -40,34 +44,28 @@ python_test() {
local -x AWS_SECRET_ACCESS_KEY=fake_key
local -x AWS_ACCESS_KEY_ID=fake_id
- local args=(
- # unpackaged deps
- --ignore tests/ext/aiobotocore
- --ignore tests/ext/pg8000
- --ignore tests/ext/psycopg2
- --ignore tests/ext/pymysql
- --ignore tests/ext/pynamodb
- --ignore tests/ext/sqlalchemy_core/test_postgres.py
- --deselect tests/ext/django/test_db.py
-
+ local EPYTEST_DESELECT=(
# Internet access
- --deselect
tests/test_patcher.py::test_external_file
- --deselect
tests/test_patcher.py::test_external_module
- --deselect
tests/test_patcher.py::test_external_submodules_full
- --deselect
tests/test_patcher.py::test_external_submodules_ignores_file
- --deselect
tests/test_patcher.py::test_external_submodules_ignores_module
- --deselect
tests/ext/aiohttp/test_client.py
- --ignore
+ )
+ local EPYTEST_IGNORE=(
+ # unpackaged deps
+ tests/ext/aiobotocore
+ tests/ext/pg8000
+ tests/ext/psycopg2
+ tests/ext/pymysql
+ tests/ext/pynamodb
+ tests/ext/sqlalchemy_core/test_postgres.py
+ tests/ext/django/test_db.py
+ # Internet access
tests/ext/httplib
- --ignore
tests/ext/requests
)
- epytest -p no:django "${args[@]}"
+ epytest -p no:django
}