Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/
Date: Sat, 29 Jan 2022 19:32:21
Message-Id: 1643484733.91e8c6b1c667885016a6b6f0a816493c25864e2e.mgorny@gentoo
1 commit: 91e8c6b1c667885016a6b6f0a816493c25864e2e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 19:19:26 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 19:32:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e8c6b1
7
8 dev-python/requests-oauthlib: Bump to 1.3.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/requests-oauthlib/Manifest | 1 +
13 .../requests-oauthlib-1.3.1.ebuild | 34 ++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/requests-oauthlib/Manifest b/dev-python/requests-oauthlib/Manifest
17 index 5fd5246bec79..5ed8dbedfbb9 100644
18 --- a/dev-python/requests-oauthlib/Manifest
19 +++ b/dev-python/requests-oauthlib/Manifest
20 @@ -1 +1,2 @@
21 DIST requests-oauthlib-1.3.0.tar.gz 45449 BLAKE2B b7d0df59eefe801e09329bde8604d09fe0f45eac146172c5ae5f1a77df59229a89c70d78a97fca0f7b546a015e66d6d9dd4ac3efdd4de0100f77f2427106e197 SHA512 0eebd209dad892567de7d37f1482b5c7523eced3a73a68054674b29447d090c885b2388fd6f2db26436f14098833051c8888ace8b137889a4012e010efb0e86b
22 +DIST requests-oauthlib-1.3.1.tar.gz 48367 BLAKE2B 0cc538fe7ed1ef12740b60bb8b3e32d84f0d45b6c231c70b8bbfe9db9c8775acc51f50e78589e43eb0644c82e919a5a124941986023de4432e0631ebf0764869 SHA512 86fe34d39ad7224fd44a1b0c4fbf3784032239b894ae73ba65043941cde9675c2f8abedf44ccc00b5fb1648b8e261de258464b311f3ace6392ab6202fb50aa08
23
24 diff --git a/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild b/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild
25 new file mode 100644
26 index 000000000000..f98dc0880df8
27 --- /dev/null
28 +++ b/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild
29 @@ -0,0 +1,34 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="This project provides first-class OAuth library support for Requests"
41 +HOMEPAGE="https://github.com/requests/requests-oauthlib"
42 +SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +SLOT="0"
45 +LICENSE="ISC"
46 +KEYWORDS="~amd64 ~arm ~x86"
47 +
48 +RDEPEND="
49 + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
50 + >=dev-python/oauthlib-3.0.0[${PYTHON_USEDEP}]"
51 +BDEPEND="
52 + test? (
53 + dev-python/requests-mock[${PYTHON_USEDEP}]
54 + )"
55 +
56 +distutils_enable_tests pytest
57 +
58 +EPYTEST_DESELECT=(
59 + # Internet access
60 + tests/test_core.py::OAuth1Test::testCanPostBinaryData
61 + tests/test_core.py::OAuth1Test::test_content_type_override
62 + tests/test_core.py::OAuth1Test::test_url_is_native_str
63 +)