summaryrefslogtreecommitdiff
path: root/dev-python/pytest-asyncio
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-18 13:45:27 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-18 13:45:27 +0000
commitaa3a513695d35eeaff334adc4008b41f8ca70980 (patch)
treeee686b984793b617b480528f06f55b63d75c33ab /dev-python/pytest-asyncio
parent5a34f8bf0a83c761c70f021bb56c9eda6f635f29 (diff)
downloadbaldeagleos-repo-aa3a513695d35eeaff334adc4008b41f8ca70980.tar.gz
baldeagleos-repo-aa3a513695d35eeaff334adc4008b41f8ca70980.tar.xz
baldeagleos-repo-aa3a513695d35eeaff334adc4008b41f8ca70980.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest-asyncio')
-rw-r--r--dev-python/pytest-asyncio/files/pytest-asyncio-0.15.1-310-test-warnings.patch12
-rw-r--r--dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild4
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/pytest-asyncio/files/pytest-asyncio-0.15.1-310-test-warnings.patch b/dev-python/pytest-asyncio/files/pytest-asyncio-0.15.1-310-test-warnings.patch
new file mode 100644
index 000000000000..50f1c9f2d168
--- /dev/null
+++ b/dev-python/pytest-asyncio/files/pytest-asyncio-0.15.1-310-test-warnings.patch
@@ -0,0 +1,12 @@
+diff --git a/setup.cfg b/setup.cfg
+index 0161086..047501c 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -8,6 +8,7 @@ show_missing = true
+ addopts = -rsx --tb=short
+ testpaths = tests
+ filterwarnings = error
++ ignore::DeprecationWarning
+
+ [metadata]
+ # ensure LICENSE is included in wheel metadata
diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild
index d6e2facac5e4..89332d96c0de 100644
--- a/dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild
+++ b/dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild
@@ -23,4 +23,8 @@ BDEPEND="
>=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
)"
+PATCHES=(
+ "${FILESDIR}/${P}-310-test-warnings.patch"
+)
+
distutils_enable_tests --install pytest