diff options
Diffstat (limited to 'dev-python/requests-oauthlib')
-rw-r--r-- | dev-python/requests-oauthlib/Manifest | 1 | ||||
-rw-r--r-- | dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/requests-oauthlib/Manifest b/dev-python/requests-oauthlib/Manifest index 5fd5246bec79..5ed8dbedfbb9 100644 --- a/dev-python/requests-oauthlib/Manifest +++ b/dev-python/requests-oauthlib/Manifest @@ -1 +1,2 @@ DIST requests-oauthlib-1.3.0.tar.gz 45449 BLAKE2B b7d0df59eefe801e09329bde8604d09fe0f45eac146172c5ae5f1a77df59229a89c70d78a97fca0f7b546a015e66d6d9dd4ac3efdd4de0100f77f2427106e197 SHA512 0eebd209dad892567de7d37f1482b5c7523eced3a73a68054674b29447d090c885b2388fd6f2db26436f14098833051c8888ace8b137889a4012e010efb0e86b +DIST requests-oauthlib-1.3.1.tar.gz 48367 BLAKE2B 0cc538fe7ed1ef12740b60bb8b3e32d84f0d45b6c231c70b8bbfe9db9c8775acc51f50e78589e43eb0644c82e919a5a124941986023de4432e0631ebf0764869 SHA512 86fe34d39ad7224fd44a1b0c4fbf3784032239b894ae73ba65043941cde9675c2f8abedf44ccc00b5fb1648b8e261de258464b311f3ace6392ab6202fb50aa08 diff --git a/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild b/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild new file mode 100644 index 000000000000..f98dc0880df8 --- /dev/null +++ b/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="This project provides first-class OAuth library support for Requests" +HOMEPAGE="https://github.com/requests/requests-oauthlib" +SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="ISC" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND=" + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] + >=dev-python/oauthlib-3.0.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/requests-mock[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet access + tests/test_core.py::OAuth1Test::testCanPostBinaryData + tests/test_core.py::OAuth1Test::test_content_type_override + tests/test_core.py::OAuth1Test::test_url_is_native_str +) |