dev-python/tiny-proxy: New package, v0.1.1

New NIH test dep of dev-python/python-socks.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-12-19 15:57:43 +01:00
parent d65f4f8f9f
commit b6052137fc
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST tiny-proxy-0.1.1.gh.tar.gz 14940 BLAKE2B eba17082bf832127c36468db37d9214e45d236c9c1fa7e357e05269df8671f4a06992e03224147642221220aeb89d91479332038e09bf1aa22ce1f0c0316ff20 SHA512 aaf677d18058e6c7c1133398e03d7b0d8b9b4e500fc89174bb3dda1145eb0382492b227f892f672d7a558a30f1d4b92b20eef62922e0e6983f93fcd17850d825

View File

@@ -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>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">tiny-proxy</remote-id>
<remote-id type="github">romis2012/tiny-proxy</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,38 @@
# 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="Simple proxy server (SOCKS4(a), SOCKS5(h), HTTP tunnel)"
HOMEPAGE="
https://github.com/romis2012/tiny-proxy/
https://pypi.org/project/tiny-proxy/
"
SRC_URI="
https://github.com/romis2012/tiny-proxy/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
<dev-python/anyio-4.0.0[${PYTHON_USEDEP}]
>=dev-python/anyio-3.6.1[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/httpx-0.23.0[${PYTHON_USEDEP}]
>=dev-python/httpx-socks-0.7.4[${PYTHON_USEDEP}]
>=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}]
>=dev-python/trustme-0.9.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest