diff options
Diffstat (limited to 'dev-python/websockify')
-rw-r--r-- | dev-python/websockify/Manifest | 2 | ||||
-rw-r--r-- | dev-python/websockify/websockify-0.11.0.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest index 161119363c72..9443d536177c 100644 --- a/dev-python/websockify/Manifest +++ b/dev-python/websockify/Manifest @@ -1,4 +1,6 @@ AUX websockify-0.10.0-fix-jwcrypto-1.3.patch 4944 BLAKE2B ec1c42458d09082b0f2c98abee8bc922e532571d2550dd0c28ca95331e9c3f5097aaef2394d72d4c89213e7c386b193897cc204fa304ad8de098eb3d8bbac1ce SHA512 f9df762236b961549bd8ee127d7363e1942a280a892676d82bd8e32d43434cb30efbcc15ef345a5a15ad9f08759861caf6f009a8afc98a15021126c8051b8da0 DIST websockify-0.10.0.gh.tar.gz 53402 BLAKE2B e909dc316d6dd0ee03ee23b07ca2d78cc60994a8f361b3968759c382c704637357848e903fb12af002b5d5b2bec957f9a4c2b0ddb0e6d008ff9b4a462f3e8871 SHA512 262071f4858e5e3b6471c6f3731d8715c5c13fcc5f43738a330323958a8f0cbe7797847bdc676f1c6c34055c6f8afb949d005a5607d6b220b893910ff973ddc5 +DIST websockify-0.11.0.gh.tar.gz 55126 BLAKE2B df49e8025ea0341b7f8d329a3b3dcddc08df3d0b42bbcb33d25726df8fee1f0a8791d552c9019a3ae514549619a0f3cc9c7861ff4f30017f27498f7465fd5d11 SHA512 cbae6abdee3c9ba6e78c2245fa7ebc4bd6aa96a534b8577da1ae9acd316dd146cece6ceb6f6cdca9c1ddcb3cbaff69e0fc3c3d6048b9374b0937abb91843bf72 EBUILD websockify-0.10.0-r2.ebuild 950 BLAKE2B d618297d5642824ae86bd2d8845caf7f1af4ce1cca70fbe53a39dc8ef58c7a59c30d2fc6af6881c1c612f29d7a4419d1fdac4916b1a098461de294ed56d01d74 SHA512 7ea33ccf3968497f8f81b4243764c8b769ad38417c9aa97c49a9d8a19392fb803362642833630773962573f02ba705f677800438745407522042d9af9d346ec4 +EBUILD websockify-0.11.0.ebuild 988 BLAKE2B fa949e84e9f82aaea38bd33818ee874514452508533e3569da89ed4600f7f04c6d5a244c392db86a8ad065bca360abe20f756bc057c743fc2fee9c9e1137cd66 SHA512 d994de69d938d358da34f37e6893c2af89b3ca661523ad0d10315e6d36878d4579fd0bf76c06f80ed1e34ffac4c387198fa1fb3225a173dcb26d9f2d70c806dd MISC metadata.xml 509 BLAKE2B 225c838d2cc6350daa72ef825bac2332db172d6790623b154a49d48fc71de06b2d4b0c732b297e93514b8b088f3b7a17fb5ade431afc28fd8893f2617a67e5e1 SHA512 c70bc93e2869fd4a85a8358ca3489d0d0e6f6d8355e616e8f5d62e2922af2d2cb415e354f91cb97a1e38633ab7bd955378f7a40fd71d5f3bb51411526d2a6c29 diff --git a/dev-python/websockify/websockify-0.11.0.ebuild b/dev-python/websockify/websockify-0.11.0.ebuild new file mode 100644 index 000000000000..4e4a5d7ab23e --- /dev/null +++ b/dev-python/websockify/websockify-0.11.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="WebSockets support for any application/server" +HOMEPAGE=" + https://github.com/novnc/websockify/ + https://pypi.org/project/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 ~riscv ~x86" + +RDEPEND=" + dev-python/jwcrypto[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/redis[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO: incompatible with current jwcrypto? (not a regression) + tests/test_token_plugins.py::JWSTokenTestCase::test_asymmetric_jwe_token_plugin +) + +python_install_all() { + doman docs/${PN}.1 + distutils-r1_python_install_all +} |