commit: 4540ba5b6dc293825efc199479b4cddb19674800 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Thu Dec 3 19:19:50 2020 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Thu Dec 3 19:19:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4540ba5b
dev-python/pproxy: new package Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/pproxy/Manifest | 1 + dev-python/pproxy/metadata.xml | 36 +++++++++++++++++++++++++++++++++++ dev-python/pproxy/pproxy-2.4.6.ebuild | 29 ++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/dev-python/pproxy/Manifest b/dev-python/pproxy/Manifest new file mode 100644 index 00000000..117f75e5 --- /dev/null +++ b/dev-python/pproxy/Manifest @@ -0,0 +1 @@ +DIST pproxy-2.4.6.tar.gz 46410 BLAKE2B f7c4e973e205d3256e17cab23bb8745800c5c12592f15e52a303ad6f3063bc345257576c52edafab5da67b93cf289e5f4f25336e58e9a66ba7e90402031fdcff SHA512 72d5c781ee81556e10a3436f2fae6e541a7f0b7d5f354336d0b4d98b1a75c34e4ec4c9c9f88e3c7cff47fe4218bf6efb1a78588caa02e704900fe436708c5cba diff --git a/dev-python/pproxy/metadata.xml b/dev-python/pproxy/metadata.xml new file mode 100644 index 00000000..56df1b78 --- /dev/null +++ b/dev-python/pproxy/metadata.xml @@ -0,0 +1,36 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alessandro Barbieri</name> + </maintainer> + <longdescription lang="en"> +Features + +Lightweight single-thread asynchronous IO. +Pure python, no additional library required. +Proxy client/server for TCP/UDP. +Schedule (load balance) among remote servers. +Incoming traffic auto-detect. +Tunnel/relay/backward-relay support. +Unix domain socket support. +User/password authentication support. +Filter/block hostname by regex patterns. +SSL/TLS client/server support. +Shadowsocks OTA (One-Time-Auth), SSR plugins. +Statistics by bandwidth and traffic. +PAC support for javascript configuration. +Iptables/Pf NAT redirect packet tunnel. +System proxy auto-setting support. +Client/Server API provided. + </longdescription> + <upstream> + <remote-id type="github">qwj/python-proxy</remote-id> + <remote-id type="pypi">pproxy</remote-id> + <maintainer status="unknown"> + <email>[email protected]</email> + <name>Qian Wenjie</name> + </maintainer> + </upstream> +</pkgmetadata> diff --git a/dev-python/pproxy/pproxy-2.4.6.ebuild b/dev-python/pproxy/pproxy-2.4.6.ebuild new file mode 100644 index 00000000..7f1198d9 --- /dev/null +++ b/dev-python/pproxy/pproxy-2.4.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_7 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="HTTP/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python3 asyncio" +HOMEPAGE=" + https://github.com/qwj/python-proxy + https://pypi.org/project/pproxy +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="" +DEPEND="${RDEPEND}" + +pkg_postinst() { + optfeature "ssh tunnelling" ">=dev-python/asyncssh-1.16.0" + optfeature "accelerated ciphers" ">=dev-python/pycryptodome-3.7.2" + optfeatures "daemon" ">=dev-python/python-daemon-2.2.3" + optfeatures "accelerated cyphers" ">=dev-python/uvloop-0.13.0" +}
