commit: 01e79c20b1cdf4416d9a69ef57fcace0985e071e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Jul 22 21:14:38 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Jul 22 21:31:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e79c20
dev-python/websockify: Bump to 0.10.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/websockify/Manifest | 1 + dev-python/websockify/websockify-0.10.0.ebuild | 35 ++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest index 27a4d8adaea..4c95a1a0c84 100644 --- a/dev-python/websockify/Manifest +++ b/dev-python/websockify/Manifest @@ -1 +1,2 @@ +DIST websockify-0.10.0.gh.tar.gz 53402 BLAKE2B e909dc316d6dd0ee03ee23b07ca2d78cc60994a8f361b3968759c382c704637357848e903fb12af002b5d5b2bec957f9a4c2b0ddb0e6d008ff9b4a462f3e8871 SHA512 262071f4858e5e3b6471c6f3731d8715c5c13fcc5f43738a330323958a8f0cbe7797847bdc676f1c6c34055c6f8afb949d005a5607d6b220b893910ff973ddc5 DIST websockify-0.9.0.tar.gz 58493 BLAKE2B 622a36979ec083dd3ea747b43cd8fec0916f9eb6f1a2b8f9b7acabd38f41aec839b2101c5261fdf2474bc40ebbbef61c9ba51d2e57f749f1e1a1c46879fb5d65 SHA512 d2251f653a40dc6dca0e5541845565d968c60be96a20a9b70b0305c4b7578f7fe205d4b98a94bb77d7c9383a396833af90fe92a6ade7e1a6f2d9bf8513d372c8 diff --git a/dev-python/websockify/websockify-0.10.0.ebuild b/dev-python/websockify/websockify-0.10.0.ebuild new file mode 100644 index 00000000000..274232de46f --- /dev/null +++ b/dev-python/websockify/websockify-0.10.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="WebSockets support for any application/server" +HOMEPAGE="https://github.com/novnc/websockify" +SRC_URI=" + https://github.com/novnc/websockify/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/jwcrypto[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # TODO: incompatible with current jwcrypto? (not a regression) + tests/test_token_plugins.py::JWSTokenTestCase::test_asymmetric_jwe_token_plugin + ) + epytest ${deselect[@]/#/--deselect } +} + +python_install_all() { + doman docs/${PN}.1 + distutils-r1_python_install_all +}