dev-python/aiohttp-socks - 0.12.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/aiohttp-socks-0.12.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/aiohttp-socks-0.12.0

Or alternatively:

emerge --autounmask-write -a =dev-python/aiohttp-socks-0.12.0

Package Information

Description:
SOCKS proxy connector for aiohttp
Homepage:
https://pypi.org/project/aiohttp_socks/ https://github.com/romis2012/aiohttp-socks/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.12.0 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1

DESCRIPTION="SOCKS proxy connector for aiohttp"
HOMEPAGE="
	https://pypi.org/project/aiohttp_socks/
	https://github.com/romis2012/aiohttp-socks/
"
SRC_URI="
	https://github.com/romis2012/aiohttp-socks/archive/v${PV}.tar.gz
		-> ${P}.gh.tar.gz
"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

RDEPEND="
	>=dev-python/aiohttp-3.10.0[${PYTHON_USEDEP}]
	>=dev-python/python-socks-2.4.3[${PYTHON_USEDEP}]
"
BDEPEND="
	test? (
		dev-python/attrs[${PYTHON_USEDEP}]
		dev-python/flask[${PYTHON_USEDEP}]
		dev-python/starlette[${PYTHON_USEDEP}]
		dev-python/tiny-proxy[${PYTHON_USEDEP}]
		dev-python/trustme[${PYTHON_USEDEP}]
		dev-python/uvicorn[${PYTHON_USEDEP}]
		dev-python/yarl[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( anyio pytest-asyncio )
distutils_enable_tests pytest

src_prepare() {
	distutils-r1_src_prepare

	# unpin dependencies
	sed -i -e 's:,<[0-9.]*::g' pyproject.toml || die
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/aiohttp-3.10.0[]
	>=dev-python/python-socks-2.4.3[]

BDEPEND

	test? (
		dev-python/attrs[]
		dev-python/flask[]
		dev-python/starlette[]
		dev-python/tiny-proxy[]
		dev-python/trustme[]
		dev-python/uvicorn[]
		dev-python/yarl[]
	)

Manifest for 0.12.0

Type File Size Source URLs
DIST aiohttp-socks-0.12.0.gh.tar.gz 201569 bytes https://github.com/romis2012/aiohttp-socks/archive/v0.12.0.tar.gz