summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/oauthlib/Manifest2
-rw-r--r--dev-python/oauthlib/files/oauthlib-3.2.2-py313.patch37
-rw-r--r--dev-python/oauthlib/files/oauthlib-3.3.0-stray-examples.patch24
-rw-r--r--dev-python/oauthlib/oauthlib-3.2.2.ebuild39
-rw-r--r--dev-python/oauthlib/oauthlib-3.3.0.ebuild33
5 files changed, 0 insertions, 135 deletions
diff --git a/dev-python/oauthlib/Manifest b/dev-python/oauthlib/Manifest
index 33057ba75bb3..cbe641c9f2fd 100644
--- a/dev-python/oauthlib/Manifest
+++ b/dev-python/oauthlib/Manifest
@@ -1,3 +1 @@
-DIST oauthlib-3.2.2.tar.gz 177352 BLAKE2B 98c128eb0ec2a24f45fd63826eb2253e2e90afb37c1954a9d21f0046168bfff8d52a24b230b60f4d756e4730c0cc05b3484d2cb6ac3eb2d710ee113dea6598c9 SHA512 c147b96e0ab0d1a8845f525e80831cfd04495134dd1f17fd95eac62f3a95c91e6dca9d38e34206537d77f3c12dd5b553252239318ba39546979c350e96536b8b
-DIST oauthlib-3.3.0.tar.gz 190292 BLAKE2B 705fcb31504c11caa97de44663599f2fa590557a2db8583eea30808d67d0a81b59d6ee910d2815b89734e5f6441b1b3e3941edf63a2537f3e829dd7ba8419fec SHA512 92620ed0101469192f9104809ece387a9185622e95ec7f5aa1eb7838f6e27502fe77d4323951aeff31f3c74366d70596727f34ded2f40af1e0e4d259baa23325
DIST oauthlib-3.3.1.tar.gz 185918 BLAKE2B fd83cf349e0ecbb132049b6b8d2c124b2385396e5cf1c9828cb4885e53c905613fcaf397786eedfae5cc535f3faf82fe2e9c21cec82bd3afbbac2326dd186288 SHA512 f9894a2ef2413505a89a86e0f008310a9e38f4c662b1590816e051d563fd283a94dbe8e8dd61d0e9b01143801d7e747ac9a67a704a4267ba21d8c8382b1a2a41
diff --git a/dev-python/oauthlib/files/oauthlib-3.2.2-py313.patch b/dev-python/oauthlib/files/oauthlib-3.2.2-py313.patch
deleted file mode 100644
index 2d000e5e1b1b..000000000000
--- a/dev-python/oauthlib/files/oauthlib-3.2.2-py313.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From fe020db74199d5284c00d7735aa7d4ddc90f5d61 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Tue, 24 Oct 2023 15:08:10 +0200
-Subject: [PATCH] Make UtilsTests.test_filter_params Python 3.13+ compatible
-
-Since Python 3.13.0a1, docstrings are automatically dedented.
-See https://github.com/python/cpython/issues/81283
-and https://docs.python.org/3.13/whatsnew/3.13.html#other-language-changes
-
-As a result, using a docstring with leading space as a test case
-breaks the test assumption.
-
-The initial commit which introduced this test a decade ago
-(6c0c7914f3a57823834b1be492b307992f943629)
-does not specify why testing the spaces is important.
----
- tests/oauth1/rfc5849/test_utils.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/oauth1/rfc5849/test_utils.py b/tests/oauth1/rfc5849/test_utils.py
-index 013c71a9..22128908 100644
---- a/tests/oauth1/rfc5849/test_utils.py
-+++ b/tests/oauth1/rfc5849/test_utils.py
-@@ -53,11 +53,11 @@ def test_filter_params(self):
- # The following is an isolated test function used to test the filter_params decorator.
- @filter_params
- def special_test_function(params, realm=None):
-- """ I am a special test function """
-+ """I am a special test function"""
- return 'OAuth ' + ','.join(['='.join([k, v]) for k, v in params])
-
- # check that the docstring got through
-- self.assertEqual(special_test_function.__doc__, " I am a special test function ")
-+ self.assertEqual(special_test_function.__doc__, "I am a special test function")
-
- # Check that the decorator filtering works as per design.
- # Any param that does not start with 'oauth'
diff --git a/dev-python/oauthlib/files/oauthlib-3.3.0-stray-examples.patch b/dev-python/oauthlib/files/oauthlib-3.3.0-stray-examples.patch
deleted file mode 100644
index 1b14b9c1a49e..000000000000
--- a/dev-python/oauthlib/files/oauthlib-3.3.0-stray-examples.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From db00c8c22dfbfdafb188f4e8796163af9d7fda59 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Wed, 18 Jun 2025 07:35:40 +0200
-Subject: [PATCH] Stop installing `examples` into `site-packages`
-
-Fix `setup.py` not to install `examples` as a top-level package
-into `site-packages`.
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 70162daa..a35de99b 100755
---- a/setup.py
-+++ b/setup.py
-@@ -33,7 +33,7 @@ def fread(fn):
- url='https://github.com/oauthlib/oauthlib',
- platforms='any',
- license='BSD-3-Clause',
-- packages=find_packages(exclude=('docs', 'tests', 'tests.*')),
-+ packages=find_packages(exclude=('docs', 'examples', 'tests', 'tests.*')),
- python_requires='>=3.8',
- extras_require={
- 'rsa': rsa_require,
diff --git a/dev-python/oauthlib/oauthlib-3.2.2.ebuild b/dev-python/oauthlib/oauthlib-3.2.2.ebuild
deleted file mode 100644
index 74534858accf..000000000000
--- a/dev-python/oauthlib/oauthlib-3.2.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..14} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Spec-compliant and thorough implementation of the OAuth request-signing logic"
-HOMEPAGE="
- https://github.com/oauthlib/oauthlib/
- https://pypi.org/project/oauthlib/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
-
-# optional extras hard set as RDEPs. See setup.py
-RDEPEND="
- >=dev-python/pyjwt-1.0.0[${PYTHON_USEDEP}]
- dev-python/blinker[${PYTHON_USEDEP}]
- dev-python/cryptography[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- # https://github.com/oauthlib/oauthlib/commit/fe020db74199d5284c00d7735aa7d4ddc90f5d61
- "${FILESDIR}/${P}-py313.patch"
-)
-
-EPYTEST_DESELECT=(
- # exception mismatch
- # https://github.com/oauthlib/oauthlib/issues/877
- tests/oauth1/rfc5849/test_signatures.py::SignatureTests::test_rsa_bad_keys
-)
diff --git a/dev-python/oauthlib/oauthlib-3.3.0.ebuild b/dev-python/oauthlib/oauthlib-3.3.0.ebuild
deleted file mode 100644
index f6935f16a6d9..000000000000
--- a/dev-python/oauthlib/oauthlib-3.3.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..14} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Spec-compliant and thorough implementation of the OAuth request-signing logic"
-HOMEPAGE="
- https://github.com/oauthlib/oauthlib/
- https://pypi.org/project/oauthlib/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-
-# optional extras hard set as RDEPs. See setup.py
-RDEPEND="
- >=dev-python/pyjwt-1.0.0[${PYTHON_USEDEP}]
- dev-python/blinker[${PYTHON_USEDEP}]
- dev-python/cryptography[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- # https://github.com/oauthlib/oauthlib/pull/904
- "${FILESDIR}/${P}-stray-examples.patch"
-)