commit:     d65f4f8f9f5ba96637f59542b3f68290adadfded
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 19 14:52:34 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 15:03:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d65f4f8f

dev-python/httpx-socks: New package, v0.7.5

Dependency of tiny-proxy that is a new NIH test-dep
of dev-python/python-socks.

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

 dev-python/httpx-socks/Manifest                 |  1 +
 dev-python/httpx-socks/httpx-socks-0.7.5.ebuild | 43 +++++++++++++++++++++++++
 dev-python/httpx-socks/metadata.xml             | 13 ++++++++
 3 files changed, 57 insertions(+)

diff --git a/dev-python/httpx-socks/Manifest b/dev-python/httpx-socks/Manifest
new file mode 100644
index 000000000000..5846d3d30a62
--- /dev/null
+++ b/dev-python/httpx-socks/Manifest
@@ -0,0 +1 @@
+DIST httpx-socks-0.7.5.gh.tar.gz 24847 BLAKE2B 
9c119b756bf493df47a1bc9c36339508a2192d2bd4392113955fed6929d7c79654f17c069f9d952a11d8c95cf210cdf54af1bb59f47dc50b26b180f0915d3fe9
 SHA512 
df921af0c5fd0e8b4cb127cd13d5285ae57eb6ff9bc95f9422c02c79771ef55f345ef1618156fd0887467ed81cad2081ea9f2a56a03dc1d80948ed9eabe67aee

diff --git a/dev-python/httpx-socks/httpx-socks-0.7.5.ebuild 
b/dev-python/httpx-socks/httpx-socks-0.7.5.ebuild
new file mode 100644
index 000000000000..5fd874aa5b11
--- /dev/null
+++ b/dev-python/httpx-socks/httpx-socks-0.7.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Proxy (HTTP, SOCKS) transports for httpx"
+HOMEPAGE="
+       https://github.com/romis2012/httpx-socks/
+       https://pypi.org/project/httpx-socks/
+"
+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"
+
+RDEPEND="
+       <dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
+       >=dev-python/httpx-0.21.0[${PYTHON_USEDEP}]
+       <dev-python/httpcore-0.17.0[${PYTHON_USEDEP}]
+       >=dev-python/httpcore-0.14.0[${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

diff --git a/dev-python/httpx-socks/metadata.xml 
b/dev-python/httpx-socks/metadata.xml
new file mode 100644
index 000000000000..649fc743ec3a
--- /dev/null
+++ b/dev-python/httpx-socks/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Python</name>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="pypi">httpx-socks</remote-id>
+               <remote-id type="github">romis2012/httpx-socks</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to