summaryrefslogtreecommitdiff
path: root/dev-python/httpx-socks
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-11 03:04:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-11 03:04:37 -0500
commitba90b749802640220d8dabc00ab63881741a230e (patch)
tree181a6ca9c09dc17e70de01dee8ffce26d60609e3 /dev-python/httpx-socks
parent1160c54c5acbfd332d8757e926627ae58c982459 (diff)
downloadbaldeagleos-repo-ba90b749802640220d8dabc00ab63881741a230e.tar.gz
baldeagleos-repo-ba90b749802640220d8dabc00ab63881741a230e.tar.xz
baldeagleos-repo-ba90b749802640220d8dabc00ab63881741a230e.zip
Adding metadata
Diffstat (limited to 'dev-python/httpx-socks')
-rw-r--r--dev-python/httpx-socks/Manifest1
-rw-r--r--dev-python/httpx-socks/httpx-socks-0.12.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/httpx-socks/Manifest b/dev-python/httpx-socks/Manifest
index de0d7d56bb5d..db04be655d35 100644
--- a/dev-python/httpx-socks/Manifest
+++ b/dev-python/httpx-socks/Manifest
@@ -1 +1,2 @@
DIST httpx-socks-0.11.0.gh.tar.gz 15579 BLAKE2B 33a4112f6f1d1d56869adfcfe79a538ce4fbe99cde44d400fdee93f256a9adf27ee97d22450ff685cad61c8df478b1eca1a3f3a7b804cd087b5bf5fbca3f20f7 SHA512 38b75fc2dd522d58639213ac7c135af7821ad53d3799a028bfd995f9a5e67a251a0d5255105e42790b78edb0450a336dc87fefb1dc67486b13d4271bd98d411e
+DIST httpx-socks-0.12.0.gh.tar.gz 15571 BLAKE2B b261fcc71b286964f4d9691a17bef0df3adad9857484fb2806155cea74fa2dd78258c0a3ac423d910d722bd0e83940bccc64f53b767a3130306d0e09bebdaa3a SHA512 40ce9b3609e4967356315f47b520567cacd072c137231632df61d845d5d17d7dc94895bdab93ec35473cdd244451c889761ee2a63854f11ba4c4bc73551995be
diff --git a/dev-python/httpx-socks/httpx-socks-0.12.0.ebuild b/dev-python/httpx-socks/httpx-socks-0.12.0.ebuild
new file mode 100644
index 000000000000..20428b735790
--- /dev/null
+++ b/dev-python/httpx-socks/httpx-socks-0.12.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..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.4.3[${PYTHON_USEDEP}]
+ >=dev-python/sniffio-1.1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/hypercorn-0.14.3[${PYTHON_USEDEP}]
+ >=dev-python/starlette-0.25.0[${PYTHON_USEDEP}]
+ >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}]
+ >=dev-python/trio-0.24[${PYTHON_USEDEP}]
+ >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}]
+ >=dev-python/yarl-1.6.3[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( anyio pytest-{asyncio,trio} )
+distutils_enable_tests pytest
+
+src_prepare() {
+ # unpin dependencies
+ sed -i -e 's:,<[0-9.]*::' pyproject.toml || die
+
+ distutils-r1_src_prepare
+}