[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2025-06-10 Thread Michał Górny
commit: 3e8aeab8287dd9eebb15d54c12ebc24757b644f8
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 10 12:37:05 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 10 12:37:05 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8aeab8

dev-python/requests: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests/Manifest   |  2 -
 dev-python/requests/requests-2.32.3.ebuild | 89 --
 2 files changed, 91 deletions(-)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index a920ef424e0a..777c8b683d53 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1,3 +1 @@
-DIST requests-2.32.3-patches.tar.xz 20028 BLAKE2B 
fb224c96f85d7f8f9c7c0ca7fc188ddcf12abe6239a83e4ec1fb96f949ed27007ea98a412fea2eb7d132a191ff20cec4cd0da20da10255125d8ab7890dc8c27e
 SHA512 
be04a6a55ff3184c22b20a8f185fd7c6478db44d451fe396e61687a5f58d24b915a18f94fc888f6744eae745ede47831abdb1bca73e31fd26cf4478340b130e9
-DIST requests-2.32.3.tar.gz 131218 BLAKE2B 
c36bd80e0544e83b80c001e6bfdde7b8552e65b888d44d781f95d5a6302dd34dfd4368e18dbfeab3a014d7170946c502e3bf3a6dbd027a60a2f0f535c674d75c
 SHA512 
20d413597ff4803a62156ada25ef2e8a5edd0d4dbf7d79cc7fcd88d51a76e019a7dacf41d7c3d546306f37c506ede68f16b9afea57c918db64e702382b1ae420
 DIST requests-2.32.4.tar.gz 135258 BLAKE2B 
2ae4706d3a07b8484f9cddcb80a56121ecc2f16c345f6d518a259c45d20584d09e62eabb6e60ea76c2f558b5950c29e947c5ccb453774b1aeb953f5147c68f83
 SHA512 
8308da5ec2b1bd4442497dc8ecb21d4c1d3aba82987a264bc0f55b75d2522b303e5779f704d1b557a0f7d8a8f0a3533925cc34a58d98a95ce463a0dd59c5ac2d

diff --git a/dev-python/requests/requests-2.32.3.ebuild 
b/dev-python/requests/requests-2.32.3.ebuild
deleted file mode 100644
index a5eca5f4c18f..
--- a/dev-python/requests/requests-2.32.3.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="HTTP library for human beings"
-HOMEPAGE="
-   https://requests.readthedocs.io/
-   https://github.com/psf/requests/
-   https://pypi.org/project/requests/
-"
-
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.32.3-patches.tar.xz";
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~arm64-macos ~x64-macos"
-IUSE="socks5 test-rust"
-
-RDEPEND="
-   >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
-   =dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] )
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}]
-   dev-python/pytest-mock[${PYTHON_USEDEP}]
-   >=dev-python/pysocks-1.5.6[${PYTHON_USEDEP}]
-   test-rust? (
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-   )
-"
-
-PATCHES=(
-   # https://github.com/psf/requests/pull/6897
-   "${WORKDIR}/${PN}-2.32.3-patches/${PN}-2.32.3-tests.patch"
-   "${WORKDIR}/${PN}-2.32.3-patches/${PN}-2.32.3-tests-regenerate.patch"
-   # https://github.com/psf/requests/pull/6924
-   "${WORKDIR}/${PN}-2.32.3-patches/${PN}-2.32.3-tests-more.patch"
-)
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # Internet (doctests)
-   requests/__init__.py::requests
-   requests/api.py::requests.api.request
-   requests/models.py::requests.models.PreparedRequest
-   requests/sessions.py::requests.sessions.Session
-   # require IPv4 interface in 10.* range
-   tests/test_requests.py::TestTimeout::test_connect_timeout
-   tests/test_requests.py::TestTimeout::test_total_timeout_connect
-   # As of 2.32.3, with python-3.13.3, despite the patches we've
-   # backported, this still seems to fail. Maybe openssl-3.5?
-   
tests/test_requests.py::TestPreparingURLs::test_different_connection_pool_for_tls_settings_verify_bundle_unexpired_cert
-   )
-
-   case ${EPYTHON} in
-   python3.13)
-   ;&
-   python3.12)
-   EPYTEST_DESELECT+=(
-   # different repr()
-   
requests/utils.py::requests.utils.from_key_val_list
-   )
-   ;;
-   esac
-
-   if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then
-   EPYTEST_DESELECT+=(
-   
tests/test_requests.py::TestRequests::test_https_warnings
-   )
-   fi
-
-   epytest
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2025-06-10 Thread Arthur Zamarin
commit: ef431e6741b82c3d8a0cfd5d727160c679a1f3ce
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 10 04:59:37 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 10 04:59:37 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef431e67

dev-python/requests: Stabilize 2.32.4 ALLARCHES, #957731

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests/requests-2.32.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests/requests-2.32.4.ebuild 
b/dev-python/requests/requests-2.32.4.ebuild
index 7725dc3d8129..2d6181a41a6e 100644
--- a/dev-python/requests/requests-2.32.4.ebuild
+++ b/dev-python/requests/requests-2.32.4.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~arm64-macos ~x64-macos"
 IUSE="socks5 test-rust"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2025-06-09 Thread Michał Górny
commit: 95441781dc042b558d6a6685f83989eef5c96c70
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 10 01:23:19 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 10 01:56:33 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95441781

dev-python/requests: Bump to 2.32.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests/Manifest   |  1 +
 dev-python/requests/requests-2.32.4.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index 1c23363adb05..a920ef424e0a 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1,2 +1,3 @@
 DIST requests-2.32.3-patches.tar.xz 20028 BLAKE2B 
fb224c96f85d7f8f9c7c0ca7fc188ddcf12abe6239a83e4ec1fb96f949ed27007ea98a412fea2eb7d132a191ff20cec4cd0da20da10255125d8ab7890dc8c27e
 SHA512 
be04a6a55ff3184c22b20a8f185fd7c6478db44d451fe396e61687a5f58d24b915a18f94fc888f6744eae745ede47831abdb1bca73e31fd26cf4478340b130e9
 DIST requests-2.32.3.tar.gz 131218 BLAKE2B 
c36bd80e0544e83b80c001e6bfdde7b8552e65b888d44d781f95d5a6302dd34dfd4368e18dbfeab3a014d7170946c502e3bf3a6dbd027a60a2f0f535c674d75c
 SHA512 
20d413597ff4803a62156ada25ef2e8a5edd0d4dbf7d79cc7fcd88d51a76e019a7dacf41d7c3d546306f37c506ede68f16b9afea57c918db64e702382b1ae420
+DIST requests-2.32.4.tar.gz 135258 BLAKE2B 
2ae4706d3a07b8484f9cddcb80a56121ecc2f16c345f6d518a259c45d20584d09e62eabb6e60ea76c2f558b5950c29e947c5ccb453774b1aeb953f5147c68f83
 SHA512 
8308da5ec2b1bd4442497dc8ecb21d4c1d3aba82987a264bc0f55b75d2522b303e5779f704d1b557a0f7d8a8f0a3533925cc34a58d98a95ce463a0dd59c5ac2d

diff --git a/dev-python/requests/requests-2.32.4.ebuild 
b/dev-python/requests/requests-2.32.4.ebuild
new file mode 100644
index ..7725dc3d8129
--- /dev/null
+++ b/dev-python/requests/requests-2.32.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="HTTP library for human beings"
+HOMEPAGE="
+   https://requests.readthedocs.io/
+   https://github.com/psf/requests/
+   https://pypi.org/project/requests/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+IUSE="socks5 test-rust"
+
+RDEPEND="
+   >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
+   =dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] )
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   >=dev-python/pysocks-1.5.6[${PYTHON_USEDEP}]
+   test-rust? (
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Internet (doctests)
+   requests/__init__.py::requests
+   requests/api.py::requests.api.request
+   requests/models.py::requests.models.PreparedRequest
+   requests/sessions.py::requests.sessions.Session
+   # require IPv4 interface in 10.* range
+   tests/test_requests.py::TestTimeout::test_connect_timeout
+   tests/test_requests.py::TestTimeout::test_total_timeout_connect
+   )
+
+   if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then
+   EPYTEST_DESELECT+=(
+   
tests/test_requests.py::TestRequests::test_https_warnings
+   )
+   fi
+
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-wsgi-adapter/

2025-06-06 Thread Sam James
commit: 72b689d4b87dbc84057842c268b0ebdf159ccaaa
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun  7 00:35:36 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun  7 00:35:36 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72b689d4

dev-python/requests-wsgi-adapter: cleanup unnecessary BDEPEND

d_e_t pytest already handles this.

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild | 5 -
 1 file changed, 5 deletions(-)

diff --git 
a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild 
b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
index 7096a9818d68..10beb590d4ec 100644
--- a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
+++ b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
@@ -26,11 +26,6 @@ KEYWORDS="~amd64 ~arm64"
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
 "
-BDEPEND="
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
 
 distutils_enable_tests pytest
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/

2025-05-27 Thread Michał Górny
commit: c9f0e0e390732764315b02bfd2c5a536bdde95f5
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 27 16:40:18 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 27 16:40:18 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9f0e0e3

dev-python/requests-oauthlib: Enable py3.14

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild 
b/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
index bdd6e7878e85..5573230f0328 100644
--- a/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
+++ b/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# 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_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-wsgi-adapter/

2025-05-27 Thread Michał Górny
commit: 79b092cfd9ed826d3a0e79e61be4bb25a8c33d0a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 27 16:49:13 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 27 16:49:13 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b092cf

dev-python/requests-wsgi-adapter: Enable py3.14

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild 
b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
index 24a6a36b6a07..7096a9818d68 100644
--- a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
+++ b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-futures/

2025-05-17 Thread Arthur Zamarin
commit: df46f4ee8615b3f686447126c191ddd9ece1564d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 17 18:50:03 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 17 18:50:03 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df46f4ee

dev-python/requests-futures: enable py3.14

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-futures/requests-futures-1.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-futures/requests-futures-1.0.2.ebuild 
b/dev-python/requests-futures/requests-futures-1.0.2.ebuild
index 9ab951fbbeb7..0876e3f8851d 100644
--- a/dev-python/requests-futures/requests-futures-1.0.2.ebuild
+++ b/dev-python/requests-futures/requests-futures-1.0.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/

2025-05-17 Thread Arthur Zamarin
commit: 8cf88ace757832f83155d6edd3eb89f53110bbb1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 17 18:51:17 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 17 18:51:17 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf88ace

dev-python/requests-mock: enable py3.14

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-mock/requests-mock-1.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-1.12.1.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
index 78b590dfae6b..05469298255a 100644
--- a/dev-python/requests-mock/requests-mock-1.12.1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2025-05-13 Thread Arthur Zamarin
commit: 63756665d4d1212b6f7fac9407b1950e19e91e20
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May 13 18:21:35 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May 13 18:35:49 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63756665

dev-python/requests-file: enable py3.14

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-file/requests-file-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-file/requests-file-2.1.0.ebuild 
b/dev-python/requests-file/requests-file-2.1.0.ebuild
index ae2ed40ebd50..8f3dab41f146 100644
--- a/dev-python/requests-file/requests-file-2.1.0.ebuild
+++ b/dev-python/requests-file/requests-file-2.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-unixsocket/

2025-05-12 Thread Sam James
commit: 0724e2fc3bd754e3786d862e8249fe2b3c54685f
Author: Sam James  gentoo  org>
AuthorDate: Mon May 12 16:08:17 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 12 16:08:17 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0724e2fc

dev-python/requests-unixsocket: enable py3.14

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-unixsocket/requests-unixsocket-0.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.4.1.ebuild 
b/dev-python/requests-unixsocket/requests-unixsocket-0.4.1.ebuild
index 4094462ab3a6..ec929de16d83 100644
--- a/dev-python/requests-unixsocket/requests-unixsocket-0.4.1.ebuild
+++ b/dev-python/requests-unixsocket/requests-unixsocket-0.4.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2025-05-12 Thread Sam James
commit: 08226c6ffb0936dbc4ffad968151bfb5d9e72342
Author: Sam James  gentoo  org>
AuthorDate: Mon May 12 16:04:09 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 12 16:04:09 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08226c6f

dev-python/requests-toolbelt: enable py3.14

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
index f3234f0a9d32..a555b4966f30 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2025-05-12 Thread Sam James
commit: 2e9e1c5cbde434794bd387136e60331c937dffa6
Author: Sam James  gentoo  org>
AuthorDate: Mon May 12 10:46:45 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 12 10:46:45 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e9e1c5c

dev-python/requests: enable py3.14, refresh tests

* Enable py3.14
* Refresh tests
** Drop old skips
** Backport a bunch of patches that Fedora and Debian are using to fix tests
   w/ new OpenSSL + urllib3-3.4 vs new openssl
** ... but still skip one test as it stil lseems to fail, perhaps because
   of openssl-3.5.

Bug: https://bugs.gentoo.org/955435
Bug: https://github.com/psf/requests/issues/6896
Bug: https://github.com/psf/requests/pull/6897
Bug: https://github.com/psf/requests/pull/6924
Signed-off-by: Sam James  gentoo.org>

 dev-python/requests/Manifest   |  1 +
 dev-python/requests/requests-2.32.3.ebuild | 21 ++---
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index efbbda4ca0b8..1c23363adb05 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1 +1,2 @@
+DIST requests-2.32.3-patches.tar.xz 20028 BLAKE2B 
fb224c96f85d7f8f9c7c0ca7fc188ddcf12abe6239a83e4ec1fb96f949ed27007ea98a412fea2eb7d132a191ff20cec4cd0da20da10255125d8ab7890dc8c27e
 SHA512 
be04a6a55ff3184c22b20a8f185fd7c6478db44d451fe396e61687a5f58d24b915a18f94fc888f6744eae745ede47831abdb1bca73e31fd26cf4478340b130e9
 DIST requests-2.32.3.tar.gz 131218 BLAKE2B 
c36bd80e0544e83b80c001e6bfdde7b8552e65b888d44d781f95d5a6302dd34dfd4368e18dbfeab3a014d7170946c502e3bf3a6dbd027a60a2f0f535c674d75c
 SHA512 
20d413597ff4803a62156ada25ef2e8a5edd0d4dbf7d79cc7fcd88d51a76e019a7dacf41d7c3d546306f37c506ede68f16b9afea57c918db64e702382b1ae420

diff --git a/dev-python/requests/requests-2.32.3.ebuild 
b/dev-python/requests/requests-2.32.3.ebuild
index d4ba48307a30..a5eca5f4c18f 100644
--- a/dev-python/requests/requests-2.32.3.ebuild
+++ b/dev-python/requests/requests-2.32.3.ebuild
@@ -5,7 +5,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi
@@ -17,6 +17,8 @@ HOMEPAGE="
https://pypi.org/project/requests/
 "
 
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.32.3-patches.tar.xz";
+
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~arm64-macos ~x64-macos"
@@ -41,6 +43,14 @@ BDEPEND="
)
 "
 
+PATCHES=(
+   # https://github.com/psf/requests/pull/6897
+   "${WORKDIR}/${PN}-2.32.3-patches/${PN}-2.32.3-tests.patch"
+   "${WORKDIR}/${PN}-2.32.3-patches/${PN}-2.32.3-tests-regenerate.patch"
+   # https://github.com/psf/requests/pull/6924
+   "${WORKDIR}/${PN}-2.32.3-patches/${PN}-2.32.3-tests-more.patch"
+)
+
 distutils_enable_tests pytest
 
 python_test() {
@@ -53,12 +63,9 @@ python_test() {
# require IPv4 interface in 10.* range
tests/test_requests.py::TestTimeout::test_connect_timeout
tests/test_requests.py::TestTimeout::test_total_timeout_connect
-   # TODO: openssl?
-   tests/test_requests.py::TestRequests::test_pyopenssl_redirect
-   # flask-2
-   
tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect
-   
tests/test_requests.py::TestRequests::test_cookie_removed_on_expire
-   
tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url
+   # As of 2.32.3, with python-3.13.3, despite the patches we've
+   # backported, this still seems to fail. Maybe openssl-3.5?
+   
tests/test_requests.py::TestPreparingURLs::test_different_connection_pool_for_tls_settings_verify_bundle_unexpired_cert
)
 
case ${EPYTHON} in



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-unixsocket/, dev-python/requests-unixsocket/files/

2025-03-22 Thread Michał Górny
commit: e8a650cb0f48ca479cc0ed73083e2dae7a406c55
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 22 11:29:12 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 22 11:29:12 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8a650cb

dev-python/requests-unixsocket: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-unixsocket/Manifest|  1 -
 ...requests-unixsocket-0.3.0-requests-2.32.2.patch | 25 
 .../requests-unixsocket-0.3.0-urllib3-2.patch  | 45 --
 .../requests-unixsocket-0.3.0-r4.ebuild| 41 
 4 files changed, 112 deletions(-)

diff --git a/dev-python/requests-unixsocket/Manifest 
b/dev-python/requests-unixsocket/Manifest
index f5435706fc81..883e127e0be1 100644
--- a/dev-python/requests-unixsocket/Manifest
+++ b/dev-python/requests-unixsocket/Manifest
@@ -1,2 +1 @@
-DIST requests-unixsocket-0.3.0.tar.gz 14478 BLAKE2B 
5b46ea051729326498f50ba7a952429d271deb102060f8e3019d259ddc21dbffdca8960e140c7ccb25898034cf37fb90dd143c970e75bdc6e6442e9515f14d6e
 SHA512 
21c887b0c3fa526a2debb3960e0ea4dc3b3015cdd517459b6484501176321408d1b4c87dd2840c7d8b71d08fa9114f655ae03f8bc9ff1fca33c914900ef82f5b
 DIST requests_unixsocket-0.4.1.tar.gz 23476 BLAKE2B 
a0a118e0fb8060e20389aaf170c8e1cedaca2d5d721af1195e98ccebc0de55a4d341baf74e88d860402f7f80744f86ba754da7aac4d66334e01d5328126bf574
 SHA512 
633dbe9217e3e521271012643afd874c602c2ec204da8b4fdabd1bd5e0ccdf69c86060edc11d5a2037d8acb57a84cbbac447949cc92438bd6c5302275442287e

diff --git 
a/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-requests-2.32.2.patch
 
b/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-requests-2.32.2.patch
deleted file mode 100644
index eb7b8f5df7b3..
--- 
a/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-requests-2.32.2.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 8b02ed531d8def03b4cf767e8a925be09db43dff Mon Sep 17 00:00:00 2001
-From: Simon Deziel 
-Date: Wed, 22 May 2024 12:02:20 -0400
-Subject: [PATCH] adapters: fix for requests 2.32.2+
-
-Signed-off-by: Simon Deziel 

- requests_unixsocket/adapters.py | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/requests_unixsocket/adapters.py b/requests_unixsocket/adapters.py
-index 83e1400..c3c73cc 100644
 a/requests_unixsocket/adapters.py
-+++ b/requests_unixsocket/adapters.py
-@@ -63,6 +63,10 @@ def __init__(self, timeout=60, pool_connections=25, *args, 
**kwargs):
- pool_connections, dispose_func=lambda p: p.close()
- )
- 
-+# Fix for requests 2.32.2+: https://github.com/psf/requests/pull/6710
-+def get_connection_with_tls_context(self, request, verify, proxies=None, 
cert=None):
-+return self.get_connection(request.url, proxies)
-+
- def get_connection(self, url, proxies=None):
- proxies = proxies or {}
- proxy = proxies.get(urlparse(url.lower()).scheme)

diff --git 
a/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-urllib3-2.patch
 
b/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-urllib3-2.patch
deleted file mode 100644
index 3cbcd2dd59d3..
--- 
a/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-urllib3-2.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 5a614f60e7b3639758a6b77691b4e0c0d6827e94 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Martin=20Roukala=20=28n=C3=A9=20Peres=29?=
- 
-Date: Fri, 5 May 2023 09:23:41 +0300
-Subject: [PATCH] Inherit HTTPConnection through urllib3.connection, not
- httplib
-
-By inheriting from `urllib3.connection.HTTPConnection` (that inherits
-from `httplib.HTTPConnection` itself), we can adapt to the internal
-changes in urllib3 2.0 that added a `request()` method that is
-incompatible with httplib.HTTPConnection.request.
-
-This fixes the incompatibility between urllib3 2.0 and requests 1.26+,
-which was the first version that stopped vendoring urllib3.
-
-Reference: 
https://github.com/docker/docker-py/issues/3113#issuecomment-1531570788

- requests_unixsocket/adapters.py | 7 +--
- 1 file changed, 1 insertion(+), 6 deletions(-)
-
-diff --git a/requests_unixsocket/adapters.py b/requests_unixsocket/adapters.py
-index 83e1400..513c243 100644
 a/requests_unixsocket/adapters.py
-+++ b/requests_unixsocket/adapters.py
-@@ -3,11 +3,6 @@
- from requests.adapters import HTTPAdapter
- from requests.compat import urlparse, unquote
- 
--try:
--import http.client as httplib
--except ImportError:
--import httplib
--
- try:
- from requests.packages import urllib3
- except ImportError:
-@@ -16,7 +11,7 @@
- 
- # The following was adapted from some code from docker-py
- # https://github.com/docker/docker-py/blob/master/docker/transport/unixconn.py
--class UnixHTTPConnection(httplib.HTTPConnection, object):
-+class UnixHTTPConnection(urllib3.connection.HTTPConnection, object):
- 
- def __init__(self, unix_socket_url, timeout=60):
-  

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2025-03-11 Thread Arthur Zamarin
commit: a61e30d76028d7eeb2842848046b4179f6410b9a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Mar 11 20:20:09 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Mar 11 20:20:09 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61e30d7

dev-python/requests-file: Keyword 2.1.0 arm, #949851

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-file/requests-file-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-file/requests-file-2.1.0.ebuild 
b/dev-python/requests-file/requests-file-2.1.0.ebuild
index 1fef2318e436..ae2ed40ebd50 100644
--- a/dev-python/requests-file/requests-file-2.1.0.ebuild
+++ b/dev-python/requests-file/requests-file-2.1.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2025-03-11 Thread Arthur Zamarin
commit: 00e37c0d17cb666e74a14e0d58f1ee8329f94ae0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Mar 11 20:20:04 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Mar 11 20:20:04 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e37c0d

dev-python/requests-file: Keyword 2.1.0 ppc64, #949851

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-file/requests-file-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-file/requests-file-2.1.0.ebuild 
b/dev-python/requests-file/requests-file-2.1.0.ebuild
index b1bbb7dc7106..1fef2318e436 100644
--- a/dev-python/requests-file/requests-file-2.1.0.ebuild
+++ b/dev-python/requests-file/requests-file-2.1.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~loong ~riscv x86"
+KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2025-03-11 Thread Jakov Smolić
commit: b89ee1f1b2f14c41676fa299b10f18a6d5786799
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Mar 10 12:46:21 2025 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Mar 10 12:46:21 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b89ee1f1

dev-python/requests-file: Keyword 2.1.0 riscv, #949851

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/requests-file/requests-file-2.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-file/requests-file-2.1.0.ebuild 
b/dev-python/requests-file/requests-file-2.1.0.ebuild
index ae887f726648..b1bbb7dc7106 100644
--- a/dev-python/requests-file/requests-file-2.1.0.ebuild
+++ b/dev-python/requests-file/requests-file-2.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~loong x86"
+KEYWORDS="amd64 arm64 ~loong ~riscv x86"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-unixsocket/

2025-03-07 Thread Michał Górny
commit: f55921c4a8eb1620554c067c2af9ea3483dd1e2d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  8 06:12:30 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  8 07:24:06 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55921c4

dev-python/requests-unixsocket: Bump to 0.4.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-unixsocket/Manifest|  1 +
 .../requests-unixsocket-0.4.1.ebuild   | 31 ++
 2 files changed, 32 insertions(+)

diff --git a/dev-python/requests-unixsocket/Manifest 
b/dev-python/requests-unixsocket/Manifest
index 55e09370ea47..f5435706fc81 100644
--- a/dev-python/requests-unixsocket/Manifest
+++ b/dev-python/requests-unixsocket/Manifest
@@ -1 +1,2 @@
 DIST requests-unixsocket-0.3.0.tar.gz 14478 BLAKE2B 
5b46ea051729326498f50ba7a952429d271deb102060f8e3019d259ddc21dbffdca8960e140c7ccb25898034cf37fb90dd143c970e75bdc6e6442e9515f14d6e
 SHA512 
21c887b0c3fa526a2debb3960e0ea4dc3b3015cdd517459b6484501176321408d1b4c87dd2840c7d8b71d08fa9114f655ae03f8bc9ff1fca33c914900ef82f5b
+DIST requests_unixsocket-0.4.1.tar.gz 23476 BLAKE2B 
a0a118e0fb8060e20389aaf170c8e1cedaca2d5d721af1195e98ccebc0de55a4d341baf74e88d860402f7f80744f86ba754da7aac4d66334e01d5328126bf574
 SHA512 
633dbe9217e3e521271012643afd874c602c2ec204da8b4fdabd1bd5e0ccdf69c86060edc11d5a2037d8acb57a84cbbac447949cc92438bd6c5302275442287e

diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.4.1.ebuild 
b/dev-python/requests-unixsocket/requests-unixsocket-0.4.1.ebuild
new file mode 100644
index ..63d51a92e6dd
--- /dev/null
+++ b/dev-python/requests-unixsocket/requests-unixsocket-0.4.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Use requests to talk HTTP via a UNIX domain socket"
+HOMEPAGE="
+   https://github.com/msabramo/requests-unixsocket/
+   https://pypi.org/project/requests-unixsocket/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/waitress[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2025-03-07 Thread Michał Górny
commit: 41b9c06719d85b19b803ca21ee3356c6ffb663d5
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar  7 12:07:06 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar  7 12:45:47 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41b9c067

dev-python/requests-cache: Enable pypy3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/requests-cache-1.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/requests-cache/requests-cache-1.2.1.ebuild 
b/dev-python/requests-cache/requests-cache-1.2.1.ebuild
index 8a5134989d01..e1c16a43ac00 100644
--- a/dev-python/requests-cache/requests-cache-1.2.1.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.2.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
 PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1 optfeature
@@ -62,7 +62,7 @@ python_test() {
)
 
case ${EPYTHON} in
-   pypy3)
+   pypy3*)
EPYTEST_DESELECT+=(
# "database is locked", upstream probably 
relies on GC
# too much



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-unixsocket/

2025-03-01 Thread Arthur Zamarin
commit: 9efb5ba0d2c90394696f49d5588fc3f2176ef660
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  1 18:57:03 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  1 18:57:03 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9efb5ba0

dev-python/requests-unixsocket: Keyword 0.3.0-r4 mips, #934778

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild 
b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
index 31afbad91409..3de01570a67d 100644
--- a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
+++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2025-03-01 Thread Arthur Zamarin
commit: eb49b2b7acc2001562a9ad428c64c45836896b97
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  1 18:57:01 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  1 18:57:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb49b2b7

dev-python/requests-toolbelt: Keyword 1.0.0 mips, #934778

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
index a220d3b5384c..f3234f0a9d32 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${P#requests-}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 
sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x64-macos"
 IUSE="test-rust"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/

2025-02-28 Thread Michał Górny
commit: 3eeb28567bc2ae658b834ce19cbcc6d817fc6e1f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 28 12:20:48 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 28 13:18:27 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eeb2856

dev-python/requests-mock: Enable pypy3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-mock/requests-mock-1.12.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-mock/requests-mock-1.12.1.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
index 4d6df9a0ef45..78b590dfae6b 100644
--- a/dev-python/requests-mock/requests-mock-1.12.1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-futures/

2025-02-27 Thread Michał Górny
commit: 030164f99bc2838d6e9ecfcdc3a32b0419ca97fd
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 27 20:27:04 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 27 21:01:20 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030164f9

dev-python/requests-futures: Enable pypy3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-futures/requests-futures-1.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-futures/requests-futures-1.0.2.ebuild 
b/dev-python/requests-futures/requests-futures-1.0.2.ebuild
index 80c9d7e8cd34..9ab951fbbeb7 100644
--- a/dev-python/requests-futures/requests-futures-1.0.2.ebuild
+++ b/dev-python/requests-futures/requests-futures-1.0.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# 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_{10..13} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-wsgi-adapter/

2025-02-27 Thread Michał Górny
commit: 7b4fb60270d3d84ddfe13e7768ea624aee4b4544
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 27 20:27:05 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 27 21:01:20 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b4fb602

dev-python/requests-wsgi-adapter: Enable pypy3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild 
b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
index cb7b1e82a5a0..24a6a36b6a07 100644
--- a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
+++ b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2023-2024 Gentoo Authors
+# Copyright 2023-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2025-02-16 Thread Michał Górny
commit: 93d8be768b13aaeb6d36a02437cc1ca02b9e5d3b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 16 20:00:07 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 16 20:33:35 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93d8be76

dev-python/requests-toolbelt: Enable pypy3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
index 8dae812f83a7..a220d3b5384c 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# 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_{10..13} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-unixsocket/

2025-02-16 Thread Michał Górny
commit: e8879faf264974ed3f14b66dcc6cc06ae52e5558
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 16 20:01:01 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 16 20:33:25 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8879faf

dev-python/requests-unixsocket: Enable pypy3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild 
b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
index 6bdf30d810cd..31afbad91409 100644
--- a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
+++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2020-2024 Gentoo Authors
+# Copyright 2020-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2025-02-16 Thread Michał Górny
commit: a48c1598893ea57b98b1cb1d52ebd2b2f43b9e13
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 16 14:34:18 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 16 14:45:59 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a48c1598

dev-python/requests: Enable pypy3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests/requests-2.32.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests/requests-2.32.3.ebuild 
b/dev-python/requests/requests-2.32.3.ebuild
index 77ca4358cd2b..d4ba48307a30 100644
--- a/dev-python/requests/requests-2.32.3.ebuild
+++ b/dev-python/requests/requests-2.32.3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-futures/

2024-11-30 Thread Michał Górny
commit: abe1bfda8a786a22b6fc0be51b4635a9ac9d769c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 30 11:10:03 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 30 11:10:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe1bfda

dev-python/requests-futures: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-futures/Manifest   |  1 -
 .../requests-futures/requests-futures-1.0.1.ebuild | 29 --
 2 files changed, 30 deletions(-)

diff --git a/dev-python/requests-futures/Manifest 
b/dev-python/requests-futures/Manifest
index fb744c719f0b..3835d65f921e 100644
--- a/dev-python/requests-futures/Manifest
+++ b/dev-python/requests-futures/Manifest
@@ -1,2 +1 @@
-DIST requests-futures-1.0.1.tar.gz 9921 BLAKE2B 
f4b1ec5c473ebe5e2cd4ca7bf8da3c60b4a0304c6ee5940900fcbad1f8e3400facfc886e3ba318d30c597d2e212b29d6eed4dfe7e985c526309e0abb15ded6b4
 SHA512 
e95c2ae8a97f314a6f2ec02ab1d4b456cd673599dea9cf4abd9f2c601ea7ea4b48a6595d4b52bd5c717cfcbbb378be8789d6f63dfb58fb2aa4778db408521730
 DIST requests_futures-1.0.2.tar.gz 10356 BLAKE2B 
4aa9b549981c13681ada1335bbf00a1b2b23c10376941062f92275a9f772a2aae57332b10dabb730bd5aa7157e19f61b82b41e03a9978b41a55cab2a57dba101
 SHA512 
1d163ffe45a09e0160710cf8bd060f741a524e60d69318af7c03a3b5dc41f27f4f7d115faed227bb710b29ffdb230a7ef5991e33ab2ad4e25b3c52727ef76fc7

diff --git a/dev-python/requests-futures/requests-futures-1.0.1.ebuild 
b/dev-python/requests-futures/requests-futures-1.0.1.ebuild
deleted file mode 100644
index 0f598414dd6a..
--- a/dev-python/requests-futures/requests-futures-1.0.1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Asynchronous Python HTTP for Humans"
-HOMEPAGE="
-   https://github.com/ross/requests-futures/
-   https://pypi.org/project/requests-futures/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-RESTRICT="test"
-PROPERTIES="test_network"
-
-RDEPEND="
-   >=dev-python/requests-1.2.0[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-futures/

2024-11-30 Thread Arthur Zamarin
commit: fbb0bda6abc86f796eb6caa96a1a5d85f2303159
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 30 10:45:53 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 30 10:45:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb0bda6

dev-python/requests-futures: Stabilize 1.0.2 ALLARCHES, #945415

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-futures/requests-futures-1.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-futures/requests-futures-1.0.2.ebuild 
b/dev-python/requests-futures/requests-futures-1.0.2.ebuild
index 747e231ada94..80c9d7e8cd34 100644
--- a/dev-python/requests-futures/requests-futures-1.0.2.ebuild
+++ b/dev-python/requests-futures/requests-futures-1.0.2.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="
>=dev-python/requests-1.2.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-futures/

2024-11-16 Thread Michał Górny
commit: c78a41f95a34dd9a3cebe76ecac35643c278e26c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 16 06:54:00 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 16 07:13:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c78a41f9

dev-python/requests-futures: Bump to 1.0.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-futures/Manifest   |  1 +
 .../requests-futures/requests-futures-1.0.2.ebuild | 31 ++
 2 files changed, 32 insertions(+)

diff --git a/dev-python/requests-futures/Manifest 
b/dev-python/requests-futures/Manifest
index 30382529900d..fb744c719f0b 100644
--- a/dev-python/requests-futures/Manifest
+++ b/dev-python/requests-futures/Manifest
@@ -1 +1,2 @@
 DIST requests-futures-1.0.1.tar.gz 9921 BLAKE2B 
f4b1ec5c473ebe5e2cd4ca7bf8da3c60b4a0304c6ee5940900fcbad1f8e3400facfc886e3ba318d30c597d2e212b29d6eed4dfe7e985c526309e0abb15ded6b4
 SHA512 
e95c2ae8a97f314a6f2ec02ab1d4b456cd673599dea9cf4abd9f2c601ea7ea4b48a6595d4b52bd5c717cfcbbb378be8789d6f63dfb58fb2aa4778db408521730
+DIST requests_futures-1.0.2.tar.gz 10356 BLAKE2B 
4aa9b549981c13681ada1335bbf00a1b2b23c10376941062f92275a9f772a2aae57332b10dabb730bd5aa7157e19f61b82b41e03a9978b41a55cab2a57dba101
 SHA512 
1d163ffe45a09e0160710cf8bd060f741a524e60d69318af7c03a3b5dc41f27f4f7d115faed227bb710b29ffdb230a7ef5991e33ab2ad4e25b3c52727ef76fc7

diff --git a/dev-python/requests-futures/requests-futures-1.0.2.ebuild 
b/dev-python/requests-futures/requests-futures-1.0.2.ebuild
new file mode 100644
index ..747e231ada94
--- /dev/null
+++ b/dev-python/requests-futures/requests-futures-1.0.2.ebuild
@@ -0,0 +1,31 @@
+# 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_{10..13} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Asynchronous Python HTTP for Humans"
+HOMEPAGE="
+   https://github.com/ross/requests-futures/
+   https://pypi.org/project/requests-futures/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+   >=dev-python/requests-1.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-unixsocket/

2024-08-25 Thread Andreas K. Hüttel
commit: 43e4c0949f37d64f78a45280f5c51f46eb1866f4
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Aug 25 09:25:56 2024 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sun Aug 25 12:03:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e4c094

dev-python/requests-unixsocket: remove ~mips

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild 
b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
index c2a089e9fb6d..0ef80681cb26 100644
--- a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
+++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2024-07-11 Thread James Le Cuirot
commit: 6abbd6a51c95234a4fa1ef08fe8b95fbd288074b
Author: James Le Cuirot  gentoo  org>
AuthorDate: Thu Jul 11 20:47:47 2024 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Jul 11 20:55:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abbd6a5

dev-python/requests-toolbelt: Keyword 1.0.0 for ~m68k

The tests pass.

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
index 1aa76f4f7311..3b9361049786 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${P#requests-}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86 ~x64-macos"
 IUSE="test-rust"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2024-07-11 Thread Michał Górny
commit: 257f611a9ccef7409967c5c03f4191304ba4cb55
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul 11 16:25:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 11 16:37:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=257f611a

dev-python/requests-cache: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/requests-cache-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.2.1.ebuild 
b/dev-python/requests-cache/requests-cache-1.2.1.ebuild
index cd7fa8425059..8a5134989d01 100644
--- a/dev-python/requests-cache/requests-cache-1.2.1.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.2.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
 PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1 optfeature



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2024-07-05 Thread Michał Górny
commit: c1d94ef996c25eb47f09b2a9b83d70f13f99e483
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  6 06:31:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 06:35:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1d94ef9

dev-python/requests-cache: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/Manifest |  1 -
 .../requests-cache/requests-cache-1.2.0.ebuild | 92 --
 2 files changed, 93 deletions(-)

diff --git a/dev-python/requests-cache/Manifest 
b/dev-python/requests-cache/Manifest
index 8f213ef7fe86..402efa8db244 100644
--- a/dev-python/requests-cache/Manifest
+++ b/dev-python/requests-cache/Manifest
@@ -1,2 +1 @@
-DIST requests-cache-1.2.0.gh.tar.gz 3057187 BLAKE2B 
135d39d8fac1e123c71b07b30002b980b5fdcdb586cafb310f8f72e865cdc97f62b699cd981068207c6f020deef595469801d440cf5034566e9618385d569437
 SHA512 
b198d282cfd656c432d3a63f4d615191ac1ff97c9563e9bd6945e7a78444601108beb47a0f4a79740c7bd6942c3753f025cd52457e87ece7964229799bbb8fa1
 DIST requests-cache-1.2.1.gh.tar.gz 3056882 BLAKE2B 
e1e5f971490f865ac2771d1dd87802ba138940adbfa0183ed5978b92794795fb26a30219de5560a925642ca08de1b8854d759408f86b30e6150e1c948ec8dcfe
 SHA512 
f8977b1afc005ddd73019d2a0e39da368f376602110602c0b24c317b548f31a3489e686502ecd48ae3583e471fdd70671913e529c73dacdcaecadb1cd1e6c126

diff --git a/dev-python/requests-cache/requests-cache-1.2.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.2.0.ebuild
deleted file mode 100644
index cd7fa8425059..
--- a/dev-python/requests-cache/requests-cache-1.2.0.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Persistent cache for requests library"
-HOMEPAGE="
-   https://pypi.org/project/requests-cache/
-   https://github.com/requests-cache/requests-cache/
-"
-SRC_URI="
-   https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
-
-RDEPEND="
-   dev-python/attrs[${PYTHON_USEDEP}]
-   >=dev-python/cattrs-22.2[${PYTHON_USEDEP}]
-   >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-   dev-python/urllib3[${PYTHON_USEDEP}]
-   >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/itsdangerous[${PYTHON_USEDEP}]
-   dev-python/pytest-httpbin[${PYTHON_USEDEP}]
-   dev-python/requests-mock[${PYTHON_USEDEP}]
-   dev-python/responses[${PYTHON_USEDEP}]
-   >=dev-python/rich-10.0[${PYTHON_USEDEP}]
-   dev-python/timeout-decorator[${PYTHON_USEDEP}]
-   >=dev-python/ujson-5.4[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/time-machine[${PYTHON_USEDEP}]
-   ' 'python*')
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # These require extra servers running
-   tests/integration/test_dynamodb.py
-   tests/integration/test_gridfs.py
-   tests/integration/test_mongodb.py
-   tests/integration/test_redis.py
-   )
-   local EPYTEST_DESELECT=(
-   # Requires Internet access
-   tests/integration/test_upgrade.py::test_version_upgrade
-   )
-
-   case ${EPYTHON} in
-   pypy3)
-   EPYTEST_DESELECT+=(
-   # "database is locked", upstream probably 
relies on GC
-   # too much
-   tests/integration/test_sqlite.py
-   )
-   ;;
-   python3.12)
-   # 
https://github.com/requests-cache/requests-cache/issues/845
-   EPYTEST_DESELECT+=(
-   
tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read
-   
tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency
-   )
-   ;;
-   esac
-
-   local -x USE_PYTEST_HTTPBIN=true
-   epytest
-}
-
-pkg_postinst() {
-   optfeature "redis backend" "dev-python/redis"
-   optfeature "MongoDB backend" "dev-python/pymongo"
-
-   optfeature "JSON serialization" "dev-python/ujson"
-   optfeature "YAML serialization" "dev-python/pyyaml"
-   optfeature "signing serialized data" "dev-python/itsdangerous"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2024-07-05 Thread Sam James
commit: bcbc90ee3ad5c817f8f8bffe5a8bfe79b7821fd2
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul  6 06:24:48 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul  6 06:24:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbc90ee

dev-python/requests-cache: Stabilize 1.2.1 ALLARCHES, #935598

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-cache/requests-cache-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.2.1.ebuild 
b/dev-python/requests-cache/requests-cache-1.2.1.ebuild
index f7fcd8fb6ecb..cd7fa8425059 100644
--- a/dev-python/requests-cache/requests-cache-1.2.1.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.2.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-ntlm/

2024-06-29 Thread Michał Górny
commit: 855fe880d447d926dd58ead8ad5c1ff096dc8eff
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 29 16:39:18 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 29 16:58:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855fe880

dev-python/requests-ntlm: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-ntlm/Manifest  |  1 -
 .../requests-ntlm/requests-ntlm-1.2.0.ebuild   | 50 --
 2 files changed, 51 deletions(-)

diff --git a/dev-python/requests-ntlm/Manifest 
b/dev-python/requests-ntlm/Manifest
index f8b69bdffb7e..28f2d6ff1391 100644
--- a/dev-python/requests-ntlm/Manifest
+++ b/dev-python/requests-ntlm/Manifest
@@ -1,2 +1 @@
-DIST requests-ntlm-1.2.0.gh.tar.gz 14540 BLAKE2B 
0b9dd72680c6e67dc6e4f0a3eef3b9fa0cc03c71010238a0e7ef8a48b59c57e12846040975f7eef7710113f372cd1e1628e5a9be0eca8e7a287a9cfd0765ebf0
 SHA512 
230eb6c8a90e8745a3c969114f81d2559aa0f411b79b54747d21c6c28572f7d61c024c47a831777c2d85fb8b09af7fee667d3a3abf318473c97e727c5f2d7943
 DIST requests-ntlm-1.3.0.gh.tar.gz 15460 BLAKE2B 
6d2306cfa28e784ef5f399d9168c844fa1196d35a63bcb1508ae15b10eba0d7852679e4b66b328b567878bf0c1a1b919b35a0b8caf3b8f9c35ea7ecf2dbed8ba
 SHA512 
2c2110a0694f43d2147144ee1e9761fdea6e60ac37f5923d608e7e2a047125f9c7dd84cb8b255033ada1c8de287eb0f7ab6751b3e8f85ed638c8fe6e4303f7f9

diff --git a/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild 
b/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild
deleted file mode 100644
index 3371dfd99302..
--- a/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="HTTP NTLM authentication using the requests library"
-HOMEPAGE="
-   https://github.com/requests/requests-ntlm/
-   https://pypi.org/project/requests-ntlm/
-"
-SRC_URI="
-   https://github.com/requests/requests-ntlm/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-SLOT="0"
-LICENSE="ISC"
-KEYWORDS="amd64 arm64 ~riscv ~x86"
-
-RDEPEND="
-   >=dev-python/cryptography-1.3[${PYTHON_USEDEP}]
-   >=dev-python/pyspnego-0.1.6[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   test? (
-   dev-python/flask[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local ts_pid test_ret
-
-   "${EPYTHON}" -m tests.test_server &> "${T}"/test-server.log &
-   ts_pid=${!}
-
-   nonfatal epytest tests/unit
-   test_ret=${?}
-
-   kill "${ts_pid}"
-   [[ ${test_ret} -ne 0 ]] && die "Tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-kerberos/

2024-06-29 Thread Michał Górny
commit: 6ba88cda33ed9f15772e25782d5a0182475b6522
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 29 15:48:59 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 29 16:58:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ba88cda

dev-python/requests-kerberos: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-kerberos/Manifest  |  1 -
 .../requests-kerberos-0.14.0-r1.ebuild | 38 --
 2 files changed, 39 deletions(-)

diff --git a/dev-python/requests-kerberos/Manifest 
b/dev-python/requests-kerberos/Manifest
index 1443363f54b8..2f9eefb1007e 100644
--- a/dev-python/requests-kerberos/Manifest
+++ b/dev-python/requests-kerberos/Manifest
@@ -1,2 +1 @@
-DIST requests-kerberos-0.14.0.tar.gz 21275 BLAKE2B 
d64c92bf70df07a8dd38626a6699ecb95aaf82b6aa93797eefa80af2b9760f5b064e0aa3a3bca5242ef73ce1efc4b6ef0ef1bb1802c7c59a20b6655bd3894aae
 SHA512 
9dd6eed0d6afe4b852ba96f621be3af2965e9011bf372c5dce77e0bca18191255ea407ba313904271615d722d60029807db2d6815b24437b021b02b026eb60d6
 DIST requests-kerberos-0.15.0.gh.tar.gz 21883 BLAKE2B 
44af889a4a0a553ff0e727a7e89f9c73917dc4bd41524e29fa36b85a33e1c1c548b582672b928ee08bec33242bb3e69f8a9bd16c59d82db4ce7314adf12c06c1
 SHA512 
7ff6e1a366749d96ec5c193f1f945ffa0709d6cf636ddd49f83813b66d2f0a914538f94d8f53b61ec4d674ef22d882fb7565f420c0126ecd9c70ca4ebf690475

diff --git a/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild 
b/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild
deleted file mode 100644
index eb525d29942d..
--- a/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="A Kerberos authentication handler for python-requests"
-HOMEPAGE="
-   https://github.com/requests/requests-kerberos/
-   https://pypi.org/project/requests-kerberos/
-"
-SRC_URI="
-   https://github.com/requests/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.tar.gz
-"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~riscv x86"
-
-RDEPEND="
-   dev-python/cryptography[${PYTHON_USEDEP}]
-   >=dev-python/requests-1.1.0[${PYTHON_USEDEP}]
-   dev-python/pyspnego[${PYTHON_USEDEP}]
-   dev-python/gssapi[${PYTHON_USEDEP}]
-   dev-python/krb5[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/pytest-mock[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-ntlm/

2024-06-29 Thread Sam James
commit: 9b34d382a63f6e13c980156978010f8ed30372c6
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 29 08:52:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 29 08:52:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b34d382

dev-python/requests-ntlm: Stabilize 1.3.0 arm64, #935104

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild 
b/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
index 9968200c6ee3..15a48c004140 100644
--- a/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
+++ b/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~riscv ~x86"
 
 RDEPEND="
>=dev-python/cryptography-1.3[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-ntlm/

2024-06-29 Thread Sam James
commit: 2d9a836c636e23c7e9bb532d51a6eb250c5ea910
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 29 08:24:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 29 08:24:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d9a836c

dev-python/requests-ntlm: Stabilize 1.3.0 amd64, #935104

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild 
b/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
index 67b5cdcb1cba..9968200c6ee3 100644
--- a/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
+++ b/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 
 RDEPEND="
>=dev-python/cryptography-1.3[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-kerberos/

2024-06-29 Thread Sam James
commit: 39f7c4fdd733a7ef2d83db2adf695e3972f02e3f
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 29 08:24:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 29 08:24:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f7c4fd

dev-python/requests-kerberos: Stabilize 0.15.0 ALLARCHES, #935101

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild 
b/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild
index be95e387254b..ccc0c64945de 100644
--- a/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild
+++ b/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86"
 
 RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2024-06-18 Thread Michał Górny
commit: 6a88224c6635602fe36befe0f6fb4ad2c318b997
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 19 04:25:15 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 19 04:25:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a88224c

dev-python/requests-cache: Bump to 1.2.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/Manifest |  1 +
 .../requests-cache/requests-cache-1.2.1.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/dev-python/requests-cache/Manifest 
b/dev-python/requests-cache/Manifest
index 0a170bdc4a9b..8f213ef7fe86 100644
--- a/dev-python/requests-cache/Manifest
+++ b/dev-python/requests-cache/Manifest
@@ -1 +1,2 @@
 DIST requests-cache-1.2.0.gh.tar.gz 3057187 BLAKE2B 
135d39d8fac1e123c71b07b30002b980b5fdcdb586cafb310f8f72e865cdc97f62b699cd981068207c6f020deef595469801d440cf5034566e9618385d569437
 SHA512 
b198d282cfd656c432d3a63f4d615191ac1ff97c9563e9bd6945e7a78444601108beb47a0f4a79740c7bd6942c3753f025cd52457e87ece7964229799bbb8fa1
+DIST requests-cache-1.2.1.gh.tar.gz 3056882 BLAKE2B 
e1e5f971490f865ac2771d1dd87802ba138940adbfa0183ed5978b92794795fb26a30219de5560a925642ca08de1b8854d759408f86b30e6150e1c948ec8dcfe
 SHA512 
f8977b1afc005ddd73019d2a0e39da368f376602110602c0b24c317b548f31a3489e686502ecd48ae3583e471fdd70671913e529c73dacdcaecadb1cd1e6c126

diff --git a/dev-python/requests-cache/requests-cache-1.2.1.ebuild 
b/dev-python/requests-cache/requests-cache-1.2.1.ebuild
new file mode 100644
index ..f7fcd8fb6ecb
--- /dev/null
+++ b/dev-python/requests-cache/requests-cache-1.2.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Persistent cache for requests library"
+HOMEPAGE="
+   https://pypi.org/project/requests-cache/
+   https://github.com/requests-cache/requests-cache/
+"
+SRC_URI="
+   https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   dev-python/attrs[${PYTHON_USEDEP}]
+   >=dev-python/cattrs-22.2[${PYTHON_USEDEP}]
+   >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+   >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/itsdangerous[${PYTHON_USEDEP}]
+   dev-python/pytest-httpbin[${PYTHON_USEDEP}]
+   dev-python/requests-mock[${PYTHON_USEDEP}]
+   dev-python/responses[${PYTHON_USEDEP}]
+   >=dev-python/rich-10.0[${PYTHON_USEDEP}]
+   dev-python/timeout-decorator[${PYTHON_USEDEP}]
+   >=dev-python/ujson-5.4[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/time-machine[${PYTHON_USEDEP}]
+   ' 'python*')
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # These require extra servers running
+   tests/integration/test_dynamodb.py
+   tests/integration/test_gridfs.py
+   tests/integration/test_mongodb.py
+   tests/integration/test_redis.py
+   )
+   local EPYTEST_DESELECT=(
+   # Requires Internet access
+   tests/integration/test_upgrade.py::test_version_upgrade
+   )
+
+   case ${EPYTHON} in
+   pypy3)
+   EPYTEST_DESELECT+=(
+   # "database is locked", upstream probably 
relies on GC
+   # too much
+   tests/integration/test_sqlite.py
+   )
+   ;;
+   python3.12)
+   # 
https://github.com/requests-cache/requests-cache/issues/845
+   EPYTEST_DESELECT+=(
+   
tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read
+   
tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency
+   )
+   ;;
+   esac
+
+   local -x USE_PYTEST_HTTPBIN=true
+   epytest
+}
+
+pkg_postinst() {
+   optfeature "redis backend" "dev-python/redis"
+   optfeature "MongoDB backend" "dev-python/pymongo"
+
+   optfeature "JSON serialization" "dev-python/ujson"
+   optfeature "YAML serialization" "dev-python/pyyaml"
+   optfeature "signing serialized data" "dev-python/itsdangerous"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-credssp/

2024-06-17 Thread Michał Górny
commit: 97f5b8960f2bcc8ed5ead11b9f378fcf5ecc49d0
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 17 16:22:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 17 16:25:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97f5b896

dev-python/requests-credssp: Fix distfile suffix

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-credssp/Manifest  | 2 +-
 dev-python/requests-credssp/requests-credssp-2.0.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-credssp/Manifest 
b/dev-python/requests-credssp/Manifest
index c5c618cc38ee..894c9086924c 100644
--- a/dev-python/requests-credssp/Manifest
+++ b/dev-python/requests-credssp/Manifest
@@ -1 +1 @@
-DIST requests-credssp-2.0.0.tar.gz 15225 BLAKE2B 
3cd2a6bafcef5803d89ab13c42385709308998187eda514a598d262ab5e8c94bc3c0e9b9bf3756de1454d570012863a01f650b4fc6e3a17fb2845d8e52f0bf3b
 SHA512 
d11a76bc9577f3054e5955aad513ee27ff2cf3a70414a1d4a81e721a7b40510d45fa33abc5957724ead6c04958a009153f670e154f38f32f2331cc14dd44ee27
+DIST requests-credssp-2.0.0.gh.tar.gz 15225 BLAKE2B 
3cd2a6bafcef5803d89ab13c42385709308998187eda514a598d262ab5e8c94bc3c0e9b9bf3756de1454d570012863a01f650b4fc6e3a17fb2845d8e52f0bf3b
 SHA512 
d11a76bc9577f3054e5955aad513ee27ff2cf3a70414a1d4a81e721a7b40510d45fa33abc5957724ead6c04958a009153f670e154f38f32f2331cc14dd44ee27

diff --git a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild 
b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
index ffbf5dc9c997..776b93eb8884 100644
--- a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
+++ b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="
 "
 SRC_URI="
https://github.com/jborean93/${PN}/archive/refs/tags/v${PV}.tar.gz
-   -> ${P}.tar.gz
+   -> ${P}.gh.tar.gz
 "
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/

2024-06-17 Thread Michał Górny
commit: fddd6171475e2f125372b392c4465e5053d48252
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 17 15:56:55 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 17 16:25:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fddd6171

dev-python/requests-oauthlib: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild 
b/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
index 398dbff57fe0..bdd6e7878e85 100644
--- a/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
+++ b/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-credssp/

2024-06-17 Thread Michał Górny
commit: a726b21425f44e61031e6bb456a5835da18f59f6
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 17 15:54:57 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 17 16:25:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a726b214

dev-python/requests-credssp: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-credssp/requests-credssp-2.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild 
b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
index 5aec141b3f9b..ffbf5dc9c997 100644
--- a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
+++ b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# 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_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-ntlm/

2024-06-15 Thread Michał Górny
commit: a3e99c60122d60c7d45c7041fcb9ff1ae2c73a8c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 15 19:13:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 15 19:15:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3e99c60

dev-python/requests-ntlm: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild 
b/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
index d1c412c7ee81..67b5cdcb1cba 100644
--- a/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
+++ b/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-unixsocket/

2024-06-15 Thread Michał Górny
commit: 306fa590820ecf9bde035697448618e61b768388
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 15 13:41:22 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 15 13:47:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306fa590

dev-python/requests-unixsocket: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild 
b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
index fb11398447dc..c2a089e9fb6d 100644
--- a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
+++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-unixsocket/files/, dev-python/requests-unixsocket/

2024-06-15 Thread Michał Górny
commit: 0595d6be93229997ecfa9e1a29cc6dc571317862
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 15 13:41:12 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 15 13:47:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0595d6be

dev-python/requests-unixsocket: Fix compat with newer requests

Signed-off-by: Michał Górny  gentoo.org>

 ...requests-unixsocket-0.3.0-requests-2.32.2.patch | 25 ++
 .../requests-unixsocket-0.3.0-r4.ebuild|  5 -
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git 
a/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-requests-2.32.2.patch
 
b/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-requests-2.32.2.patch
new file mode 100644
index ..eb7b8f5df7b3
--- /dev/null
+++ 
b/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-requests-2.32.2.patch
@@ -0,0 +1,25 @@
+From 8b02ed531d8def03b4cf767e8a925be09db43dff Mon Sep 17 00:00:00 2001
+From: Simon Deziel 
+Date: Wed, 22 May 2024 12:02:20 -0400
+Subject: [PATCH] adapters: fix for requests 2.32.2+
+
+Signed-off-by: Simon Deziel 
+---
+ requests_unixsocket/adapters.py | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/requests_unixsocket/adapters.py b/requests_unixsocket/adapters.py
+index 83e1400..c3c73cc 100644
+--- a/requests_unixsocket/adapters.py
 b/requests_unixsocket/adapters.py
+@@ -63,6 +63,10 @@ def __init__(self, timeout=60, pool_connections=25, *args, 
**kwargs):
+ pool_connections, dispose_func=lambda p: p.close()
+ )
+ 
++# Fix for requests 2.32.2+: https://github.com/psf/requests/pull/6710
++def get_connection_with_tls_context(self, request, verify, proxies=None, 
cert=None):
++return self.get_connection(request.url, proxies)
++
+ def get_connection(self, url, proxies=None):
+ proxies = proxies or {}
+ proxy = proxies.get(urlparse(url.lower()).scheme)

diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild 
b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
index 1af801834bff..fb11398447dc 100644
--- a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
+++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,6 +10,7 @@ PYTHON_COMPAT=( python3_{10..12} pypy3 )
 inherit distutils-r1 pypi
 
 DESCRIPTION="Use requests to talk HTTP via a UNIX domain socket"
+# TODO: replace with requests-unixsocket2?
 HOMEPAGE="
https://github.com/msabramo/requests-unixsocket/
https://pypi.org/project/requests-unixsocket/
@@ -33,6 +34,8 @@ BDEPEND="
 PATCHES=(
# https://github.com/msabramo/requests-unixsocket/pull/69
"${FILESDIR}/${P}-urllib3-2.patch"
+   # https://github.com/msabramo/requests-unixsocket/pull/72
+   "${FILESDIR}/${P}-requests-2.32.2.patch"
 )
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2024-06-15 Thread Arthur Zamarin
commit: a84e774869f79cfb5df57e9cdf2c4cf9ac5f297a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jun 15 08:38:15 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jun 15 08:38:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a84e7748

dev-python/requests: Stabilize 2.32.3 ALLARCHES, #934349

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests/requests-2.32.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests/requests-2.32.3.ebuild 
b/dev-python/requests/requests-2.32.3.ebuild
index 35aa92871750..a59ea6ebead2 100644
--- a/dev-python/requests/requests-2.32.3.ebuild
+++ b/dev-python/requests/requests-2.32.3.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
 IUSE="socks5 test-rust"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-kerberos/

2024-06-12 Thread Michał Górny
commit: c2c443404821b74e8ef5a4e000194fe2be4f1a47
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 12 09:51:20 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 12 10:03:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2c44340

dev-python/requests-kerberos: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild 
b/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild
index 7dfa4b94728f..be95e387254b 100644
--- a/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild
+++ b/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/

2024-06-11 Thread Michał Górny
commit: 2664e1f385788eb5bbfa45a2ca29e64662999182
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 11 19:11:29 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 11 19:25:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2664e1f3

dev-python/requests-mock: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-mock/requests-mock-1.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-1.12.1.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
index 705fb061e890..4d6df9a0ef45 100644
--- a/dev-python/requests-mock/requests-mock-1.12.1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-ntlm/

2024-06-09 Thread Michał Górny
commit: 8844eb36b9da4701c172b3566bcdb2f4d38780b2
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 10 01:34:25 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 10 01:43:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8844eb36

dev-python/requests-ntlm: Bump to 1.3.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-ntlm/Manifest  |  1 +
 .../requests-ntlm/requests-ntlm-1.3.0.ebuild   | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/requests-ntlm/Manifest 
b/dev-python/requests-ntlm/Manifest
index faa23a475d6b..f8b69bdffb7e 100644
--- a/dev-python/requests-ntlm/Manifest
+++ b/dev-python/requests-ntlm/Manifest
@@ -1 +1,2 @@
 DIST requests-ntlm-1.2.0.gh.tar.gz 14540 BLAKE2B 
0b9dd72680c6e67dc6e4f0a3eef3b9fa0cc03c71010238a0e7ef8a48b59c57e12846040975f7eef7710113f372cd1e1628e5a9be0eca8e7a287a9cfd0765ebf0
 SHA512 
230eb6c8a90e8745a3c969114f81d2559aa0f411b79b54747d21c6c28572f7d61c024c47a831777c2d85fb8b09af7fee667d3a3abf318473c97e727c5f2d7943
+DIST requests-ntlm-1.3.0.gh.tar.gz 15460 BLAKE2B 
6d2306cfa28e784ef5f399d9168c844fa1196d35a63bcb1508ae15b10eba0d7852679e4b66b328b567878bf0c1a1b919b35a0b8caf3b8f9c35ea7ecf2dbed8ba
 SHA512 
2c2110a0694f43d2147144ee1e9761fdea6e60ac37f5923d608e7e2a047125f9c7dd84cb8b255033ada1c8de287eb0f7ab6751b3e8f85ed638c8fe6e4303f7f9

diff --git a/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild 
b/dev-python/requests-ntlm/requests-ntlm-1.3.0.ebuild
new file mode 100644
index ..d1c412c7ee81
--- /dev/null
+++ b/dev-python/requests-ntlm/requests-ntlm-1.3.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_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="HTTP NTLM authentication using the requests library"
+HOMEPAGE="
+   https://github.com/requests/requests-ntlm/
+   https://pypi.org/project/requests-ntlm/
+"
+SRC_URI="
+   https://github.com/requests/requests-ntlm/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/cryptography-1.3[${PYTHON_USEDEP}]
+   >=dev-python/pyspnego-0.4.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? (
+   dev-python/flask[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local ts_pid test_ret
+
+   "${EPYTHON}" -m tests.test_server &> "${T}"/test-server.log &
+   ts_pid=${!}
+
+   nonfatal epytest tests/unit
+   test_ret=${?}
+
+   kill "${ts_pid}"
+   [[ ${test_ret} -ne 0 ]] && die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2024-06-05 Thread Michał Górny
commit: 0b7cab65faf6846dd5c452908f79df9cc0727060
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun  5 09:10:20 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun  5 09:10:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b7cab65

dev-python/requests-file: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-file/Manifest  |  1 -
 .../requests-file/requests-file-2.0.0.ebuild   | 29 --
 2 files changed, 30 deletions(-)

diff --git a/dev-python/requests-file/Manifest 
b/dev-python/requests-file/Manifest
index 9405a0974823..0e9a0b1bbc24 100644
--- a/dev-python/requests-file/Manifest
+++ b/dev-python/requests-file/Manifest
@@ -1,2 +1 @@
-DIST requests-file-2.0.0.tar.gz 6863 BLAKE2B 
845c8b468131f5958c2e648553aaba5e2a9da9942b333dcf3eb9c70dad3941945f0d63d65747c6ec1bb9f2c3e7ce9665738665bf76a691b85048d99ff9ef
 SHA512 
d37a35d50a2d5f688e431c15c55bfd789c23e50445d94abedfbe75c9ccd825142850dc2ea7e9426c3fa1ca8e4aaaf0a230f5f6921d3c42d157ac95d7e7352b70
 DIST requests_file-2.1.0.tar.gz 6891 BLAKE2B 
69d92d836f184b48420ed3a0cdc44905ac0c495e3cbc574a62c1c3b4088770654925a97775fedfdcec25e247ef4d06df82a52f2303d5b29f875f77d8f13c3952
 SHA512 
1c13ca665797987ad2908ebe0cdff97f03c110c6fe782a03edb6035575ee8eb89683e197336d6ed8d5868873d88eccac642d45996e88368af234a9318611

diff --git a/dev-python/requests-file/requests-file-2.0.0.ebuild 
b/dev-python/requests-file/requests-file-2.0.0.ebuild
deleted file mode 100644
index 2294e62c29bb..
--- a/dev-python/requests-file/requests-file-2.0.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="File transport adapter for Requests"
-HOMEPAGE="
-   https://github.com/dashea/requests-file/
-   https://pypi.org/project/requests-file/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~loong x86"
-
-RDEPEND="
-   dev-python/requests[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools-scm[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2024-06-04 Thread Arthur Zamarin
commit: ef2f0747a17107d0903e08a559373aa25ed838a8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun  5 06:48:04 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun  5 06:48:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2f0747

dev-python/requests-file: Stabilize 2.1.0 ALLARCHES, #933569

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-file/requests-file-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-file/requests-file-2.1.0.ebuild 
b/dev-python/requests-file/requests-file-2.1.0.ebuild
index 80d1f3424abc..ae887f726648 100644
--- a/dev-python/requests-file/requests-file-2.1.0.ebuild
+++ b/dev-python/requests-file/requests-file-2.1.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~x86"
+KEYWORDS="amd64 arm64 ~loong x86"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-kerberos/

2024-06-03 Thread Michał Górny
commit: b284597a4a716faac74f25d750117702d494a001
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun  4 05:27:19 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun  4 05:34:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b284597a

dev-python/requests-kerberos: Bump to 0.15.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-kerberos/Manifest  |  1 +
 .../requests-kerberos-0.15.0.ebuild| 38 ++
 2 files changed, 39 insertions(+)

diff --git a/dev-python/requests-kerberos/Manifest 
b/dev-python/requests-kerberos/Manifest
index e722e44f2105..1443363f54b8 100644
--- a/dev-python/requests-kerberos/Manifest
+++ b/dev-python/requests-kerberos/Manifest
@@ -1 +1,2 @@
 DIST requests-kerberos-0.14.0.tar.gz 21275 BLAKE2B 
d64c92bf70df07a8dd38626a6699ecb95aaf82b6aa93797eefa80af2b9760f5b064e0aa3a3bca5242ef73ce1efc4b6ef0ef1bb1802c7c59a20b6655bd3894aae
 SHA512 
9dd6eed0d6afe4b852ba96f621be3af2965e9011bf372c5dce77e0bca18191255ea407ba313904271615d722d60029807db2d6815b24437b021b02b026eb60d6
+DIST requests-kerberos-0.15.0.gh.tar.gz 21883 BLAKE2B 
44af889a4a0a553ff0e727a7e89f9c73917dc4bd41524e29fa36b85a33e1c1c548b582672b928ee08bec33242bb3e69f8a9bd16c59d82db4ce7314adf12c06c1
 SHA512 
7ff6e1a366749d96ec5c193f1f945ffa0709d6cf636ddd49f83813b66d2f0a914538f94d8f53b61ec4d674ef22d882fb7565f420c0126ecd9c70ca4ebf690475

diff --git a/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild 
b/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild
new file mode 100644
index ..7dfa4b94728f
--- /dev/null
+++ b/dev-python/requests-kerberos/requests-kerberos-0.15.0.ebuild
@@ -0,0 +1,38 @@
+# 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_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Kerberos authentication handler for python-requests"
+HOMEPAGE="
+   https://github.com/requests/requests-kerberos/
+   https://pypi.org/project/requests-kerberos/
+"
+SRC_URI="
+   https://github.com/requests/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   >=dev-python/requests-1.1.0[${PYTHON_USEDEP}]
+   dev-python/pyspnego[${PYTHON_USEDEP}]
+   dev-python/gssapi[${PYTHON_USEDEP}]
+   dev-python/krb5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2024-05-29 Thread Michał Górny
commit: d138e05994c21ce724ff579d2af86b360ee2741f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May 30 03:43:58 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 30 04:02:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d138e059

dev-python/requests: Bump to 2.32.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests/Manifest   |  1 +
 dev-python/requests/requests-2.32.3.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index 5a523f50c9e2..154343007820 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1,2 +1,3 @@
 DIST requests-2.32.1.tar.gz 129920 BLAKE2B 
9f46afeb3ea62e8bb537fb793bcf1b65b5cc2ae3f22263151b0bf5879aa2a11a1e8453cc325f552964551750ef81524ef99ce132bb19df5161e1df5fe77f
 SHA512 
6ae12ca26f04c3c001ef1882d17cd7f12412114214961db42d6b5f3f507640d1f07e325034761e02e7e5d9daacaab10a16884c2cb2c4128ca059a142b52bace8
 DIST requests-2.32.2.tar.gz 130327 BLAKE2B 
46fd3e49a63f55133126a1896bb693050a63a062c7258f119e285a735004671b12595debd87955b5f6f084996495e8a100bb0b09a43c376df0dcb0a6a8d083e2
 SHA512 
6f85e41f30d8bdf8d3343092d7fc163342c22c21cf0490eabd65cb66b59a464fbd6a4cd28f1f3ab1eac636adff2a8d55ded54c40351df93deafeb2aba62bcbde
+DIST requests-2.32.3.tar.gz 131218 BLAKE2B 
c36bd80e0544e83b80c001e6bfdde7b8552e65b888d44d781f95d5a6302dd34dfd4368e18dbfeab3a014d7170946c502e3bf3a6dbd027a60a2f0f535c674d75c
 SHA512 
20d413597ff4803a62156ada25ef2e8a5edd0d4dbf7d79cc7fcd88d51a76e019a7dacf41d7c3d546306f37c506ede68f16b9afea57c918db64e702382b1ae420

diff --git a/dev-python/requests/requests-2.32.3.ebuild 
b/dev-python/requests/requests-2.32.3.ebuild
new file mode 100644
index ..35aa92871750
--- /dev/null
+++ b/dev-python/requests/requests-2.32.3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="HTTP library for human beings"
+HOMEPAGE="
+   https://requests.readthedocs.io/
+   https://github.com/psf/requests/
+   https://pypi.org/project/requests/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+IUSE="socks5 test-rust"
+
+RDEPEND="
+   >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
+   =dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
+   test-rust? (
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Internet (doctests)
+   requests/__init__.py::requests
+   requests/api.py::requests.api.request
+   requests/models.py::requests.models.PreparedRequest
+   requests/sessions.py::requests.sessions.Session
+   # require IPv4 interface in 10.* range
+   tests/test_requests.py::TestTimeout::test_connect_timeout
+   tests/test_requests.py::TestTimeout::test_total_timeout_connect
+   # TODO: openssl?
+   tests/test_requests.py::TestRequests::test_pyopenssl_redirect
+   # flask-2
+   
tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect
+   
tests/test_requests.py::TestRequests::test_cookie_removed_on_expire
+   
tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url
+   )
+
+   case ${EPYTHON} in
+   python3.13)
+   ;&
+   python3.12)
+   EPYTEST_DESELECT+=(
+   # different repr()
+   
requests/utils.py::requests.utils.from_key_val_list
+   )
+   ;;
+   esac
+
+   if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then
+   EPYTEST_DESELECT+=(
+   
tests/test_requests.py::TestRequests::test_https_warnings
+   )
+   fi
+
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2024-05-21 Thread Michał Górny
commit: 25b74bc944eccff5fea44a1472f0788a7152ea7c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 22 04:38:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 22 04:49:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b74bc9

dev-python/requests-file: Bump to 2.1.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-file/Manifest  |  1 +
 .../requests-file/requests-file-2.1.0.ebuild   | 28 ++
 2 files changed, 29 insertions(+)

diff --git a/dev-python/requests-file/Manifest 
b/dev-python/requests-file/Manifest
index 141f77dffa6e..9405a0974823 100644
--- a/dev-python/requests-file/Manifest
+++ b/dev-python/requests-file/Manifest
@@ -1 +1,2 @@
 DIST requests-file-2.0.0.tar.gz 6863 BLAKE2B 
845c8b468131f5958c2e648553aaba5e2a9da9942b333dcf3eb9c70dad3941945f0d63d65747c6ec1bb9f2c3e7ce9665738665bf76a691b85048d99ff9ef
 SHA512 
d37a35d50a2d5f688e431c15c55bfd789c23e50445d94abedfbe75c9ccd825142850dc2ea7e9426c3fa1ca8e4aaaf0a230f5f6921d3c42d157ac95d7e7352b70
+DIST requests_file-2.1.0.tar.gz 6891 BLAKE2B 
69d92d836f184b48420ed3a0cdc44905ac0c495e3cbc574a62c1c3b4088770654925a97775fedfdcec25e247ef4d06df82a52f2303d5b29f875f77d8f13c3952
 SHA512 
1c13ca665797987ad2908ebe0cdff97f03c110c6fe782a03edb6035575ee8eb89683e197336d6ed8d5868873d88eccac642d45996e88368af234a9318611

diff --git a/dev-python/requests-file/requests-file-2.1.0.ebuild 
b/dev-python/requests-file/requests-file-2.1.0.ebuild
new file mode 100644
index ..80d1f3424abc
--- /dev/null
+++ b/dev-python/requests-file/requests-file-2.1.0.ebuild
@@ -0,0 +1,28 @@
+# 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_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="File transport adapter for Requests"
+HOMEPAGE="
+   https://github.com/dashea/requests-file/
+   https://pypi.org/project/requests-file/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~x86"
+
+RDEPEND="
+   dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2024-05-21 Thread Michał Górny
commit: e0eedba6055debb855dd4b11619ba41b67dc1a80
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 22 03:40:22 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 22 04:48:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0eedba6

dev-python/requests: Bump to 2.32.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests/Manifest   |  1 +
 dev-python/requests/requests-2.32.2.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index 3ed4eae42379..5a523f50c9e2 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1 +1,2 @@
 DIST requests-2.32.1.tar.gz 129920 BLAKE2B 
9f46afeb3ea62e8bb537fb793bcf1b65b5cc2ae3f22263151b0bf5879aa2a11a1e8453cc325f552964551750ef81524ef99ce132bb19df5161e1df5fe77f
 SHA512 
6ae12ca26f04c3c001ef1882d17cd7f12412114214961db42d6b5f3f507640d1f07e325034761e02e7e5d9daacaab10a16884c2cb2c4128ca059a142b52bace8
+DIST requests-2.32.2.tar.gz 130327 BLAKE2B 
46fd3e49a63f55133126a1896bb693050a63a062c7258f119e285a735004671b12595debd87955b5f6f084996495e8a100bb0b09a43c376df0dcb0a6a8d083e2
 SHA512 
6f85e41f30d8bdf8d3343092d7fc163342c22c21cf0490eabd65cb66b59a464fbd6a4cd28f1f3ab1eac636adff2a8d55ded54c40351df93deafeb2aba62bcbde

diff --git a/dev-python/requests/requests-2.32.2.ebuild 
b/dev-python/requests/requests-2.32.2.ebuild
new file mode 100644
index ..35aa92871750
--- /dev/null
+++ b/dev-python/requests/requests-2.32.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="HTTP library for human beings"
+HOMEPAGE="
+   https://requests.readthedocs.io/
+   https://github.com/psf/requests/
+   https://pypi.org/project/requests/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+IUSE="socks5 test-rust"
+
+RDEPEND="
+   >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
+   =dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
+   test-rust? (
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Internet (doctests)
+   requests/__init__.py::requests
+   requests/api.py::requests.api.request
+   requests/models.py::requests.models.PreparedRequest
+   requests/sessions.py::requests.sessions.Session
+   # require IPv4 interface in 10.* range
+   tests/test_requests.py::TestTimeout::test_connect_timeout
+   tests/test_requests.py::TestTimeout::test_total_timeout_connect
+   # TODO: openssl?
+   tests/test_requests.py::TestRequests::test_pyopenssl_redirect
+   # flask-2
+   
tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect
+   
tests/test_requests.py::TestRequests::test_cookie_removed_on_expire
+   
tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url
+   )
+
+   case ${EPYTHON} in
+   python3.13)
+   ;&
+   python3.12)
+   EPYTEST_DESELECT+=(
+   # different repr()
+   
requests/utils.py::requests.utils.from_key_val_list
+   )
+   ;;
+   esac
+
+   if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then
+   EPYTEST_DESELECT+=(
+   
tests/test_requests.py::TestRequests::test_https_warnings
+   )
+   fi
+
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/, dev-python/requests/files/

2024-05-21 Thread Michał Górny
commit: 5f630f56d04725e89ed88d0d1b2ad32a5574617a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 21 12:09:05 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 21 12:44:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f630f56

dev-python/requests: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests/Manifest   |  1 -
 .../requests-2.28.0-drop-dependency-warnings.patch | 21 --
 dev-python/requests/requests-2.31.0.ebuild | 86 --
 3 files changed, 108 deletions(-)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index eeb595216333..3ed4eae42379 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1,2 +1 @@
-DIST requests-2.31.0.tar.gz 110794 BLAKE2B 
e4e2781b272ccd94230c5b8c1bea83901bc8c28a34880709dbb95b887417b47833512e25045dab6e4226295294e2bf56fc821b6f636ae28aefdeee6039f53d44
 SHA512 
ce50d64973752f4cf7f7c7c91401669854b55c66d7465bea3689772fae8a6b646cf6720d84a2984bbe6fd78fc8b9ce0aa377f291fb6d7c20c7c2a4be8193acdd
 DIST requests-2.32.1.tar.gz 129920 BLAKE2B 
9f46afeb3ea62e8bb537fb793bcf1b65b5cc2ae3f22263151b0bf5879aa2a11a1e8453cc325f552964551750ef81524ef99ce132bb19df5161e1df5fe77f
 SHA512 
6ae12ca26f04c3c001ef1882d17cd7f12412114214961db42d6b5f3f507640d1f07e325034761e02e7e5d9daacaab10a16884c2cb2c4128ca059a142b52bace8

diff --git 
a/dev-python/requests/files/requests-2.28.0-drop-dependency-warnings.patch 
b/dev-python/requests/files/requests-2.28.0-drop-dependency-warnings.patch
deleted file mode 100644
index ec3634966a07..
--- a/dev-python/requests/files/requests-2.28.0-drop-dependency-warnings.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Minimal patch to avoid often rebasing.
-
-We already have tools to try check for these (`pip check` obviously, but also
-app-portage/gpyutils provides gpy-verify-deps).
 a/requests/__init__.py
-+++ b/requests/__init__.py
-@@ -106,13 +106,7 @@ try:
- urllib3.__version__, chardet_version, charset_normalizer_version
- )
- except (AssertionError, ValueError):
--warnings.warn(
--"urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a 
supported "
--"version!".format(
--urllib3.__version__, chardet_version, charset_normalizer_version
--),
--RequestsDependencyWarning,
--)
-+pass
- 
- # Attempt to enable urllib3's fallback for SNI support
- # if the standard library doesn't support SNI or the

diff --git a/dev-python/requests/requests-2.31.0.ebuild 
b/dev-python/requests/requests-2.31.0.ebuild
deleted file mode 100644
index 957677723e0d..
--- a/dev-python/requests/requests-2.31.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="HTTP library for human beings"
-HOMEPAGE="
-   https://requests.readthedocs.io/
-   https://github.com/psf/requests/
-   https://pypi.org/project/requests/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
-IUSE="socks5 test-rust"
-
-RDEPEND="
-   >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
-   =dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}]
-   dev-python/pytest-mock[${PYTHON_USEDEP}]
-   >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
-   test-rust? (
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.28.0-drop-dependency-warnings.patch
-)
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # Internet (doctests)
-   requests/__init__.py::requests
-   requests/api.py::requests.api.request
-   requests/models.py::requests.models.PreparedRequest
-   requests/sessions.py::requests.sessions.Session
-   # require IPv4 interface in 10.* range
-   tests/test_requests.py::TestTimeout::test_connect_timeout
-   tests/test_requests.py::TestTimeout::test_total_timeout_connect
-   # TODO: openssl?
-   tests/test_requests.py::TestRequests::test_pyopenssl_redirect
-   # flask-2
-   
tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect
-   
tests/test_requests.py::TestRequests::test_cookie_removed_on_expire
-   
tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url
-   )
-
-   case ${EPYTHO

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2024-05-20 Thread Arthur Zamarin
commit: a7fffe95ddf425a4a1eb6c8bc7df190aede4bb67
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May 21 06:22:38 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May 21 06:22:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7fffe95

dev-python/requests: Stabilize 2.32.1 ALLARCHES, #932326

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests/requests-2.32.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests/requests-2.32.1.ebuild 
b/dev-python/requests/requests-2.32.1.ebuild
index 35aa92871750..a59ea6ebead2 100644
--- a/dev-python/requests/requests-2.32.1.ebuild
+++ b/dev-python/requests/requests-2.32.1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
 IUSE="socks5 test-rust"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2024-05-20 Thread Michał Górny
commit: 617cc308f256a7d7f2b05a8f487935b2f3184d41
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 21 03:51:26 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 21 03:51:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=617cc308

dev-python/requests: Bump to 2.32.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests/Manifest   |  1 +
 dev-python/requests/requests-2.32.1.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index 0ff86da8cb06..eeb595216333 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1 +1,2 @@
 DIST requests-2.31.0.tar.gz 110794 BLAKE2B 
e4e2781b272ccd94230c5b8c1bea83901bc8c28a34880709dbb95b887417b47833512e25045dab6e4226295294e2bf56fc821b6f636ae28aefdeee6039f53d44
 SHA512 
ce50d64973752f4cf7f7c7c91401669854b55c66d7465bea3689772fae8a6b646cf6720d84a2984bbe6fd78fc8b9ce0aa377f291fb6d7c20c7c2a4be8193acdd
+DIST requests-2.32.1.tar.gz 129920 BLAKE2B 
9f46afeb3ea62e8bb537fb793bcf1b65b5cc2ae3f22263151b0bf5879aa2a11a1e8453cc325f552964551750ef81524ef99ce132bb19df5161e1df5fe77f
 SHA512 
6ae12ca26f04c3c001ef1882d17cd7f12412114214961db42d6b5f3f507640d1f07e325034761e02e7e5d9daacaab10a16884c2cb2c4128ca059a142b52bace8

diff --git a/dev-python/requests/requests-2.32.1.ebuild 
b/dev-python/requests/requests-2.32.1.ebuild
new file mode 100644
index ..35aa92871750
--- /dev/null
+++ b/dev-python/requests/requests-2.32.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="HTTP library for human beings"
+HOMEPAGE="
+   https://requests.readthedocs.io/
+   https://github.com/psf/requests/
+   https://pypi.org/project/requests/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+IUSE="socks5 test-rust"
+
+RDEPEND="
+   >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
+   =dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
+   test-rust? (
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Internet (doctests)
+   requests/__init__.py::requests
+   requests/api.py::requests.api.request
+   requests/models.py::requests.models.PreparedRequest
+   requests/sessions.py::requests.sessions.Session
+   # require IPv4 interface in 10.* range
+   tests/test_requests.py::TestTimeout::test_connect_timeout
+   tests/test_requests.py::TestTimeout::test_total_timeout_connect
+   # TODO: openssl?
+   tests/test_requests.py::TestRequests::test_pyopenssl_redirect
+   # flask-2
+   
tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect
+   
tests/test_requests.py::TestRequests::test_cookie_removed_on_expire
+   
tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url
+   )
+
+   case ${EPYTHON} in
+   python3.13)
+   ;&
+   python3.12)
+   EPYTEST_DESELECT+=(
+   # different repr()
+   
requests/utils.py::requests.utils.from_key_val_list
+   )
+   ;;
+   esac
+
+   if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then
+   EPYTEST_DESELECT+=(
+   
tests/test_requests.py::TestRequests::test_https_warnings
+   )
+   fi
+
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-wsgi-adapter/

2024-05-18 Thread Michał Górny
commit: 9f9d55cc5cdd7af4709140ab12f86f38957bc989
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 18 09:04:45 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 18 09:28:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9d55cc

dev-python/requests-wsgi-adapter: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild 
b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
index 9f4b3da43524..cb7b1e82a5a0 100644
--- a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
+++ b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
@@ -1,15 +1,16 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
 
 inherit distutils-r1
 
 DESCRIPTION="WSGI Transport Adapter for Requests"
 HOMEPAGE="
+   https://github.com/seanbrant/requests-wsgi-adapter/
https://pypi.org/project/requests-wsgi-adapter/
 "
 COMMIT_HASH="5b771effb5414096089375a3a36a3e7af1522ae0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2024-05-18 Thread Michał Górny
commit: 09306bd1b5e8a5c5d4e78abd00376ef43c04321d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 18 09:04:46 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 18 09:28:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09306bd1

dev-python/requests-toolbelt: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
index 5d60cbcca90d..1aa76f4f7311 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# 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_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-futures/

2024-05-18 Thread Michał Górny
commit: 1a6dd80251482f972fe04536ff049e4ce81a235d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 18 09:04:42 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 18 09:28:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a6dd802

dev-python/requests-futures: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-futures/requests-futures-1.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-futures/requests-futures-1.0.1.ebuild 
b/dev-python/requests-futures/requests-futures-1.0.1.ebuild
index 0d242c6357f9..16c066936825 100644
--- a/dev-python/requests-futures/requests-futures-1.0.1.ebuild
+++ b/dev-python/requests-futures/requests-futures-1.0.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2024-05-18 Thread Michał Górny
commit: d1c1f19a274c0153e761e619682fcf030d293c0e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 18 09:04:40 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 18 09:28:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1c1f19a

dev-python/requests-file: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-file/requests-file-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-file/requests-file-2.0.0.ebuild 
b/dev-python/requests-file/requests-file-2.0.0.ebuild
index af2d9d305503..2294e62c29bb 100644
--- a/dev-python/requests-file/requests-file-2.0.0.ebuild
+++ b/dev-python/requests-file/requests-file-2.0.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests/

2024-05-14 Thread Michał Górny
commit: 3f6e998e05085cb4913bfc88de52d01921fe104e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 14 10:02:22 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 14 10:04:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6e998e

dev-python/requests: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests/requests-2.31.0.ebuild | 21 +
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/dev-python/requests/requests-2.31.0.ebuild 
b/dev-python/requests/requests-2.31.0.ebuild
index 84aead8c6d19..957677723e0d 100644
--- a/dev-python/requests/requests-2.31.0.ebuild
+++ b/dev-python/requests/requests-2.31.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi
@@ -64,12 +64,17 @@ python_test() {

tests/test_requests.py::TestRequests::test_cookie_removed_on_expire

tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url
)
-   if [[ ${EPYTHON} == python3.12 ]]; then
-   EPYTEST_DESELECT+=(
-   # different repr()
-   requests/utils.py::requests.utils.from_key_val_list
-   )
-   fi
+
+   case ${EPYTHON} in
+   python3.13)
+   ;&
+   python3.12)
+   EPYTEST_DESELECT+=(
+   # different repr()
+   
requests/utils.py::requests.utils.from_key_val_list
+   )
+   ;;
+   esac
 
if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/

2024-04-13 Thread Michał Górny
commit: 122cd3d8ac94f29070222ce8d5ca58c64bfb59cd
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 13 14:16:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 13 14:18:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=122cd3d8

dev-python/requests-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-mock/Manifest  |  2 -
 .../requests-mock/requests-mock-1.11.0.ebuild  | 49 
 .../requests-mock/requests-mock-1.12.0.ebuild  | 53 --
 3 files changed, 104 deletions(-)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 0f27f91b764d..d03e0f6492db 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,3 +1 @@
-DIST requests-mock-1.11.0.tar.gz 74377 BLAKE2B 
f871bbd18b42668d9eb693b807a67a33c9fb7c4316966ad2c16800bf562be982c737e1c1a803e3c5b6d3cde8c3d789671b5fce7d54df308dc55b2ef73a641ff4
 SHA512 
8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961
-DIST requests-mock-1.12.0.tar.gz 60874 BLAKE2B 
53e0cf6cf25dbfec87e913a9f85c9ad0757e3b071e4c1d66a31810283cd0332a0a8b8317a9da433a2b36f629ff52808a82993126a5f7a9d138c47099072329a3
 SHA512 
1bc07b5fa90752d73e05de7147f891600fce3041f6b9aaf3ad6be87532b314543340d94087e834801761a7f3aefb0bb1e1bdb717c11b90b940cccf37b2982164
 DIST requests-mock-1.12.1.tar.gz 60901 BLAKE2B 
708b19731260b8a1c1334b564c35825a9bceb20b8205ed3ad0f9c778e2c22e3ae4a93fa09cd47e9c745f5a282ebaf83a43be09ee4bd578195b77f69b116e28c6
 SHA512 
be1f4afa800811025e3c7b14a65759851ef2d56a3e4bf155368dc6772440fe0fcc5d01f62b1b029d0cabd7a57fe35074e3ba0791240f95f43b62109a00f96120

diff --git a/dev-python/requests-mock/requests-mock-1.11.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
deleted file mode 100644
index d253f36b86ee..
--- a/dev-python/requests-mock/requests-mock-1.11.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="
-   https://github.com/jamielennox/requests-mock/
-   https://pypi.org/project/requests-mock/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
-
-RDEPEND="
-   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/requests-futures[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx doc/source
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # Disable reno which only works inside a git repository
-   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
-   # Remove the release notes section which requires reno
-   rm doc/source/release-notes.rst || die
-   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
-   # Disable a test which requires purl (not in the tree)
-   sed -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
-   -i tests/test_adapter.py || die
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/requests-mock/requests-mock-1.12.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
deleted file mode 100644
index ff7866ac1da6..
--- a/dev-python/requests-mock/requests-mock-1.12.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="
-   https://github.com/jamielennox/requests-mock/
-   https://pypi.org/project/requests-mock/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-
-RDEPEND="
-   >=dev-python/requests-2.22[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools-scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/requests-futures[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx doc/source
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   local PATCHES=(
-   # https://github.com/jamielennox/requests-mock/pull/255
-   "${FI

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/

2024-04-13 Thread Sam James
commit: 589466b50f0a8c646e272302eb7de6d3e773dcb3
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 13 13:58:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 13 13:58:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=589466b5

dev-python/requests-mock: Stabilize 1.12.1 ALLARCHES, #929919

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-mock/requests-mock-1.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-1.12.1.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
index bb051e0ee3b9..705fb061e890 100644
--- a/dev-python/requests-mock/requests-mock-1.12.1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.22[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/

2024-04-06 Thread Michał Górny
commit: 7566970f29a741813666f825eccbb25ca7410c25
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 09:32:19 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 09:35:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7566970f

dev-python/requests-oauthlib: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-oauthlib/Manifest  |  1 -
 .../requests-oauthlib-1.3.1.ebuild | 34 --
 2 files changed, 35 deletions(-)

diff --git a/dev-python/requests-oauthlib/Manifest 
b/dev-python/requests-oauthlib/Manifest
index 1c68968f5ece..de54cb979b7c 100644
--- a/dev-python/requests-oauthlib/Manifest
+++ b/dev-python/requests-oauthlib/Manifest
@@ -1,2 +1 @@
-DIST requests-oauthlib-1.3.1.tar.gz 48367 BLAKE2B 
0cc538fe7ed1ef12740b60bb8b3e32d84f0d45b6c231c70b8bbfe9db9c8775acc51f50e78589e43eb0644c82e919a5a124941986023de4432e0631ebf0764869
 SHA512 
86fe34d39ad7224fd44a1b0c4fbf3784032239b894ae73ba65043941cde9675c2f8abedf44ccc00b5fb1648b8e261de258464b311f3ace6392ab6202fb50aa08
 DIST requests-oauthlib-2.0.0.gh.tar.gz 51357 BLAKE2B 
1c1c8c2295f1bce2cb1da1c2fdd899004dfac2dc53956ebcd4affb9fcc6c11047545dec0b96311755d041694c07dcfccaff7ae479ecf7aaaf5ebcfb64665a76a
 SHA512 
15d353da1422ce6f826b5cb3b26afeb597da4b1f0ffdf797f9cba75be4d8bbf00321dd697c1e368f6a8aeb92c57566725c745969fa7e8d60f690f79da13db867

diff --git a/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild 
b/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild
deleted file mode 100644
index f51383ed752c..
--- a/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-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 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
-
-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
-)



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/

2024-04-06 Thread Michał Górny
commit: b84e8587b581f9dfa1b9b3130214829588689d4f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 09:29:35 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 09:35:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b84e8587

dev-python/requests-oauthlib: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-oauthlib/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/requests-oauthlib/metadata.xml 
b/dev-python/requests-oauthlib/metadata.xml
index b6547c782642..f6cf56a73274 100644
--- a/dev-python/requests-oauthlib/metadata.xml
+++ b/dev-python/requests-oauthlib/metadata.xml
@@ -5,6 +5,7 @@
pyt...@gentoo.org
Python

+   

requests/requests-oauthlib
requests-oauthlib



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/

2024-04-06 Thread Arthur Zamarin
commit: 72f884d4c42e2eeac2c67c2d2f3f540cb81009bc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  6 09:30:48 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  6 09:30:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f884d4

dev-python/requests-oauthlib: Stabilize 2.0.0 ALLARCHES, #928723

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild 
b/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
index fbe6ef8d3352..398dbff57fe0 100644
--- a/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
+++ b/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/

2024-03-28 Thread Michał Górny
commit: 54123ce3d9a902c9f6d1d2324469c2597190f587
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 29 05:07:41 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 29 05:07:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54123ce3

dev-python/requests-mock: Bump to 1.12.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.12.1.ebuild  | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 04f30c1c24c8..0f27f91b764d 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,2 +1,3 @@
 DIST requests-mock-1.11.0.tar.gz 74377 BLAKE2B 
f871bbd18b42668d9eb693b807a67a33c9fb7c4316966ad2c16800bf562be982c737e1c1a803e3c5b6d3cde8c3d789671b5fce7d54df308dc55b2ef73a641ff4
 SHA512 
8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961
 DIST requests-mock-1.12.0.tar.gz 60874 BLAKE2B 
53e0cf6cf25dbfec87e913a9f85c9ad0757e3b071e4c1d66a31810283cd0332a0a8b8317a9da433a2b36f629ff52808a82993126a5f7a9d138c47099072329a3
 SHA512 
1bc07b5fa90752d73e05de7147f891600fce3041f6b9aaf3ad6be87532b314543340d94087e834801761a7f3aefb0bb1e1bdb717c11b90b940cccf37b2982164
+DIST requests-mock-1.12.1.tar.gz 60901 BLAKE2B 
708b19731260b8a1c1334b564c35825a9bceb20b8205ed3ad0f9c778e2c22e3ae4a93fa09cd47e9c745f5a282ebaf83a43be09ee4bd578195b77f69b116e28c6
 SHA512 
be1f4afa800811025e3c7b14a65759851ef2d56a3e4bf155368dc6772440fe0fcc5d01f62b1b029d0cabd7a57fe35074e3ba0791240f95f43b62109a00f96120

diff --git a/dev-python/requests-mock/requests-mock-1.12.1.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
new file mode 100644
index ..bb051e0ee3b9
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="
+   https://github.com/jamielennox/requests-mock/
+   https://pypi.org/project/requests-mock/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.22[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/requests-futures[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   local PATCHES=(
+   # https://github.com/jamielennox/requests-mock/pull/255
+   "${FILESDIR}/${PN}-1.12.0-no-pbr.patch"
+   )
+
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   -i tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/files/, dev-python/requests-mock/

2024-03-28 Thread Michał Górny
commit: 95b7c715b18099de0d637d082b841b8eea4866b4
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 28 12:25:54 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 28 12:26:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b7c715

dev-python/requests-mock: Remove last use of pbr

Closes: https://bugs.gentoo.org/928008
Signed-off-by: Michał Górny  gentoo.org>

 .../files/requests-mock-1.12.0-no-pbr.patch| 22 ++
 .../requests-mock/requests-mock-1.12.0.ebuild  |  5 +
 2 files changed, 27 insertions(+)

diff --git a/dev-python/requests-mock/files/requests-mock-1.12.0-no-pbr.patch 
b/dev-python/requests-mock/files/requests-mock-1.12.0-no-pbr.patch
new file mode 100644
index ..fcfc8f9d2eb4
--- /dev/null
+++ b/dev-python/requests-mock/files/requests-mock-1.12.0-no-pbr.patch
@@ -0,0 +1,22 @@
+From 82a6d09fa8db7a0667b365e9c06e99f8c0dfd245 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Thu, 28 Mar 2024 12:54:18 +0100
+Subject: [PATCH] Replace the last use of pbr with modern packaging
+
+diff --git a/doc/source/conf.py b/doc/source/conf.py
+index 395acaa..e0895f5 100755
+--- a/doc/source/conf.py
 b/doc/source/conf.py
+@@ -16 +16,2 @@ import sys, os
+-import pbr.version
++import importlib.metadata
++import packaging
+@@ -56 +57 @@ copyright = u'2023, Jamie Lennox'
+-version_info = pbr.version.VersionInfo(project)
++version_info = packaging.version.parse(importlib.metadata.version(project))
+@@ -59 +60 @@ version_info = pbr.version.VersionInfo(project)
+-version = version_info.version_string()
++version = version_info.base_version
+@@ -61 +62 @@ version = version_info.version_string()
+-release = version_info.release_string()
++release = version_info.public

diff --git a/dev-python/requests-mock/requests-mock-1.12.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
index a0e17f881c2f..ff7866ac1da6 100644
--- a/dev-python/requests-mock/requests-mock-1.12.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
@@ -36,6 +36,11 @@ distutils_enable_sphinx doc/source
 distutils_enable_tests pytest
 
 python_prepare_all() {
+   local PATCHES=(
+   # https://github.com/jamielennox/requests-mock/pull/255
+   "${FILESDIR}/${P}-no-pbr.patch"
+   )
+
# Disable reno which only works inside a git repository
sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
# Remove the release notes section which requires reno



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/

2024-03-27 Thread Michał Górny
commit: c7bb83b69b4e15414c2027c61bcd44d08df3918e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 28 05:43:39 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 28 05:55:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7bb83b6

dev-python/requests-mock: Bump to 1.12.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.12.0.ebuild  | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index e8bda4a814bd..04f30c1c24c8 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1 +1,2 @@
 DIST requests-mock-1.11.0.tar.gz 74377 BLAKE2B 
f871bbd18b42668d9eb693b807a67a33c9fb7c4316966ad2c16800bf562be982c737e1c1a803e3c5b6d3cde8c3d789671b5fce7d54df308dc55b2ef73a641ff4
 SHA512 
8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961
+DIST requests-mock-1.12.0.tar.gz 60874 BLAKE2B 
53e0cf6cf25dbfec87e913a9f85c9ad0757e3b071e4c1d66a31810283cd0332a0a8b8317a9da433a2b36f629ff52808a82993126a5f7a9d138c47099072329a3
 SHA512 
1bc07b5fa90752d73e05de7147f891600fce3041f6b9aaf3ad6be87532b314543340d94087e834801761a7f3aefb0bb1e1bdb717c11b90b940cccf37b2982164

diff --git a/dev-python/requests-mock/requests-mock-1.12.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
new file mode 100644
index ..a0e17f881c2f
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="
+   https://github.com/jamielennox/requests-mock/
+   https://pypi.org/project/requests-mock/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.22[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/requests-futures[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   -i tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/

2024-03-22 Thread Michał Górny
commit: 3d3836bc95997a9bab4d7404cc518150df0d526f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 06:24:05 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 06:41:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d3836bc

dev-python/requests-oauthlib: Bump to 2.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-oauthlib/Manifest  |  1 +
 .../requests-oauthlib-2.0.0.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/requests-oauthlib/Manifest 
b/dev-python/requests-oauthlib/Manifest
index 95bf581c0d54..c087d7c1f373 100644
--- a/dev-python/requests-oauthlib/Manifest
+++ b/dev-python/requests-oauthlib/Manifest
@@ -1,2 +1,3 @@
 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
+DIST requests-oauthlib-2.0.0.gh.tar.gz 51357 BLAKE2B 
1c1c8c2295f1bce2cb1da1c2fdd899004dfac2dc53956ebcd4affb9fcc6c11047545dec0b96311755d041694c07dcfccaff7ae479ecf7aaaf5ebcfb64665a76a
 SHA512 
15d353da1422ce6f826b5cb3b26afeb597da4b1f0ffdf797f9cba75be4d8bbf00321dd697c1e368f6a8aeb92c57566725c745969fa7e8d60f690f79da13db867

diff --git a/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild 
b/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild
new file mode 100644
index ..fbe6ef8d3352
--- /dev/null
+++ b/dev-python/requests-oauthlib/requests-oauthlib-2.0.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_{10..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/

2024-03-22 Thread Michał Górny
commit: 4d27e8cd6609ca1d5bc24afd3a421459a8ef1712
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 06:24:24 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 06:41:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d27e8cd

dev-python/requests-oauthlib: 1.4.0 was yanked and remade as 2.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-oauthlib/Manifest  |  1 -
 .../requests-oauthlib-1.4.0.ebuild | 50 --
 2 files changed, 51 deletions(-)

diff --git a/dev-python/requests-oauthlib/Manifest 
b/dev-python/requests-oauthlib/Manifest
index c087d7c1f373..1c68968f5ece 100644
--- a/dev-python/requests-oauthlib/Manifest
+++ b/dev-python/requests-oauthlib/Manifest
@@ -1,3 +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
 DIST requests-oauthlib-2.0.0.gh.tar.gz 51357 BLAKE2B 
1c1c8c2295f1bce2cb1da1c2fdd899004dfac2dc53956ebcd4affb9fcc6c11047545dec0b96311755d041694c07dcfccaff7ae479ecf7aaaf5ebcfb64665a76a
 SHA512 
15d353da1422ce6f826b5cb3b26afeb597da4b1f0ffdf797f9cba75be4d8bbf00321dd697c1e368f6a8aeb92c57566725c745969fa7e8d60f690f79da13db867

diff --git a/dev-python/requests-oauthlib/requests-oauthlib-1.4.0.ebuild 
b/dev-python/requests-oauthlib/requests-oauthlib-1.4.0.ebuild
deleted file mode 100644
index fbe6ef8d3352..
--- a/dev-python/requests-oauthlib/requests-oauthlib-1.4.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# 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_{10..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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/

2024-03-11 Thread Michał Górny
commit: 2c54e46af31bb80974e686d89786175235d43b37
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar 12 04:56:14 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar 12 05:08:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c54e46a

dev-python/requests-oauthlib: Bump to 1.4.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-oauthlib/Manifest  |  1 +
 .../requests-oauthlib-1.4.0.ebuild | 50 ++
 2 files changed, 51 insertions(+)

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 ..fbe6ef8d3352
--- /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_{10..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2024-03-07 Thread Michał Górny
commit: 032a691e7e243bcad2eab2dd1ac1d6c57f973ec0
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar  7 16:24:15 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar  7 16:24:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032a691e

dev-python/requests-cache: Fix variable order

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/requests-cache-1.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.2.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.2.0.ebuild
index c38e15aa5a73..cd7fa8425059 100644
--- a/dev-python/requests-cache/requests-cache-1.2.0.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.2.0.ebuild
@@ -9,11 +9,11 @@ PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1 optfeature
 
+DESCRIPTION="Persistent cache for requests library"
 HOMEPAGE="
https://pypi.org/project/requests-cache/
https://github.com/requests-cache/requests-cache/
 "
-DESCRIPTION="Persistent cache for requests library"
 SRC_URI="
https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2024-03-07 Thread Michał Górny
commit: ff08975682be996a08b18d05045dccc288dadad1
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar  7 16:22:50 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar  7 16:22:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff089756

dev-python/requests-cache: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/Manifest |  1 -
 .../requests-cache/requests-cache-1.1.1.ebuild | 92 --
 2 files changed, 93 deletions(-)

diff --git a/dev-python/requests-cache/Manifest 
b/dev-python/requests-cache/Manifest
index 75355cf16a77..0a170bdc4a9b 100644
--- a/dev-python/requests-cache/Manifest
+++ b/dev-python/requests-cache/Manifest
@@ -1,2 +1 @@
-DIST requests-cache-1.1.1.gh.tar.gz 2927360 BLAKE2B 
2db8b71d4f219f2b61e4477a57af9dee09783ea47e86dfcc7b7726acb2507043186433ee6a9f67162c0a01c5f1439fd52ea9b74b89daa94cbe351341ef6b1f53
 SHA512 
99782fe635daa0834709b254b0d51c5d2b2ad37d26201acdc143f963b613bb6b4e5863e2246a2bf9d099c773e229157a983b04a40740e6207e2c356dc48bdba6
 DIST requests-cache-1.2.0.gh.tar.gz 3057187 BLAKE2B 
135d39d8fac1e123c71b07b30002b980b5fdcdb586cafb310f8f72e865cdc97f62b699cd981068207c6f020deef595469801d440cf5034566e9618385d569437
 SHA512 
b198d282cfd656c432d3a63f4d615191ac1ff97c9563e9bd6945e7a78444601108beb47a0f4a79740c7bd6942c3753f025cd52457e87ece7964229799bbb8fa1

diff --git a/dev-python/requests-cache/requests-cache-1.1.1.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.1.ebuild
deleted file mode 100644
index 49a50a7aedeb..
--- a/dev-python/requests-cache/requests-cache-1.1.1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1 optfeature
-
-HOMEPAGE="
-   https://pypi.org/project/requests-cache/
-   https://github.com/requests-cache/requests-cache/
-"
-DESCRIPTION="Persistent cache for requests library"
-SRC_URI="
-   https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
-
-RDEPEND="
-   dev-python/attrs[${PYTHON_USEDEP}]
-   >=dev-python/cattrs-22.2[${PYTHON_USEDEP}]
-   >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-   dev-python/urllib3[${PYTHON_USEDEP}]
-   >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/itsdangerous[${PYTHON_USEDEP}]
-   dev-python/pytest-httpbin[${PYTHON_USEDEP}]
-   dev-python/requests-mock[${PYTHON_USEDEP}]
-   dev-python/responses[${PYTHON_USEDEP}]
-   >=dev-python/rich-10.0[${PYTHON_USEDEP}]
-   dev-python/timeout-decorator[${PYTHON_USEDEP}]
-   >=dev-python/ujson-5.4[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/time-machine[${PYTHON_USEDEP}]
-   ' 'python*')
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # These require extra servers running
-   tests/integration/test_dynamodb.py
-   tests/integration/test_gridfs.py
-   tests/integration/test_mongodb.py
-   tests/integration/test_redis.py
-   )
-   local EPYTEST_DESELECT=(
-   # Requires Internet access
-   tests/integration/test_upgrade.py::test_version_upgrade
-   )
-
-   case ${EPYTHON} in
-   pypy3)
-   EPYTEST_DESELECT+=(
-   # "database is locked", upstream probably 
relies on GC
-   # too much
-   tests/integration/test_sqlite.py
-   )
-   ;;
-   python3.12)
-   # 
https://github.com/requests-cache/requests-cache/issues/845
-   EPYTEST_DESELECT+=(
-   
tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read
-   
tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency
-   )
-   ;;
-   esac
-
-   local -x USE_PYTEST_HTTPBIN=true
-   epytest
-}
-
-pkg_postinst() {
-   optfeature "redis backend" "dev-python/redis"
-   optfeature "MongoDB backend" "dev-python/pymongo"
-
-   optfeature "JSON serialization" "dev-python/ujson"
-   optfeature "YAML serialization" "dev-python/pyyaml"
-   optfeature "signing serialized data" "dev-python/itsdangerous"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2024-03-07 Thread Michał Górny
commit: 4862a2cbe5b3bec421c08a79eb5c313a8cd2
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar  7 16:22:21 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar  7 16:22:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4862a2cb

dev-python/requests-cache: Stabilize 1.2.0 ALLARCHES, #926385

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/requests-cache-1.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.2.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.2.0.ebuild
index e6f048116b96..c38e15aa5a73 100644
--- a/dev-python/requests-cache/requests-cache-1.2.0.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.2.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2024-02-17 Thread Michał Górny
commit: 9c4d6bfb83b2ff676c9ae20b5228680303dd3735
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 18 03:32:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 18 03:32:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c4d6bfb

dev-python/requests-cache: Bump to 1.2.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/Manifest |  1 +
 .../requests-cache/requests-cache-1.2.0.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/dev-python/requests-cache/Manifest 
b/dev-python/requests-cache/Manifest
index 7b1ca6f42075..75355cf16a77 100644
--- a/dev-python/requests-cache/Manifest
+++ b/dev-python/requests-cache/Manifest
@@ -1 +1,2 @@
 DIST requests-cache-1.1.1.gh.tar.gz 2927360 BLAKE2B 
2db8b71d4f219f2b61e4477a57af9dee09783ea47e86dfcc7b7726acb2507043186433ee6a9f67162c0a01c5f1439fd52ea9b74b89daa94cbe351341ef6b1f53
 SHA512 
99782fe635daa0834709b254b0d51c5d2b2ad37d26201acdc143f963b613bb6b4e5863e2246a2bf9d099c773e229157a983b04a40740e6207e2c356dc48bdba6
+DIST requests-cache-1.2.0.gh.tar.gz 3057187 BLAKE2B 
135d39d8fac1e123c71b07b30002b980b5fdcdb586cafb310f8f72e865cdc97f62b699cd981068207c6f020deef595469801d440cf5034566e9618385d569437
 SHA512 
b198d282cfd656c432d3a63f4d615191ac1ff97c9563e9bd6945e7a78444601108beb47a0f4a79740c7bd6942c3753f025cd52457e87ece7964229799bbb8fa1

diff --git a/dev-python/requests-cache/requests-cache-1.2.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.2.0.ebuild
new file mode 100644
index ..e6f048116b96
--- /dev/null
+++ b/dev-python/requests-cache/requests-cache-1.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1 optfeature
+
+HOMEPAGE="
+   https://pypi.org/project/requests-cache/
+   https://github.com/requests-cache/requests-cache/
+"
+DESCRIPTION="Persistent cache for requests library"
+SRC_URI="
+   https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   dev-python/attrs[${PYTHON_USEDEP}]
+   >=dev-python/cattrs-22.2[${PYTHON_USEDEP}]
+   >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+   >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/itsdangerous[${PYTHON_USEDEP}]
+   dev-python/pytest-httpbin[${PYTHON_USEDEP}]
+   dev-python/requests-mock[${PYTHON_USEDEP}]
+   dev-python/responses[${PYTHON_USEDEP}]
+   >=dev-python/rich-10.0[${PYTHON_USEDEP}]
+   dev-python/timeout-decorator[${PYTHON_USEDEP}]
+   >=dev-python/ujson-5.4[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/time-machine[${PYTHON_USEDEP}]
+   ' 'python*')
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # These require extra servers running
+   tests/integration/test_dynamodb.py
+   tests/integration/test_gridfs.py
+   tests/integration/test_mongodb.py
+   tests/integration/test_redis.py
+   )
+   local EPYTEST_DESELECT=(
+   # Requires Internet access
+   tests/integration/test_upgrade.py::test_version_upgrade
+   )
+
+   case ${EPYTHON} in
+   pypy3)
+   EPYTEST_DESELECT+=(
+   # "database is locked", upstream probably 
relies on GC
+   # too much
+   tests/integration/test_sqlite.py
+   )
+   ;;
+   python3.12)
+   # 
https://github.com/requests-cache/requests-cache/issues/845
+   EPYTEST_DESELECT+=(
+   
tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read
+   
tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency
+   )
+   ;;
+   esac
+
+   local -x USE_PYTEST_HTTPBIN=true
+   epytest
+}
+
+pkg_postinst() {
+   optfeature "redis backend" "dev-python/redis"
+   optfeature "MongoDB backend" "dev-python/pymongo"
+
+   optfeature "JSON serialization" "dev-python/ujson"
+   optfeature "YAML serialization" "dev-python/pyyaml"
+   optfeature "signing serialized data" "dev-python/itsdangerous"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2024-02-14 Thread Michał Górny
commit: 2d571a7cc4b816f30636865c4736d836c1a83b3c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 14 12:29:16 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 14 12:29:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d571a7c

dev-python/requests-file: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-file/Manifest  |  1 -
 .../requests-file/requests-file-1.5.1-r2.ebuild| 24 --
 2 files changed, 25 deletions(-)

diff --git a/dev-python/requests-file/Manifest 
b/dev-python/requests-file/Manifest
index d74d05c5ee50..141f77dffa6e 100644
--- a/dev-python/requests-file/Manifest
+++ b/dev-python/requests-file/Manifest
@@ -1,2 +1 @@
-DIST requests-file-1.5.1.tar.gz 5668 BLAKE2B 
4060ab3728e32d87252d1bb25e310937dad0a6e790a9633f8932d45c1d791343ea6813509d15a24c9787736ef6b9992d236b06a504efce6c3d5fcfc04176ae87
 SHA512 
e671bba8de63d3fa5665f928734f1a152d95ac9973c99f3a09d2dcbb9c9c16334c54a4f0824a5ebe63e262a4cc5d4990f08244ff0b84af11fa475dd416b1e2bc
 DIST requests-file-2.0.0.tar.gz 6863 BLAKE2B 
845c8b468131f5958c2e648553aaba5e2a9da9942b333dcf3eb9c70dad3941945f0d63d65747c6ec1bb9f2c3e7ce9665738665bf76a691b85048d99ff9ef
 SHA512 
d37a35d50a2d5f688e431c15c55bfd789c23e50445d94abedfbe75c9ccd825142850dc2ea7e9426c3fa1ca8e4aaaf0a230f5f6921d3c42d157ac95d7e7352b70

diff --git a/dev-python/requests-file/requests-file-1.5.1-r2.ebuild 
b/dev-python/requests-file/requests-file-1.5.1-r2.ebuild
deleted file mode 100644
index 563a150aeb38..
--- a/dev-python/requests-file/requests-file-1.5.1-r2.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="File transport adapter for Requests"
-HOMEPAGE="https://pypi.org/project/requests-file/";
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~loong x86"
-
-RDEPEND="
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2024-02-14 Thread Michał Górny
commit: c62b34050e1ddc07db26dda5031c1fc9286ab50a
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 14 12:25:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 14 12:26:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62b3405

dev-python/requests-file: Stabilize 2.0.0 ALLARCHES, #924528

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-file/requests-file-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-file/requests-file-2.0.0.ebuild 
b/dev-python/requests-file/requests-file-2.0.0.ebuild
index ee1a3f196dce..af2d9d305503 100644
--- a/dev-python/requests-file/requests-file-2.0.0.ebuild
+++ b/dev-python/requests-file/requests-file-2.0.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~x86"
+KEYWORDS="amd64 arm64 ~loong x86"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2024-01-29 Thread Michał Górny
commit: 9ef0fcff4e33daf8089ee9b40059b0fabddc7db9
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 30 03:47:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 30 04:06:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ef0fcff

dev-python/requests-file: Bump to 2.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-file/Manifest  |  1 +
 .../requests-file/requests-file-2.0.0.ebuild   | 29 ++
 2 files changed, 30 insertions(+)

diff --git a/dev-python/requests-file/Manifest 
b/dev-python/requests-file/Manifest
index 7c5624459d5d..d74d05c5ee50 100644
--- a/dev-python/requests-file/Manifest
+++ b/dev-python/requests-file/Manifest
@@ -1 +1,2 @@
 DIST requests-file-1.5.1.tar.gz 5668 BLAKE2B 
4060ab3728e32d87252d1bb25e310937dad0a6e790a9633f8932d45c1d791343ea6813509d15a24c9787736ef6b9992d236b06a504efce6c3d5fcfc04176ae87
 SHA512 
e671bba8de63d3fa5665f928734f1a152d95ac9973c99f3a09d2dcbb9c9c16334c54a4f0824a5ebe63e262a4cc5d4990f08244ff0b84af11fa475dd416b1e2bc
+DIST requests-file-2.0.0.tar.gz 6863 BLAKE2B 
845c8b468131f5958c2e648553aaba5e2a9da9942b333dcf3eb9c70dad3941945f0d63d65747c6ec1bb9f2c3e7ce9665738665bf76a691b85048d99ff9ef
 SHA512 
d37a35d50a2d5f688e431c15c55bfd789c23e50445d94abedfbe75c9ccd825142850dc2ea7e9426c3fa1ca8e4aaaf0a230f5f6921d3c42d157ac95d7e7352b70

diff --git a/dev-python/requests-file/requests-file-2.0.0.ebuild 
b/dev-python/requests-file/requests-file-2.0.0.ebuild
new file mode 100644
index ..ee1a3f196dce
--- /dev/null
+++ b/dev-python/requests-file/requests-file-2.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="File transport adapter for Requests"
+HOMEPAGE="
+   https://github.com/dashea/requests-file/
+   https://pypi.org/project/requests-file/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~x86"
+
+RDEPEND="
+   dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2023-12-09 Thread Michał Górny
commit: 1b243e45b8e8a2e9587c7a56a60ba86b3cd03ed7
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:03:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:03:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b243e45

dev-python/requests-cache: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/Manifest |  1 -
 .../requests-cache/requests-cache-1.1.0.ebuild | 85 --
 2 files changed, 86 deletions(-)

diff --git a/dev-python/requests-cache/Manifest 
b/dev-python/requests-cache/Manifest
index 830fe161ad1a..7b1ca6f42075 100644
--- a/dev-python/requests-cache/Manifest
+++ b/dev-python/requests-cache/Manifest
@@ -1,2 +1 @@
-DIST requests-cache-1.1.0.gh.tar.gz 2918734 BLAKE2B 
4f420a607631568b40999a904598504e0917f50f33715d1d041e0c11dc196abc88cf96ed57860632a1e1f1fb74f3fcabde3df6096821dc0a0967aabca868f7ad
 SHA512 
8fa9fdf4f47d67a6ad877fc181e04378b4540b35cef200735caff14e4907519aa5de74acaf61c6588856d5c8b2f9529768250a8e5fe28962b7861daf2279bb94
 DIST requests-cache-1.1.1.gh.tar.gz 2927360 BLAKE2B 
2db8b71d4f219f2b61e4477a57af9dee09783ea47e86dfcc7b7726acb2507043186433ee6a9f67162c0a01c5f1439fd52ea9b74b89daa94cbe351341ef6b1f53
 SHA512 
99782fe635daa0834709b254b0d51c5d2b2ad37d26201acdc143f963b613bb6b4e5863e2246a2bf9d099c773e229157a983b04a40740e6207e2c356dc48bdba6

diff --git a/dev-python/requests-cache/requests-cache-1.1.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
deleted file mode 100644
index 8495284f8b9b..
--- a/dev-python/requests-cache/requests-cache-1.1.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..12} )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1 optfeature
-
-HOMEPAGE="
-   https://pypi.org/project/requests-cache/
-   https://github.com/requests-cache/requests-cache/
-"
-DESCRIPTION="Persistent cache for requests library"
-SRC_URI="
-   https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
-
-RDEPEND="
-   dev-python/attrs[${PYTHON_USEDEP}]
-   >=dev-python/cattrs-22.2[${PYTHON_USEDEP}]
-   >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-   dev-python/urllib3[${PYTHON_USEDEP}]
-   >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/itsdangerous[${PYTHON_USEDEP}]
-   dev-python/pytest-httpbin[${PYTHON_USEDEP}]
-   dev-python/requests-mock[${PYTHON_USEDEP}]
-   dev-python/responses[${PYTHON_USEDEP}]
-   >=dev-python/rich-10.0[${PYTHON_USEDEP}]
-   dev-python/timeout-decorator[${PYTHON_USEDEP}]
-   >=dev-python/ujson-5.4[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/time-machine[${PYTHON_USEDEP}]
-   ' 'python*')
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # These require extra servers running
-   tests/integration/test_dynamodb.py
-   tests/integration/test_gridfs.py
-   tests/integration/test_mongodb.py
-   tests/integration/test_redis.py
-   )
-   local EPYTEST_DESELECT=(
-   # Requires Internet access
-   tests/integration/test_upgrade.py::test_version_upgrade
-   )
-
-   case ${EPYTHON} in
-   python3.12)
-   # 
https://github.com/requests-cache/requests-cache/issues/845
-   EPYTEST_DESELECT+=(
-   
tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read
-   
tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency
-   )
-   ;;
-   esac
-
-   local -x USE_PYTEST_HTTPBIN=true
-   epytest
-}
-
-pkg_postinst() {
-   optfeature "redis backend" "dev-python/redis"
-   optfeature "MongoDB backend" "dev-python/pymongo"
-
-   optfeature "JSON serialization" "dev-python/ujson"
-   optfeature "YAML serialization" "dev-python/pyyaml"
-   optfeature "signing serialized data" "dev-python/itsdangerous"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2023-12-09 Thread Michał Górny
commit: 8cc9bd731e222bd1a95b9395e4a07477f939293c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:00:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:00:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cc9bd73

dev-python/requests-cache: Stabilize 1.1.1 ALLARCHES, #919557

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/requests-cache-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.1.1.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.1.ebuild
index 605e560b1a0b..49a50a7aedeb 100644
--- a/dev-python/requests-cache/requests-cache-1.1.1.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.1.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-ntlm/

2023-11-24 Thread Michał Górny
commit: a91c89d0d3eed5537b3a83b53b74092f307904ac
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 24 16:02:52 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 24 16:02:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91c89d0

dev-python/requests-ntlm: Stabilize 1.2.0 arm64, #918349

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild 
b/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild
index e06ce219dc2f..3371dfd99302 100644
--- a/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild
+++ b/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 SLOT="0"
 LICENSE="ISC"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~riscv ~x86"
 
 RDEPEND="
>=dev-python/cryptography-1.3[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-credssp/

2023-11-24 Thread Arthur Zamarin
commit: 6d3c7d1869b0ca7cc7ef28ae9b87de0ca17b8d6f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 24 15:55:40 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 24 15:55:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3c7d18

dev-python/requests-credssp: Stabilize 2.0.0 arm64, #918348

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-credssp/requests-credssp-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild 
b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
index a4b20007ea90..5aec141b3f9b 100644
--- a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
+++ b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv"
+KEYWORDS="amd64 arm64 ~riscv"
 
 RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2023-11-24 Thread Michał Górny
commit: 1ccfcad63dfab8f916889229564fd1d6ec782ae3
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 24 15:29:19 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 24 15:29:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ccfcad6

dev-python/requests-file: Stabilize 1.5.1-r2 arm64, #918366

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-file/requests-file-1.5.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-file/requests-file-1.5.1-r2.ebuild 
b/dev-python/requests-file/requests-file-1.5.1-r2.ebuild
index 09ef94cff243..563a150aeb38 100644
--- a/dev-python/requests-file/requests-file-1.5.1-r2.ebuild
+++ b/dev-python/requests-file/requests-file-1.5.1-r2.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://pypi.org/project/requests-file/";
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~loong x86"
+KEYWORDS="amd64 arm64 ~loong x86"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-oauthlib/

2023-11-24 Thread Michał Górny
commit: b164f8a9fdb6fced68b55169a075e38591f7970b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 24 15:24:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 24 15:24:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b164f8a9

dev-python/requests-oauthlib: Stabilize 1.3.1 arm64, #918393

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild 
b/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild
index ca68ccb6b4c7..f51383ed752c 100644
--- a/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild
+++ b/dev-python/requests-oauthlib/requests-oauthlib-1.3.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="ISC"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-credssp/

2023-11-23 Thread Michał Górny
commit: 8511379aa1df2c982aa81fd96c6ff6fe7a056214
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 23 18:52:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 23 18:52:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8511379a

dev-python/requests-credssp: Keyword 2.0.0 arm64, #917838

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-credssp/requests-credssp-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild 
b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
index f42c784454fe..a4b20007ea90 100644
--- a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
+++ b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~riscv"
 
 RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-wsgi-adapter/

2023-11-23 Thread Arthur Zamarin
commit: 7aabaca0f4f0b581bad1a7c2d1f9f4118efe5d10
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov 23 16:50:15 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov 23 16:50:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aabaca0

dev-python/requests-wsgi-adapter: Keyword 0.4.1 arm64, #917969

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild 
b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
index 9edd29bda551..9f4b3da43524 100644
--- a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
+++ b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/${PN}-${COMMIT_HASH}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2023-11-20 Thread Michał Górny
commit: a3b159b15a7644828c52885dbef8ca904861174a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Nov 20 16:49:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Nov 20 16:49:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b159b1

dev-python/requests-cache: Enable pypy3

Sponsored-by: Ex Makhina, Inc.  exmakhina.com>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/requests-cache-1.1.1.ebuild | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.1.1.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.1.ebuild
index b5f675e3aaba..605e560b1a0b 100644
--- a/dev-python/requests-cache/requests-cache-1.1.1.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.1.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
 PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1 optfeature
@@ -62,6 +62,13 @@ python_test() {
)
 
case ${EPYTHON} in
+   pypy3)
+   EPYTEST_DESELECT+=(
+   # "database is locked", upstream probably 
relies on GC
+   # too much
+   tests/integration/test_sqlite.py
+   )
+   ;;
python3.12)
# 
https://github.com/requests-cache/requests-cache/issues/845
EPYTEST_DESELECT+=(



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2023-11-19 Thread Michał Górny
commit: 5fd85ec13abeed01b8f728e17d597d41a9940f97
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 19 14:42:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 19 16:01:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fd85ec1

dev-python/requests-cache: Bump to 1.1.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/Manifest |  1 +
 .../requests-cache/requests-cache-1.1.1.ebuild | 85 ++
 2 files changed, 86 insertions(+)

diff --git a/dev-python/requests-cache/Manifest 
b/dev-python/requests-cache/Manifest
index 462156bb6e08..830fe161ad1a 100644
--- a/dev-python/requests-cache/Manifest
+++ b/dev-python/requests-cache/Manifest
@@ -1 +1,2 @@
 DIST requests-cache-1.1.0.gh.tar.gz 2918734 BLAKE2B 
4f420a607631568b40999a904598504e0917f50f33715d1d041e0c11dc196abc88cf96ed57860632a1e1f1fb74f3fcabde3df6096821dc0a0967aabca868f7ad
 SHA512 
8fa9fdf4f47d67a6ad877fc181e04378b4540b35cef200735caff14e4907519aa5de74acaf61c6588856d5c8b2f9529768250a8e5fe28962b7861daf2279bb94
+DIST requests-cache-1.1.1.gh.tar.gz 2927360 BLAKE2B 
2db8b71d4f219f2b61e4477a57af9dee09783ea47e86dfcc7b7726acb2507043186433ee6a9f67162c0a01c5f1439fd52ea9b74b89daa94cbe351341ef6b1f53
 SHA512 
99782fe635daa0834709b254b0d51c5d2b2ad37d26201acdc143f963b613bb6b4e5863e2246a2bf9d099c773e229157a983b04a40740e6207e2c356dc48bdba6

diff --git a/dev-python/requests-cache/requests-cache-1.1.1.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.1.ebuild
new file mode 100644
index ..b5f675e3aaba
--- /dev/null
+++ b/dev-python/requests-cache/requests-cache-1.1.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1 optfeature
+
+HOMEPAGE="
+   https://pypi.org/project/requests-cache/
+   https://github.com/requests-cache/requests-cache/
+"
+DESCRIPTION="Persistent cache for requests library"
+SRC_URI="
+   https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   dev-python/attrs[${PYTHON_USEDEP}]
+   >=dev-python/cattrs-22.2[${PYTHON_USEDEP}]
+   >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+   >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/itsdangerous[${PYTHON_USEDEP}]
+   dev-python/pytest-httpbin[${PYTHON_USEDEP}]
+   dev-python/requests-mock[${PYTHON_USEDEP}]
+   dev-python/responses[${PYTHON_USEDEP}]
+   >=dev-python/rich-10.0[${PYTHON_USEDEP}]
+   dev-python/timeout-decorator[${PYTHON_USEDEP}]
+   >=dev-python/ujson-5.4[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/time-machine[${PYTHON_USEDEP}]
+   ' 'python*')
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # These require extra servers running
+   tests/integration/test_dynamodb.py
+   tests/integration/test_gridfs.py
+   tests/integration/test_mongodb.py
+   tests/integration/test_redis.py
+   )
+   local EPYTEST_DESELECT=(
+   # Requires Internet access
+   tests/integration/test_upgrade.py::test_version_upgrade
+   )
+
+   case ${EPYTHON} in
+   python3.12)
+   # 
https://github.com/requests-cache/requests-cache/issues/845
+   EPYTEST_DESELECT+=(
+   
tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read
+   
tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency
+   )
+   ;;
+   esac
+
+   local -x USE_PYTEST_HTTPBIN=true
+   epytest
+}
+
+pkg_postinst() {
+   optfeature "redis backend" "dev-python/redis"
+   optfeature "MongoDB backend" "dev-python/pymongo"
+
+   optfeature "JSON serialization" "dev-python/ujson"
+   optfeature "YAML serialization" "dev-python/pyyaml"
+   optfeature "signing serialized data" "dev-python/itsdangerous"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2023-10-24 Thread Michał Górny
commit: 658d1a8de47caf63d6ea3d2ce731b305a4bb48dd
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 24 17:28:02 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 24 17:51:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658d1a8d

dev-python/requests-cache: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-cache/requests-cache-1.1.0.ebuild | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.1.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
index 0b4386374d3e..8495284f8b9b 100644
--- a/dev-python/requests-cache/requests-cache-1.1.0.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1 optfeature
@@ -61,6 +61,16 @@ python_test() {
tests/integration/test_upgrade.py::test_version_upgrade
)
 
+   case ${EPYTHON} in
+   python3.12)
+   # 
https://github.com/requests-cache/requests-cache/issues/845
+   EPYTEST_DESELECT+=(
+   
tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read
+   
tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency
+   )
+   ;;
+   esac
+
local -x USE_PYTEST_HTTPBIN=true
epytest
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2023-10-13 Thread Arthur Zamarin
commit: 228adbc63f236c88bd806489ac00ed98c9e131da
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct 13 15:26:50 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct 13 15:26:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228adbc6

dev-python/requests-cache: Stabilize 1.1.0 arm64, #915685

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-cache/requests-cache-1.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.1.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
index 6a064be1d15d..0b4386374d3e 100644
--- a/dev-python/requests-cache/requests-cache-1.1.0.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~loong ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2023-10-06 Thread Arthur Zamarin
commit: 4e3527b539cd8d4b78d4b37d87ef3e3be2d4c478
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct  6 17:44:06 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct  6 17:44:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3527b5

dev-python/requests-cache: Stabilize 1.1.0 ppc64, #915283

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-cache/requests-cache-1.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.1.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
index d63dd86b18da..6a064be1d15d 100644
--- a/dev-python/requests-cache/requests-cache-1.1.0.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm ~arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2023-10-06 Thread Sam James
commit: a88681b9b818f2c812b814127aa1617b037e9dff
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct  6 14:51:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 14:51:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88681b9

dev-python/requests-cache: Stabilize 1.1.0 arm, #913776

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-cache/requests-cache-1.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.1.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
index 91e80a3dbae9..d63dd86b18da 100644
--- a/dev-python/requests-cache/requests-cache-1.1.0.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm ~arm64 ~loong ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-file/

2023-09-27 Thread WANG Xuerui
commit: d93328c62ae6ae2b1bc5840db27890733c51d403
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed Sep 27 16:48:24 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Sep 27 17:58:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d93328c6

dev-python/requests-file: keyword 1.5.1-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-python/requests-file/requests-file-1.5.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-file/requests-file-1.5.1-r2.ebuild 
b/dev-python/requests-file/requests-file-1.5.1-r2.ebuild
index 626108e9e12e..09ef94cff243 100644
--- a/dev-python/requests-file/requests-file-1.5.1-r2.ebuild
+++ b/dev-python/requests-file/requests-file-1.5.1-r2.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://pypi.org/project/requests-file/";
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~loong x86"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/

2023-09-09 Thread WANG Xuerui
commit: c3283781c6566ab45d2904008ada457aa2cbbbdf
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Sep 10 05:23:42 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Sep 10 05:26:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3283781

dev-python/requests-mock: keyword 1.11.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-python/requests-mock/requests-mock-1.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-1.11.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
index bdd79e4a4d3b..d253f36b86ee 100644
--- a/dev-python/requests-mock/requests-mock-1.11.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/

2023-09-09 Thread WANG Xuerui
commit: 0712b6f11feaa24c89a19079baeab8e37f464e4c
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Sep 10 05:23:44 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Sep 10 05:26:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0712b6f1

dev-python/requests-cache: keyword 1.1.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-python/requests-cache/requests-cache-1.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.1.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
index bd646603fa66..91e80a3dbae9 100644
--- a/dev-python/requests-cache/requests-cache-1.1.0.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-futures/

2023-09-09 Thread WANG Xuerui
commit: 8d487d0a6a193d366d8ff6fba9cdaf766ff051fd
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Sep 10 05:23:18 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Sep 10 05:26:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d487d0a

dev-python/requests-futures: keyword 1.0.1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-python/requests-futures/requests-futures-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-futures/requests-futures-1.0.1.ebuild 
b/dev-python/requests-futures/requests-futures-1.0.1.ebuild
index b81acaaeaec1..0d242c6357f9 100644
--- a/dev-python/requests-futures/requests-futures-1.0.1.ebuild
+++ b/dev-python/requests-futures/requests-futures-1.0.1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 RESTRICT="test"
 PROPERTIES="test_network"
 



  1   2   3   4   5   6   7   >