commit:     7018e73e2bbf80ba0f0ca9e37f6989cb257a5246
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  8 02:59:29 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  8 03:25:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7018e73e

dev-python/httpx-socks: Bump to 0.10.1

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

 dev-python/httpx-socks/Manifest                  |  1 +
 dev-python/httpx-socks/httpx-socks-0.10.1.ebuild | 52 ++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/httpx-socks/Manifest b/dev-python/httpx-socks/Manifest
index dd284b97eaf5..03a0729a64aa 100644
--- a/dev-python/httpx-socks/Manifest
+++ b/dev-python/httpx-socks/Manifest
@@ -1 +1,2 @@
 DIST httpx-socks-0.10.0.gh.tar.gz 15429 BLAKE2B 
fcc96ce3ca5a68a65d89a617ba832961a800d65d543a9f6edfa794fac03ecbb6b2f35364a58f584b4b44c96b4ffc137835f189e370ad1dfc1d373853de4856d3
 SHA512 
b8c513dece25b10b653a147b98bb8f173ead8c4200d67af96675e33a12e151e2f11368ebd12c35b96fe7fd94797db1a009cc86921d1f9defcd553bffa2f1f2d4
+DIST httpx-socks-0.10.1.gh.tar.gz 15481 BLAKE2B 
a383b6de2b2d517c27fd202f880b51556f530bb16982d4d7d2d1b1e3f98457093b3131bb02f19599e818e85204de124689064bd9e440ac6cbcb7dd59bc5a1600
 SHA512 
2b8d4cbc2aba7366b486a8be5d07fa65f95cea1d61caa3a8536dc09eec9769b1833c1b383d9fdf175f11ca59e84222cacab0109d92fa13a7c706f1531824052a

diff --git a/dev-python/httpx-socks/httpx-socks-0.10.1.ebuild 
b/dev-python/httpx-socks/httpx-socks-0.10.1.ebuild
new file mode 100644
index 000000000000..e92acd49d2dc
--- /dev/null
+++ b/dev-python/httpx-socks/httpx-socks-0.10.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Proxy (HTTP, SOCKS) transports for httpx"
+HOMEPAGE="
+       https://github.com/romis2012/httpx-socks/
+       https://pypi.org/project/httpx-socks/
+"
+# no tests in sdist, as of 0.7.6
+SRC_URI="
+       https://github.com/romis2012/httpx-socks/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/httpx-0.28.0[${PYTHON_USEDEP}]
+       >=dev-python/httpcore-1.0[${PYTHON_USEDEP}]
+       >=dev-python/python-socks-2.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               >=dev-python/async-timeout-4.0.0[${PYTHON_USEDEP}]
+               >=dev-python/hypercorn-0.14.3[${PYTHON_USEDEP}]
+               >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}]
+               >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}]
+               >=dev-python/starlette-0.25.0[${PYTHON_USEDEP}]
+               >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}]
+               >=dev-python/trio-0.22.0[${PYTHON_USEDEP}]
+               >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}]
+               >=dev-python/yarl-1.6.3[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # unpin dependencies
+       sed -i -e 's:,<[0-9.]*::' setup.py || die
+
+       distutils-r1_src_prepare
+}

Reply via email to