diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-19 15:57:43 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-19 16:03:26 +0100 |
commit | b6052137fcd7551cc6d73ac4f66d1f0fbd63e272 (patch) | |
tree | 54536ea5ed9f25c3c986cc279260851656606225 /dev-python | |
parent | dev-python/httpx-socks: New package, v0.7.5 (diff) | |
download | gentoo-b6052137fcd7551cc6d73ac4f66d1f0fbd63e272.tar.gz gentoo-b6052137fcd7551cc6d73ac4f66d1f0fbd63e272.tar.bz2 gentoo-b6052137fcd7551cc6d73ac4f66d1f0fbd63e272.zip |
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>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/tiny-proxy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/tiny-proxy/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild | 38 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/tiny-proxy/Manifest b/dev-python/tiny-proxy/Manifest new file mode 100644 index 000000000000..4d9159acc16f --- /dev/null +++ b/dev-python/tiny-proxy/Manifest @@ -0,0 +1 @@ +DIST tiny-proxy-0.1.1.gh.tar.gz 14940 BLAKE2B eba17082bf832127c36468db37d9214e45d236c9c1fa7e357e05269df8671f4a06992e03224147642221220aeb89d91479332038e09bf1aa22ce1f0c0316ff20 SHA512 aaf677d18058e6c7c1133398e03d7b0d8b9b4e500fc89174bb3dda1145eb0382492b227f892f672d7a558a30f1d4b92b20eef62922e0e6983f93fcd17850d825 diff --git a/dev-python/tiny-proxy/metadata.xml b/dev-python/tiny-proxy/metadata.xml new file mode 100644 index 000000000000..8d3bfbf924c7 --- /dev/null +++ b/dev-python/tiny-proxy/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>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> diff --git a/dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild b/dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild new file mode 100644 index 000000000000..1a2af578ec39 --- /dev/null +++ b/dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild @@ -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 |