dev-python/pproxy: enable py3.11

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-03-05 14:29:19 +05:00
parent e2e10f839c
commit 83622a573d
2 changed files with 25 additions and 25 deletions

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 optfeature pypi
DESCRIPTION="TCP/UDP asynchronous tunnel proxy implemented in Python3 asyncio"
HOMEPAGE="
https://pypi.org/project/pproxy/
https://github.com/qwj/python-proxy
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
pkg_postinst() {
optfeature "ssh tunnelling support" dev-python/asyncssh
optfeature "accelerated ciphers support" "dev-python/pycryptodome dev-python/uvloop"
optfeature "daemon support" dev-python/python-daemon
}

View File

@@ -1,25 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1 optfeature
DESCRIPTION="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"
pkg_postinst() {
optfeature "ssh tunnelling" ">=dev-python/asyncssh-2.5.0"
optfeature "accelerated ciphers" ">=dev-python/pycryptodome-3.7.2 >=dev-python/uvloop-0.13.0"
optfeature "daemon" ">=dev-python/python-daemon-2.2.3"
}