summaryrefslogtreecommitdiff
path: root/dev-python/requests-oauthlib
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-12 06:41:06 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-12 06:41:06 +0000
commitb4803079ccaf30833a1b3e6cdca144b6907a3657 (patch)
treed9bf5ceb9fc067f2edbf6b069fe65ea158bd80e8 /dev-python/requests-oauthlib
parent528a61b6238a699d10db30760c75ed1106e70535 (diff)
downloadbaldeagleos-repo-b4803079ccaf30833a1b3e6cdca144b6907a3657.tar.gz
baldeagleos-repo-b4803079ccaf30833a1b3e6cdca144b6907a3657.tar.xz
baldeagleos-repo-b4803079ccaf30833a1b3e6cdca144b6907a3657.zip
Adding metadata
Diffstat (limited to 'dev-python/requests-oauthlib')
-rw-r--r--dev-python/requests-oauthlib/Manifest1
-rw-r--r--dev-python/requests-oauthlib/requests-oauthlib-1.4.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/requests-oauthlib/Manifest b/dev-python/requests-oauthlib/Manifest
index c6de87b7f1d6..95bf581c0d54 100644
--- a/dev-python/requests-oauthlib/Manifest
+++ b/dev-python/requests-oauthlib/Manifest
@@ -1 +1,2 @@
DIST requests-oauthlib-1.3.1.tar.gz 48367 BLAKE2B 0cc538fe7ed1ef12740b60bb8b3e32d84f0d45b6c231c70b8bbfe9db9c8775acc51f50e78589e43eb0644c82e919a5a124941986023de4432e0631ebf0764869 SHA512 86fe34d39ad7224fd44a1b0c4fbf3784032239b894ae73ba65043941cde9675c2f8abedf44ccc00b5fb1648b8e261de258464b311f3ace6392ab6202fb50aa08
+DIST requests-oauthlib-1.4.0.gh.tar.gz 51324 BLAKE2B e62d696ceaf483f5cbfacd60570a87665d7b7933d3c79de93ce7884c6ac9f245d5ba77f1e83c518226ec2be89c3e6ba4281669e1dcf83cffcddda95fd25ae2fe SHA512 14ffe34be4aaffb774aeda7965687738c12b23291994a86ee9c1436490cd20588bfeac4fb41b4cc89966f62a6ed5152235cd06cd194a8eecc8ea9367975d87ce
diff --git a/dev-python/requests-oauthlib/requests-oauthlib-1.4.0.ebuild b/dev-python/requests-oauthlib/requests-oauthlib-1.4.0.ebuild
new file mode 100644
index 000000000000..43d96e267b29
--- /dev/null
+++ b/dev-python/requests-oauthlib/requests-oauthlib-1.4.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+
+inherit distutils-r1
+
+DESCRIPTION="This project provides first-class OAuth library support for Requests"
+HOMEPAGE="
+ https://github.com/requests/requests-oauthlib/
+ https://pypi.org/project/requests-oauthlib/
+"
+SRC_URI="
+ https://github.com/requests/requests-oauthlib/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~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
+
+python_test() {
+ local 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
+ )
+ local EPYTEST_IGNORE=(
+ tests/examples
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}