From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC486158020 for ; Mon, 19 Dec 2022 15:03:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C52DFE0B0F; Mon, 19 Dec 2022 15:03:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85FB0E0B13 for ; Mon, 19 Dec 2022 15:03:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFF1934176E for ; Mon, 19 Dec 2022 15:03:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 026057D8 for ; Mon, 19 Dec 2022 15:03:34 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1671462206.b6052137fcd7551cc6d73ac4f66d1f0fbd63e272.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tiny-proxy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tiny-proxy/Manifest dev-python/tiny-proxy/metadata.xml dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild X-VCS-Directories: dev-python/tiny-proxy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b6052137fcd7551cc6d73ac4f66d1f0fbd63e272 X-VCS-Branch: master Date: Mon, 19 Dec 2022 15:03:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5157c33e-79f0-4545-a4c0-67a0cd3fe0c2 X-Archives-Hash: e9cff9844438c504959469edd846e3ca commit: b6052137fcd7551cc6d73ac4f66d1f0fbd63e272 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 19 14:57:43 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 19 15:03:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6052137 dev-python/tiny-proxy: New package, v0.1.1 New NIH test dep of dev-python/python-socks. Signed-off-by: Michał Górny gentoo.org> dev-python/tiny-proxy/Manifest | 1 + dev-python/tiny-proxy/metadata.xml | 13 +++++++++ dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild | 38 +++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) 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 @@ + + + + + python@gentoo.org + Python + + + + tiny-proxy + romis2012/tiny-proxy + + 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-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