diff options
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.8.0.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/httpx-socks/Manifest b/dev-python/httpx-socks/Manifest index d7d375f536f8..90c86103bd10 100644 --- a/dev-python/httpx-socks/Manifest +++ b/dev-python/httpx-socks/Manifest @@ -1,3 +1,5 @@ DIST httpx-socks-0.7.8.gh.tar.gz 15129 BLAKE2B 8793e67efad2dc4a38f240d9b8710fe392545b20698c569ad00df31d9aa0a144426ebf714bca5960ce2ba73161eb361c1289173212752e712a0bfa022edb7a24 SHA512 f7d6877ee941c6bb4db84995d7debf36f7c793bd598f26281614a7988cc335ca6280c70b6b3a6450a2af358a011cdfc52255e7b1f34ac2e9c7bc93be6a945054 +DIST httpx-socks-0.8.0.gh.tar.gz 15285 BLAKE2B 1da3bffff2be273e62452d96c8e07f38cf3c488bb89704ab377565feecafc1f96e9b96b615dfca4c3721c295414005014f868982a440ed47f3454814545aa6c7 SHA512 f58555670bc689002633daf3cf373641cbab6417636d16e878d5f9fc796b8bf7111d7c6985909590ccaeedb95793f589676e7f36c217330cbf46b4778319a4b7 EBUILD httpx-socks-0.7.8.ebuild 1195 BLAKE2B eaec0b800cb06f87919384af637c076dd300cb1b29e458eb6657d8d1c266d87172cb5f318d70dbfa97e44029584c37e78447ea9de2f21ff37183b1d2217313b8 SHA512 d1b1828a3bd5e3dfc8e92e62a8074530cb5196d78183ef57a028d92e602fe5bc9d4c45e5c359cae4f7ef4105cb9fa5d6f9f806ce9cf443f4437f03535de38182 +EBUILD httpx-socks-0.8.0.ebuild 1198 BLAKE2B 0f23c6f465e210d7e8654dbe3ce3a898d8ff59ef3762a06a83f12d3c09e097153182a9403fdc8025b67d2c5f837c2570f5febeac57cecfba30c2815701125e8e SHA512 64e87590b8a7cad9707e967ceab56cd8b5da366f730ffcfc00578c9e8dc4d2bef37367569ef4daa3543ff6a0ae98852dfddcf36c2000784ca9fd0617db8c2dfb MISC metadata.xml 400 BLAKE2B b244ebd9f79b1c3313797b0384339d17df61913473cd26ab01c8490fe02cbe735609dbd2b2d76e7b1b7f716bbb3038590517481a05c1b7886ad49905f171f5e3 SHA512 3cb1600426cdc5b9ec3bd5d18b547dedb961bbc341891293f828e70d5156d845c8676ba25244804d32c702fab40134c39237e5ce4fc518104a969a8f8ffb282f diff --git a/dev-python/httpx-socks/httpx-socks-0.8.0.ebuild b/dev-python/httpx-socks/httpx-socks-0.8.0.ebuild new file mode 100644 index 000000000000..e1b7cec0f954 --- /dev/null +++ b/dev-python/httpx-socks/httpx-socks-0.8.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2023 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.26.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.21.0[${PYTHON_USEDEP}] + <dev-python/httpcore-2[${PYTHON_USEDEP}] + >=dev-python/httpcore-0.17.3[${PYTHON_USEDEP}] + >=dev-python/python-socks-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/hypercorn-0.12.0[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] + >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}] + >=dev-python/starlette-0.19.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.18.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.6.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest |