commit:     ad680d91a079fe1403bbb4b1aa3731522104d502
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 06:15:48 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 07:06:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad680d91

dev-python/httpx-socks: Bump to 0.9.1

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

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

diff --git a/dev-python/httpx-socks/Manifest b/dev-python/httpx-socks/Manifest
index 13c592729f50..8a0d35d4c982 100644
--- a/dev-python/httpx-socks/Manifest
+++ b/dev-python/httpx-socks/Manifest
@@ -1,2 +1,3 @@
 DIST httpx-socks-0.8.1.gh.tar.gz 15289 BLAKE2B 
08a8431c5818ea653ea27a0dbc3de6708cb81a7129cda779e8c8cbe3d497ccdad0ed646faf06c5138f6c136a74d4c1b06e6e3920fc5362d471aa03372721cd33
 SHA512 
804e609826eff4c9e321440b657f3c96d688bf27a4e9a1fdd6b07a410f7f7671fef840403d2231a48b53133a8a4db9522f6c46467e78dc2443270fea4116d66e
 DIST httpx-socks-0.9.0.gh.tar.gz 15209 BLAKE2B 
44a4cd3d7f1f8c29578343a5237e04f2f331789ab3d2a89e254780ef4b6265d42678ae61a872205c4780312c49ece4a9d5351151979291da219098ea1be95f28
 SHA512 
313b6482d4afd49759f8e0208bc657eb21f7b0016acece2e2c4af4fa6f839e362ba5ccd4323d93c0fdc4751e9fe5a997ab751c2b5a7f0a2b263790df864f8e40
+DIST httpx-socks-0.9.1.gh.tar.gz 15210 BLAKE2B 
88f38797110227c4e4f01fea7e47c9403573c3c06f6bd644858a6ad4947d90dcbd33c03a0d30a91f227b0e3f341c249dcdef2b009065447e95579e561fee7f4b
 SHA512 
dec2a0eb2dbc692a7e45a2f0df3711057fdc50e7284985d234ed68b3af01372faaa532d070736a005eb49191d55927dc949e9297a6a471b89cf085ef38b56910

diff --git a/dev-python/httpx-socks/httpx-socks-0.9.1.ebuild 
b/dev-python/httpx-socks/httpx-socks-0.9.1.ebuild
new file mode 100644
index 000000000000..170927a7b9a2
--- /dev/null
+++ b/dev-python/httpx-socks/httpx-socks-0.9.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022-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} )
+
+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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/httpx-0.21.0[${PYTHON_USEDEP}]
+       >=dev-python/httpcore-0.17.3[${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