diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-12 02:01:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-12 02:01:24 +0000 |
commit | 39c32f4d5dca9f6293fccb69e9d50baf494c8de4 (patch) | |
tree | ec772fdf23a7279a60e9063b01c2dc909741a197 /dev-python/httpx-socks | |
parent | 494ca58c9f5243dd4b56557aa8c41bce76e95ec3 (diff) |
gentoo auto-resync : 12:12:2024 - 02:01:23
Diffstat (limited to 'dev-python/httpx-socks')
-rw-r--r-- | dev-python/httpx-socks/Manifest | 2 | ||||
-rw-r--r-- | dev-python/httpx-socks/httpx-socks-0.10.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/httpx-socks/Manifest b/dev-python/httpx-socks/Manifest index d1e2d7e04b49..2b8588b925af 100644 --- a/dev-python/httpx-socks/Manifest +++ b/dev-python/httpx-socks/Manifest @@ -1,3 +1,5 @@ +DIST httpx-socks-0.10.0.gh.tar.gz 15429 BLAKE2B fcc96ce3ca5a68a65d89a617ba832961a800d65d543a9f6edfa794fac03ecbb6b2f35364a58f584b4b44c96b4ffc137835f189e370ad1dfc1d373853de4856d3 SHA512 b8c513dece25b10b653a147b98bb8f173ead8c4200d67af96675e33a12e151e2f11368ebd12c35b96fe7fd94797db1a009cc86921d1f9defcd553bffa2f1f2d4 DIST httpx-socks-0.9.2.gh.tar.gz 15445 BLAKE2B 273380fc722780d090039aa74dd646ca3cd5dbc18d5ab3a030847fef0ad515f4ad171289d9cc125d1e8218b8e81a73c1b192caa2708238ed7ac288d3b2419c41 SHA512 41816f9dfa998b8a7e99ddc68d9e3473184fa44ecb08950234759dd9765496e92309852474d8688e392f6a25c4fcbeb7d6358b07bc574c68fd423e05bd052990 +EBUILD httpx-socks-0.10.0.ebuild 1364 BLAKE2B 8c83c9dc4a033e163a1f73557ed3627ab62cd0e5f07061efd6ea16e2cc71f4c3b5e254d8901d51e805f1ea16e521349ed90421650ef1f21eccd3b5136497bf96 SHA512 61adef837d701eb1a1025a2bd2d53a59796dad140d46954febfb3779330615da245ef06a123e52bb1ffd4589d41b3a87719fa8c973cd1816c78c31d84a313234 EBUILD httpx-socks-0.9.2.ebuild 1359 BLAKE2B d465f84d749549adb3ade1c59c93a9f19ec81cc2f84a4c9ea4bc1d515234902fcaa13b1da2dd5c39845e47a43fa679804b3f48cfb00cabc0caa5fd873f39aa91 SHA512 95359072a21925baf20fe015885463e122ad7f9efe9cf95f8f04398a2f1a9f3c3f4de2c2a271fb643e06f778f6ec720dd9a0a98b80c0e43c231ce01164654a92 MISC metadata.xml 400 BLAKE2B b244ebd9f79b1c3313797b0384339d17df61913473cd26ab01c8490fe02cbe735609dbd2b2d76e7b1b7f716bbb3038590517481a05c1b7886ad49905f171f5e3 SHA512 3cb1600426cdc5b9ec3bd5d18b547dedb961bbc341891293f828e70d5156d845c8676ba25244804d32c702fab40134c39237e5ce4fc518104a969a8f8ffb282f diff --git a/dev-python/httpx-socks/httpx-socks-0.10.0.ebuild b/dev-python/httpx-socks/httpx-socks-0.10.0.ebuild new file mode 100644 index 000000000000..9f2b3e94e1bc --- /dev/null +++ b/dev-python/httpx-socks/httpx-socks-0.10.0.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..13} ) + +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 +} |