summaryrefslogtreecommitdiff
path: root/dev-python/oauth2
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/oauth2')
-rw-r--r--dev-python/oauth2/Manifest2
-rw-r--r--dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild15
2 files changed, 9 insertions, 8 deletions
diff --git a/dev-python/oauth2/Manifest b/dev-python/oauth2/Manifest
index 7fb869bc8a78..6e5b78aae45f 100644
--- a/dev-python/oauth2/Manifest
+++ b/dev-python/oauth2/Manifest
@@ -1,4 +1,4 @@
AUX 1.9.0_p1-exclude-tests.patch 332 BLAKE2B 82d468bd3f94baf4e99ddcc17252bad0b71ff2331aaeda3ec3d7b4117017b5a9ac2ab57f4fcdaeeaae9afec4c39e1ca5481e2463e197eba7bae40c6d27e0af05 SHA512 9b4b45d22076517ac6e79ecd74430ee7e53501aea07f0e2c43bae3c119e572d9357dfc32adb036920f4ff15c1344ea3cde20e79ee4c609508feeb9fac3293c57
DIST oauth2-1.9.0.post1.tar.gz 21306 BLAKE2B 3e61ba6d46b98c594fa31e828885930490f99390f14e0173bdf719cfc1d5e8ad385e56c9654e139279cd95611a7e35b1fe0276679a2a4849b67125f5e6919788 SHA512 a3b64eef331d4c4f59c275f14efb2dfb48ad60de47a59a88106f60d64428a09b76d8bedf08c98c113493968d83708b1478b4b61b2b5528b5b01fa22777daff4c
-EBUILD oauth2-1.9.0_p1-r1.ebuild 893 BLAKE2B 6811542f406060de72af227822d3db384facc7faed8430eb9f7341d46fac9680162b7639a08bfbffc411bed8fd94ea1d4f7ba21675164b402ff18f4e82ff8d5e SHA512 731e50dc553d8d638766a7c89a252b159deb7e479fdee8a5d64b91f60757e61a1f09c2e26a80c450255fbe0e574ad4db8cb88cf84756931a8402b8e91bbe7a44
+EBUILD oauth2-1.9.0_p1-r1.ebuild 952 BLAKE2B fc8a6ace84c2f2d287a85a4cefe5b8f132bc8993b3c937644a589f2305f2e48bc9401fb96d90e9d3aa059a0de7a66c9b7b3fb539f3d5006e97c88ea4a8179f00 SHA512 cebfc71ee966dcb14f2bec7cf6de6383d0e463864bf15c9e91cdadba162afd3ebbe859c7bce1e923e0b88e7d3fb526a0b1f3b56cfa978c07efbd1e203b552332
MISC metadata.xml 395 BLAKE2B fdb3154d83208eb7708b69af8b8be5fc74e6c6a872e7d916522b64c7169e58d39f64080c96a443b220c5651a84ac6b73a6794c5971a9180573bf47952ff0f078 SHA512 3d775e5d647cb78ab418f0b6ff6ea0365fda706949957b05b79eca64aed221f4c8e457e72937dc50200522146297aff08c400f978bfb4c1782e498fdc837b2c8
diff --git a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
index 4153a69ecea5..dcf5e4e10dd9 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -31,9 +31,10 @@ PATCHES=(
distutils_enable_tests pytest
-python_test() {
- # Skip tests which require network access
- py.test -k "not (test_access_token_post or test_access_token_get \
- or test_two_legged_post or test_two_legged_get)" || die \
- "tests failed with ${EPYTHON}"
-}
+EPYTEST_DESELECT=(
+ # These tests require network access
+ tests/test_oauth.py::TestClient::test_access_token_get
+ tests/test_oauth.py::TestClient::test_access_token_post
+ tests/test_oauth.py::TestClient::test_two_legged_get
+ tests/test_oauth.py::TestClient::test_two_legged_post
+)