aiohttp_socks: drop recipe. (#11893)

Nothing uses this on-tree, and apparetly nothing never ever did
(`git log -S aiohttp_socks` gives nothing).

Also... current version is missing a hard dependency for a package/module
that we do not provide: python-socks[asyncio]>=1.2.2
(newsest version upstream requiers: python-socks[asyncio]>=2.4.3,<3.0.0

Just drop this thing, and let whoever needs it install it via pip.
This commit is contained in:
OscarL
2025-03-11 15:09:55 -03:00
committed by GitHub
parent f3b262b328
commit 647d61f4dc

View File

@@ -1,60 +0,0 @@
SUMMARY="Proxy (HTTP, SOCKS) connector for aiohttp"
DESCRIPTION="Proxy connector for aiohttp. SOCKS4(a), SOCKS5, HTTP \
(tunneling), Proxy chains are supported."
HOMEPAGE="https://github.com/romis2012/aiohttp-socks"
COPYRIGHT="2018-2020 Santiago Torres"
LICENSE="Apache v2"
REVISION="3"
SOURCE_URI="https://github.com/romis2012/aiohttp-socks/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="7d3fc71f6c992d134cc1ebdfecb2cb2531a06fba529b38d8120a1085372563d6"
SOURCE_DIR="aiohttp-socks-$portVersion"
ARCHITECTURES="any"
PROVIDES="
$portName = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python39 python310)
PYTHON_VERSIONS=(3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
eval "PROVIDES_${pythonPackage}=\"\
${portName}_$pythonPackage = $portVersion\
\"; \
REQUIRES_$pythonPackage=\"\
haiku\n\
cmd:python$pythonVersion\
\""
BUILD_REQUIRES="$BUILD_REQUIRES
setuptools_$pythonPackage"
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:python$pythonVersion"
done
INSTALL()
{
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
python=python$pythonVersion
installLocation=$prefix/lib/$python/vendor-packages/
export PYTHONPATH=$installLocation:$PYTHONPATH
mkdir -p $installLocation
rm -rf build
$python setup.py build install \
--root=/ --prefix=$prefix
packageEntries $pythonPackage \
$prefix/lib/python*
done
}