[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2024-06-18 Thread Michał Górny
commit: 4717b86bdc5e8a5490da0971e5b0c147ad3a6574
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 18 18:40:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 18 18:40:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4717b86b

dev-python/websockify: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/Manifest |  1 -
 dev-python/websockify/websockify-0.11.0.ebuild | 43 --
 2 files changed, 44 deletions(-)

diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest
index 1c4187492e4f..845351217bc0 100644
--- a/dev-python/websockify/Manifest
+++ b/dev-python/websockify/Manifest
@@ -1,2 +1 @@
-DIST websockify-0.11.0.gh.tar.gz 55126 BLAKE2B 
df49e8025ea0341b7f8d329a3b3dcddc08df3d0b42bbcb33d25726df8fee1f0a8791d552c9019a3ae514549619a0f3cc9c7861ff4f30017f27498f7465fd5d11
 SHA512 
cbae6abdee3c9ba6e78c2245fa7ebc4bd6aa96a534b8577da1ae9acd316dd146cece6ceb6f6cdca9c1ddcb3cbaff69e0fc3c3d6048b9374b0937abb91843bf72
 DIST websockify-0.12.0.gh.tar.gz 56839 BLAKE2B 
d330f534dd69c186b14b14c5f29d2b4f86c1fc444fa887c04b2b9eb2beed2ed0895db029acbcd84714ce2fd6da30cc306cef4c4bb836e31a31f10dbff6dc3abd
 SHA512 
616619a27b00af6621d9b2e3be415ff958fc226a08714302688b76690976805a22c120ff7f0eaca3d7f26fd5575971a96b5e27e5d20688c6edbb4eb84b896871

diff --git a/dev-python/websockify/websockify-0.11.0.ebuild 
b/dev-python/websockify/websockify-0.11.0.ebuild
deleted file mode 100644
index bb9339cab990..
--- a/dev-python/websockify/websockify-0.11.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2024-06-18 Thread Arthur Zamarin
commit: 396e59043667e5b06b70dbf92c070f0566226672
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 18 18:12:12 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 18 18:12:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=396e5904

dev-python/websockify: Stabilize 0.12.0 ALLARCHES, #934507

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/websockify/websockify-0.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.12.0.ebuild 
b/dev-python/websockify/websockify-0.12.0.ebuild
index de94555c9d7a..feb055a15b4a 100644
--- a/dev-python/websockify/websockify-0.12.0.ebuild
+++ b/dev-python/websockify/websockify-0.12.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~riscv x86"
 
 RDEPEND="
dev-python/jwcrypto[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2024-06-18 Thread Michał Górny
commit: 581bdac75949de6db47427345bbc35d9be3decb8
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 18 14:56:15 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 18 15:56:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=581bdac7

dev-python/websockify: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/websockify-0.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.12.0.ebuild 
b/dev-python/websockify/websockify-0.12.0.ebuild
index 5ca03c37fb19..de94555c9d7a 100644
--- a/dev-python/websockify/websockify-0.12.0.ebuild
+++ b/dev-python/websockify/websockify-0.12.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2024-06-03 Thread Michał Górny
commit: 767f77e083609b7feea866cee66697b22e396e7e
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun  3 15:44:10 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun  3 15:49:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=767f77e0

dev-python/websockify: Bump to 0.12.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/Manifest |  1 +
 dev-python/websockify/websockify-0.12.0.ebuild | 37 ++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest
index e92af3c83f31..1c4187492e4f 100644
--- a/dev-python/websockify/Manifest
+++ b/dev-python/websockify/Manifest
@@ -1 +1,2 @@
 DIST websockify-0.11.0.gh.tar.gz 55126 BLAKE2B 
df49e8025ea0341b7f8d329a3b3dcddc08df3d0b42bbcb33d25726df8fee1f0a8791d552c9019a3ae514549619a0f3cc9c7861ff4f30017f27498f7465fd5d11
 SHA512 
cbae6abdee3c9ba6e78c2245fa7ebc4bd6aa96a534b8577da1ae9acd316dd146cece6ceb6f6cdca9c1ddcb3cbaff69e0fc3c3d6048b9374b0937abb91843bf72
+DIST websockify-0.12.0.gh.tar.gz 56839 BLAKE2B 
d330f534dd69c186b14b14c5f29d2b4f86c1fc444fa887c04b2b9eb2beed2ed0895db029acbcd84714ce2fd6da30cc306cef4c4bb836e31a31f10dbff6dc3abd
 SHA512 
616619a27b00af6621d9b2e3be415ff958fc226a08714302688b76690976805a22c120ff7f0eaca3d7f26fd5575971a96b5e27e5d20688c6edbb4eb84b896871

diff --git a/dev-python/websockify/websockify-0.12.0.ebuild 
b/dev-python/websockify/websockify-0.12.0.ebuild
new file mode 100644
index ..5ca03c37fb19
--- /dev/null
+++ b/dev-python/websockify/websockify-0.12.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 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/redis[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_install_all() {
+   doman docs/${PN}.1
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2023-11-24 Thread Arthur Zamarin
commit: f7d0655df5e24d5650117993fe48f88ab6978bb7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 24 17:03:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 24 17:03:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d0655d

dev-python/websockify: Stabilize 0.11.0 arm64, #918398

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/websockify/websockify-0.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.11.0.ebuild 
b/dev-python/websockify/websockify-0.11.0.ebuild
index dad2f1bf3d20..bb9339cab990 100644
--- a/dev-python/websockify/websockify-0.11.0.ebuild
+++ b/dev-python/websockify/websockify-0.11.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv x86"
+KEYWORDS="amd64 arm64 ~riscv x86"
 
 RDEPEND="
dev-python/jwcrypto[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/, dev-python/websockify/files/

2023-09-25 Thread Michał Górny
commit: 0d6aae0932544a1b8586b96a0310fe0c5c101c59
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 25 18:51:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 25 18:51:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6aae09

dev-python/websockify: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/Manifest |   1 -
 .../files/websockify-0.10.0-fix-jwcrypto-1.3.patch | 114 -
 dev-python/websockify/websockify-0.10.0-r2.ebuild  |  48 -
 3 files changed, 163 deletions(-)

diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest
index 4234752f0452..e92af3c83f31 100644
--- a/dev-python/websockify/Manifest
+++ b/dev-python/websockify/Manifest
@@ -1,2 +1 @@
-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

diff --git 
a/dev-python/websockify/files/websockify-0.10.0-fix-jwcrypto-1.3.patch 
b/dev-python/websockify/files/websockify-0.10.0-fix-jwcrypto-1.3.patch
deleted file mode 100644
index 9da2cfe093dc..
--- a/dev-python/websockify/files/websockify-0.10.0-fix-jwcrypto-1.3.patch
+++ /dev/null
@@ -1,114 +0,0 @@
-From 0f175003480b666fba78a5eda8dbc1dee07917dd Mon Sep 17 00:00:00 2001
-From: Javier Cacheiro 
-Date: Wed, 25 May 2022 12:40:29 +0200
-Subject: [PATCH] Support for jwcrypto>=1.3
-

- tests/test_token_plugins.py | 20 ++--
- websockify/token_plugins.py |  4 ++--
- 2 files changed, 12 insertions(+), 12 deletions(-)
-
-diff --git a/tests/test_token_plugins.py b/tests/test_token_plugins.py
-index 00078c7..3e1fd19 100644
 a/tests/test_token_plugins.py
-+++ b/tests/test_token_plugins.py
-@@ -4,7 +4,7 @@
- 
- import unittest
- from unittest.mock import patch, mock_open, MagicMock
--from jwcrypto import jwt
-+from jwcrypto import jwt, jwk
- 
- from websockify.token_plugins import ReadOnlyTokenFile, JWTTokenApi, 
TokenRedis
- 
-@@ -56,7 +56,7 @@ class JWSTokenTestCase(unittest.TestCase):
- def test_asymmetric_jws_token_plugin(self):
- plugin = JWTTokenApi("./tests/fixtures/public.pem")
- 
--key = jwt.JWK()
-+key = jwk.JWK()
- private_key = open("./tests/fixtures/private.pem", "rb").read()
- key.import_from_pem(private_key)
- jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port"})
-@@ -71,7 +71,7 @@ def test_asymmetric_jws_token_plugin(self):
- def test_asymmetric_jws_token_plugin_with_illigal_key_exception(self):
- plugin = JWTTokenApi("wrong.pub")
- 
--key = jwt.JWK()
-+key = jwk.JWK()
- private_key = open("./tests/fixtures/private.pem", "rb").read()
- key.import_from_pem(private_key)
- jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port"})
-@@ -85,7 +85,7 @@ def 
test_asymmetric_jws_token_plugin_with_illigal_key_exception(self):
- def test_jwt_valid_time(self, mock_time):
- plugin = JWTTokenApi("./tests/fixtures/public.pem")
- 
--key = jwt.JWK()
-+key = jwk.JWK()
- private_key = open("./tests/fixtures/private.pem", "rb").read()
- key.import_from_pem(private_key)
- jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port", 'nbf': 100, 'exp': 200 })
-@@ -102,7 +102,7 @@ def test_jwt_valid_time(self, mock_time):
- def test_jwt_early_time(self, mock_time):
- plugin = JWTTokenApi("./tests/fixtures/public.pem")
- 
--key = jwt.JWK()
-+key = jwk.JWK()
- private_key = open("./tests/fixtures/private.pem", "rb").read()
- key.import_from_pem(private_key)
- jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port", 'nbf': 100, 'exp': 200 })
-@@ -117,7 +117,7 @@ def test_jwt_early_time(self, mock_time):
- def test_jwt_late_time(self, mock_time):
- plugin = JWTTokenApi("./tests/fixtures/public.pem")
- 
--key = jwt.JWK()
-+key = jwk.JWK()
- private_key = open("./tests/fixtures/private.pem", "rb").read()
- key.import_from_pem(private_key)
- jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port", 'nbf': 100, 'exp': 200 })
-@@ -132,7 +132,7 @@ def test_symmetric_jws_token_plugin(self):
- plugin = JWTTokenApi("./tests/fixtures/symmetric.key")
- 
- secret = o

[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2023-09-25 Thread Arthur Zamarin
commit: f6582643e667c6c7bdb20fa3f2ad7e69e4a61339
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 25 17:33:24 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 25 17:33:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6582643

dev-python/websockify: Stabilize 0.11.0 ALLARCHES, #914704

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/websockify/websockify-0.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.11.0.ebuild 
b/dev-python/websockify/websockify-0.11.0.ebuild
index 4e4a5d7ab23e..dad2f1bf3d20 100644
--- a/dev-python/websockify/websockify-0.11.0.ebuild
+++ b/dev-python/websockify/websockify-0.11.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 
 RDEPEND="
dev-python/jwcrypto[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2023-08-21 Thread Michał Górny
commit: ca9856895a4ffa3f5e7ac9b5dae79a3fe9463c25
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug 21 16:45:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug 21 16:45:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca985689

dev-python/websockify: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/websockify-0.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.11.0.ebuild 
b/dev-python/websockify/websockify-0.11.0.ebuild
index 0e49fe12e6f7..4e4a5d7ab23e 100644
--- a/dev-python/websockify/websockify-0.11.0.ebuild
+++ b/dev-python/websockify/websockify-0.11.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2023-08-21 Thread Michał Górny
commit: 55f20576efc7151b04c3cc64a8c6f88fe154fa1a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug 21 16:41:52 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug 21 16:44:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f20576

dev-python/websockify: Bump to 0.11.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/Manifest |  1 +
 dev-python/websockify/websockify-0.11.0.ebuild | 43 ++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest
index 4d6225762a72..4234752f0452 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.11.0.gh.tar.gz 55126 BLAKE2B 
df49e8025ea0341b7f8d329a3b3dcddc08df3d0b42bbcb33d25726df8fee1f0a8791d552c9019a3ae514549619a0f3cc9c7861ff4f30017f27498f7465fd5d11
 SHA512 
cbae6abdee3c9ba6e78c2245fa7ebc4bd6aa96a534b8577da1ae9acd316dd146cece6ceb6f6cdca9c1ddcb3cbaff69e0fc3c3d6048b9374b0937abb91843bf72

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 ..0e49fe12e6f7
--- /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..11} )
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2023-03-03 Thread Michał Górny
commit: 7ad38d4f6fa470f5301ca76dfdd19b6119732584
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  4 05:49:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  4 05:53:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad38d4f

dev-python/websockify: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/websockify-0.10.0-r1.ebuild | 36 ---
 1 file changed, 36 deletions(-)

diff --git a/dev-python/websockify/websockify-0.10.0-r1.ebuild 
b/dev-python/websockify/websockify-0.10.0-r1.ebuild
deleted file mode 100644
index a68815274ef5..
--- a/dev-python/websockify/websockify-0.10.0-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-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 ~riscv x86"
-
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
-BDEPEND="test? ( dev-python/jwcrypto[${PYTHON_USEDEP}] )"
-
-PATCHES=(
-   "${FILESDIR}/${P}-fix-jwcrypto-1.3.patch"
-)
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2023-03-03 Thread Arthur Zamarin
commit: 3dd58e7496b9363fbffa04306fe48099e95f8a2a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 05:28:52 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 05:28:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dd58e74

dev-python/websockify: Stabilize 0.10.0-r2 ALLARCHES, #899152

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/websockify/websockify-0.10.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.10.0-r2.ebuild 
b/dev-python/websockify/websockify-0.10.0-r2.ebuild
index c9e77d0862f5..bb90baa958b8 100644
--- a/dev-python/websockify/websockify-0.10.0-r2.ebuild
+++ b/dev-python/websockify/websockify-0.10.0-r2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 
 RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2023-01-31 Thread Michał Górny
commit: 0cdbfb6c722cd9eda16b4dfcde3482e7b790850c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 31 16:11:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 31 16:11:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cdbfb6c

dev-python/websockify: PEP517

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/websockify-0.10.0-r2.ebuild | 48 +++
 1 file changed, 48 insertions(+)

diff --git a/dev-python/websockify/websockify-0.10.0-r2.ebuild 
b/dev-python/websockify/websockify-0.10.0-r2.ebuild
new file mode 100644
index ..c9e77d0862f5
--- /dev/null
+++ b/dev-python/websockify/websockify-0.10.0-r2.ebuild
@@ -0,0 +1,48 @@
+# 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_{9..11} )
+
+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/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jwcrypto[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/${P}-fix-jwcrypto-1.3.patch"
+)
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/files/, dev-python/websockify/

2022-06-17 Thread Arthur Zamarin
commit: 00c7c8c633f9f5aaa36d5b0f05ed218cbf0fd92d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun 17 11:09:04 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun 17 11:21:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c7c8c6

dev-python/websockify: enable py3.11, fix for >=jwcrypto-1.3

Signed-off-by: Arthur Zamarin  gentoo.org>

 .../files/websockify-0.10.0-fix-jwcrypto-1.3.patch | 114 +
 ...y-0.10.0.ebuild => websockify-0.10.0-r1.ebuild} |  17 +--
 2 files changed, 123 insertions(+), 8 deletions(-)

diff --git 
a/dev-python/websockify/files/websockify-0.10.0-fix-jwcrypto-1.3.patch 
b/dev-python/websockify/files/websockify-0.10.0-fix-jwcrypto-1.3.patch
new file mode 100644
index ..9da2cfe093dc
--- /dev/null
+++ b/dev-python/websockify/files/websockify-0.10.0-fix-jwcrypto-1.3.patch
@@ -0,0 +1,114 @@
+From 0f175003480b666fba78a5eda8dbc1dee07917dd Mon Sep 17 00:00:00 2001
+From: Javier Cacheiro 
+Date: Wed, 25 May 2022 12:40:29 +0200
+Subject: [PATCH] Support for jwcrypto>=1.3
+
+---
+ tests/test_token_plugins.py | 20 ++--
+ websockify/token_plugins.py |  4 ++--
+ 2 files changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/tests/test_token_plugins.py b/tests/test_token_plugins.py
+index 00078c7..3e1fd19 100644
+--- a/tests/test_token_plugins.py
 b/tests/test_token_plugins.py
+@@ -4,7 +4,7 @@
+ 
+ import unittest
+ from unittest.mock import patch, mock_open, MagicMock
+-from jwcrypto import jwt
++from jwcrypto import jwt, jwk
+ 
+ from websockify.token_plugins import ReadOnlyTokenFile, JWTTokenApi, 
TokenRedis
+ 
+@@ -56,7 +56,7 @@ class JWSTokenTestCase(unittest.TestCase):
+ def test_asymmetric_jws_token_plugin(self):
+ plugin = JWTTokenApi("./tests/fixtures/public.pem")
+ 
+-key = jwt.JWK()
++key = jwk.JWK()
+ private_key = open("./tests/fixtures/private.pem", "rb").read()
+ key.import_from_pem(private_key)
+ jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port"})
+@@ -71,7 +71,7 @@ def test_asymmetric_jws_token_plugin(self):
+ def test_asymmetric_jws_token_plugin_with_illigal_key_exception(self):
+ plugin = JWTTokenApi("wrong.pub")
+ 
+-key = jwt.JWK()
++key = jwk.JWK()
+ private_key = open("./tests/fixtures/private.pem", "rb").read()
+ key.import_from_pem(private_key)
+ jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port"})
+@@ -85,7 +85,7 @@ def 
test_asymmetric_jws_token_plugin_with_illigal_key_exception(self):
+ def test_jwt_valid_time(self, mock_time):
+ plugin = JWTTokenApi("./tests/fixtures/public.pem")
+ 
+-key = jwt.JWK()
++key = jwk.JWK()
+ private_key = open("./tests/fixtures/private.pem", "rb").read()
+ key.import_from_pem(private_key)
+ jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port", 'nbf': 100, 'exp': 200 })
+@@ -102,7 +102,7 @@ def test_jwt_valid_time(self, mock_time):
+ def test_jwt_early_time(self, mock_time):
+ plugin = JWTTokenApi("./tests/fixtures/public.pem")
+ 
+-key = jwt.JWK()
++key = jwk.JWK()
+ private_key = open("./tests/fixtures/private.pem", "rb").read()
+ key.import_from_pem(private_key)
+ jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port", 'nbf': 100, 'exp': 200 })
+@@ -117,7 +117,7 @@ def test_jwt_early_time(self, mock_time):
+ def test_jwt_late_time(self, mock_time):
+ plugin = JWTTokenApi("./tests/fixtures/public.pem")
+ 
+-key = jwt.JWK()
++key = jwk.JWK()
+ private_key = open("./tests/fixtures/private.pem", "rb").read()
+ key.import_from_pem(private_key)
+ jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': 
"remote_port", 'nbf': 100, 'exp': 200 })
+@@ -132,7 +132,7 @@ def test_symmetric_jws_token_plugin(self):
+ plugin = JWTTokenApi("./tests/fixtures/symmetric.key")
+ 
+ secret = open("./tests/fixtures/symmetric.key").read()
+-key = jwt.JWK()
++key = jwk.JWK()
+ key.import_key(kty="oct",k=secret)
+ jwt_token = jwt.JWT({"alg": "HS256"}, {'host': "remote_host", 'port': 
"remote_port"})
+ jwt_token.make_signed_token(key)
+@@ -147,7 +147,7 @@ def 
test_symmetric_jws_token_plugin_with_illigal_key_exception(self):
+ plugin = JWTTokenApi("wrong_sauce")
+ 
+ secret = open("./tests/fixtures/symmetric.key").read()
+-key = jwt.JWK()
++key = jwk.JWK()
+ key.import_key(kty="oct",k=secret)
+ jwt_token = jwt.JWT({"alg": "HS256"}, {'host': "remote_host", 'port': 
"remote_port"})
+ jwt_token.make_signed_token(key)
+@@ -159,8 +159,8 @@ def 
test_symmetric_jws_token_plugin_with_illigal_key_exception(self):
+ def test_asymmetric_jwe_token_plugi

[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2022-04-16 Thread Yixun Lan
commit: bc629ecb404655da8586f0d2df1f18867ad3e8ce
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Apr 16 11:08:23 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Apr 16 11:10:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc629ecb

dev-python/websockify: keyword 0.10.0 for ~riscv

Signed-off-by: Yixun Lan  gentoo.org>

 dev-python/websockify/websockify-0.10.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/websockify/websockify-0.10.0.ebuild 
b/dev-python/websockify/websockify-0.10.0.ebuild
index 52e83f8a5863..2998d8ecf9be 100644
--- a/dev-python/websockify/websockify-0.10.0.ebuild
+++ b/dev-python/websockify/websockify-0.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
 BDEPEND="test? ( dev-python/jwcrypto[${PYTHON_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/, dev-python/websockify/files/

2021-08-26 Thread Michał Górny
commit: 794cb7556be246c9c745b5b8b4a44b471963978d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 26 08:18:43 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 26 08:18:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794cb755

dev-python/websockify: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/Manifest |   1 -
 .../files/websockify-0.9.0-mock-tests.patch| 392 -
 dev-python/websockify/websockify-0.9.0-r1.ebuild   |  31 --
 3 files changed, 424 deletions(-)

diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest
index 4c95a1a0c84..4d6225762a7 100644
--- a/dev-python/websockify/Manifest
+++ b/dev-python/websockify/Manifest
@@ -1,2 +1 @@
 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/files/websockify-0.9.0-mock-tests.patch 
b/dev-python/websockify/files/websockify-0.9.0-mock-tests.patch
deleted file mode 100644
index a6af9508e07..000
--- a/dev-python/websockify/files/websockify-0.9.0-mock-tests.patch
+++ /dev/null
@@ -1,392 +0,0 @@
-From 992e09eac484f25871b7fcfc6d11b8e5beac9edb Mon Sep 17 00:00:00 2001
-From: Pierre Ossman 
-Date: Fri, 21 Aug 2020 10:50:11 +0200
-Subject: [PATCH] Convert tests from mox to mock
-
-mox is deprecated upstream in favour of mock

- test-requirements.txt  |   2 +-
- tests/test_websocketproxy.py   |  34 --
- tests/test_websockifyserver.py | 111 +
- 3 files changed, 58 insertions(+), 89 deletions(-)
-
-diff --git a/test-requirements.txt b/test-requirements.txt
-index a63a15e..8e01437 100644
 a/test-requirements.txt
-+++ b/test-requirements.txt
-@@ -1,4 +1,4 @@
--mox3
-+mock
- nose
- jwcrypto;python_version>="2.7"
- redis;python_version>="2.7"
-diff --git a/tests/test_websocketproxy.py b/tests/test_websocketproxy.py
-index c0a8d93..d8a4916 100644
 a/tests/test_websocketproxy.py
-+++ b/tests/test_websocketproxy.py
-@@ -20,10 +20,11 @@
- import unittest
- import unittest
- import socket
-+try:
-+from mock import patch
-+except ImportError:
-+from unittest.mock import patch
- 
--from mox3 import stubout
--
--from websockify import websockifyserver
- from websockify import websocketproxy
- from websockify import token_plugins
- from websockify import auth_plugins
-@@ -74,16 +75,14 @@ def __init__(self):
- class ProxyRequestHandlerTestCase(unittest.TestCase):
- def setUp(self):
- super(ProxyRequestHandlerTestCase, self).setUp()
--self.stubs = stubout.StubOutForTesting()
- self.handler = websocketproxy.ProxyRequestHandler(
- FakeSocket(''), "127.0.0.1", FakeServer())
- self.handler.path = "https://localhost:6080/websockify?token=blah";
- self.handler.headers = None
--self.stubs.Set(websockifyserver.WebSockifyServer, 'socket',
--   staticmethod(lambda *args, **kwargs: None))
-+patch('websockify.websockifyserver.WebSockifyServer.socket').start()
- 
- def tearDown(self):
--self.stubs.UnsetAll()
-+patch.stopall()
- super(ProxyRequestHandlerTestCase, self).tearDown()
- 
- def test_get_target(self):
-@@ -120,8 +119,7 @@ class TestPlugin(token_plugins.BasePlugin):
- def lookup(self, token):
- return (self.source + token).split(',')
- 
--self.stubs.Set(websocketproxy.ProxyRequestHandler, 'send_auth_error',
--   staticmethod(lambda *args, **kwargs: None))
-+patcher = 
patch('websockify.websocketproxy.ProxyRequestHandler.send_auth_error').start()
- 
- self.handler.server.token_plugin = TestPlugin("somehost,")
- self.handler.validate_connection()
-@@ -138,8 +136,7 @@ def test_asymmetric_jws_token_plugin(self):
- jwt_token.make_signed_token(key)
- self.handler.path = 
"https://localhost:6080/websockify?token={jwt_token}".format(jwt_token=jwt_token.serialize())
- 
--self.stubs.Set(websocketproxy.ProxyRequestHandler, 
'send_auth_error',
--staticmethod(lambda *args, **kwargs: None))
-+patcher = 
patch('websockify.websocketproxy.ProxyRequestHandler.send_auth_error').start()
- 
- self.handler.server.token_plugin = 
token_plugins.JWTTokenApi("./tests/fixtures/public.pem")
-  

[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2021-08-25 Thread Agostino Sarubbo
commit: b7b5e83494406ba9ede8e20343accfdafa8a9515
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Aug 26 04:39:13 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Aug 26 04:39:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7b5e834

dev-python/websockify: amd64/x86 stable (ALLARCHES policy) wrt bug #810405

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/websockify/websockify-0.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.10.0.ebuild 
b/dev-python/websockify/websockify-0.10.0.ebuild
index 274232de46f..52e83f8a586 100644
--- a/dev-python/websockify/websockify-0.10.0.ebuild
+++ b/dev-python/websockify/websockify-0.10.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
 BDEPEND="test? ( dev-python/jwcrypto[${PYTHON_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2021-08-25 Thread Michał Górny
commit: d854678b6910123bb5bf5c163329fb393a94efdc
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Aug 25 17:23:20 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Aug 25 17:23:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d854678b

dev-python/websockify: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/websockify/metadata.xml 
b/dev-python/websockify/metadata.xml
index 3f9398bb2f8..57686330f5b 100644
--- a/dev-python/websockify/metadata.xml
+++ b/dev-python/websockify/metadata.xml
@@ -9,6 +9,7 @@
pyt...@gentoo.org
Python

+   

novnc/websockify
websockify



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2021-07-22 Thread Michał Górny
commit: 01e79c20b1cdf4416d9a69ef57fcace0985e071e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul 22 21:14:38 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 22 21:31:14 2021 +
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  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 000..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2021-05-31 Thread Michał Górny
commit: 30c9a329901000e27a47339c34f480dc28e8979c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 31 20:40:38 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 31 20:40:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c9a329

dev-python/websockify: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/websockify-0.9.0.ebuild | 18 --
 1 file changed, 18 deletions(-)

diff --git a/dev-python/websockify/websockify-0.9.0.ebuild 
b/dev-python/websockify/websockify-0.9.0.ebuild
deleted file mode 100644
index efa44f31515..000
--- a/dev-python/websockify/websockify-0.9.0.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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
-
-SRC_URI="https://github.com/novnc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-DESCRIPTION="WebSockets support for any application/server"
-HOMEPAGE="https://github.com/novnc/websockify";
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2020-12-11 Thread Michał Górny
commit: 7d9298734ddac5737048812aae1163354e004c1c
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 11 15:13:11 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 11 15:16:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d929873

dev-python/websockify: Update HOMEPAGE

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/metadata.xml   | 23 ---
 dev-python/websockify/websockify-0.9.0-r1.ebuild |  4 ++--
 dev-python/websockify/websockify-0.9.0.ebuild|  4 ++--
 3 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/dev-python/websockify/metadata.xml 
b/dev-python/websockify/metadata.xml
index 67a4c5863e2..3f9398bb2f8 100644
--- a/dev-python/websockify/metadata.xml
+++ b/dev-python/websockify/metadata.xml
@@ -1,15 +1,16 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-prometheanf...@gentoo.org
-Matthew Thode
-  
-  
-pyt...@gentoo.org
-Python
-  
-  
-kanaka/websockify
-  
+   
+   prometheanf...@gentoo.org
+   Matthew Thode
+   
+   
+   pyt...@gentoo.org
+   Python
+   
+   
+   novnc/websockify
+   websockify
+   
 

diff --git a/dev-python/websockify/websockify-0.9.0-r1.ebuild 
b/dev-python/websockify/websockify-0.9.0-r1.ebuild
index b1c7fb49217..e870a23be00 100644
--- a/dev-python/websockify/websockify-0.9.0-r1.ebuild
+++ b/dev-python/websockify/websockify-0.9.0-r1.ebuild
@@ -9,9 +9,9 @@ DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 
-SRC_URI="https://github.com/kanaka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/novnc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 DESCRIPTION="WebSockets support for any application/server"
-HOMEPAGE="https://github.com/kanaka/websockify";
+HOMEPAGE="https://github.com/novnc/websockify";
 
 LICENSE="LGPL-3"
 SLOT="0"

diff --git a/dev-python/websockify/websockify-0.9.0.ebuild 
b/dev-python/websockify/websockify-0.9.0.ebuild
index 047d8f7e1c6..9c3224c6c4e 100644
--- a/dev-python/websockify/websockify-0.9.0.ebuild
+++ b/dev-python/websockify/websockify-0.9.0.ebuild
@@ -6,9 +6,9 @@ PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
-SRC_URI="https://github.com/kanaka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/novnc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 DESCRIPTION="WebSockets support for any application/server"
-HOMEPAGE="https://github.com/kanaka/websockify";
+HOMEPAGE="https://github.com/novnc/websockify";
 
 LICENSE="LGPL-3"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2020-11-12 Thread Thomas Deutschmann
commit: 26e12012801c141783292d7f080acda9613eb70d
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Nov 12 22:53:59 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Nov 12 22:54:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26e12012

dev-python/websockify: x86 stable (bug #752321)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-python/websockify/websockify-0.9.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.9.0-r1.ebuild 
b/dev-python/websockify/websockify-0.9.0-r1.ebuild
index f4e19a2a944..b1c7fb49217 100644
--- a/dev-python/websockify/websockify-0.9.0-r1.ebuild
+++ b/dev-python/websockify/websockify-0.9.0-r1.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/kanaka/websockify";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
 BDEPEND="test? ( dev-python/jwcrypto[${PYTHON_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2020-11-03 Thread Sam James
commit: 3123d2d1947cacabe51ed1588d8d17f47cc0c645
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov  4 01:05:17 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov  4 01:05:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3123d2d1

dev-python/websockify: Stabilize 0.9.0-r1 amd64, #752321

Signed-off-by: Sam James  gentoo.org>

 dev-python/websockify/websockify-0.9.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.9.0-r1.ebuild 
b/dev-python/websockify/websockify-0.9.0-r1.ebuild
index 3e94e67a53c..f4e19a2a944 100644
--- a/dev-python/websockify/websockify-0.9.0-r1.ebuild
+++ b/dev-python/websockify/websockify-0.9.0-r1.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/kanaka/websockify";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
 BDEPEND="test? ( dev-python/jwcrypto[${PYTHON_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2020-09-29 Thread Sam James
commit: 7843b5d6be7fb6ae8aea992d0495d928d6cb2851
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 29 18:51:01 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 29 18:51:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7843b5d6

dev-python/websockify: Keyword 0.9.0-r1 arm64, #745402

Signed-off-by: Sam James  gentoo.org>

 dev-python/websockify/websockify-0.9.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.9.0-r1.ebuild 
b/dev-python/websockify/websockify-0.9.0-r1.ebuild
index 9e822032c71..3e94e67a53c 100644
--- a/dev-python/websockify/websockify-0.9.0-r1.ebuild
+++ b/dev-python/websockify/websockify-0.9.0-r1.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/kanaka/websockify";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
 BDEPEND="test? ( dev-python/jwcrypto[${PYTHON_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/, dev-python/websockify/files/

2020-09-29 Thread Louis Sautier
commit: 2f08b0dbe5e632631acd5a426b523455c0654524
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Sep 29 12:12:03 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Tue Sep 29 12:12:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f08b0db

dev-python/websockify: add Python 3.{8,9} support, tests, manpage

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Louis Sautier  gentoo.org>

 .../files/websockify-0.9.0-mock-tests.patch| 392 +
 dev-python/websockify/websockify-0.9.0-r1.ebuild   |  31 ++
 2 files changed, 423 insertions(+)

diff --git a/dev-python/websockify/files/websockify-0.9.0-mock-tests.patch 
b/dev-python/websockify/files/websockify-0.9.0-mock-tests.patch
new file mode 100644
index 000..a6af9508e07
--- /dev/null
+++ b/dev-python/websockify/files/websockify-0.9.0-mock-tests.patch
@@ -0,0 +1,392 @@
+From 992e09eac484f25871b7fcfc6d11b8e5beac9edb Mon Sep 17 00:00:00 2001
+From: Pierre Ossman 
+Date: Fri, 21 Aug 2020 10:50:11 +0200
+Subject: [PATCH] Convert tests from mox to mock
+
+mox is deprecated upstream in favour of mock
+---
+ test-requirements.txt  |   2 +-
+ tests/test_websocketproxy.py   |  34 --
+ tests/test_websockifyserver.py | 111 +
+ 3 files changed, 58 insertions(+), 89 deletions(-)
+
+diff --git a/test-requirements.txt b/test-requirements.txt
+index a63a15e..8e01437 100644
+--- a/test-requirements.txt
 b/test-requirements.txt
+@@ -1,4 +1,4 @@
+-mox3
++mock
+ nose
+ jwcrypto;python_version>="2.7"
+ redis;python_version>="2.7"
+diff --git a/tests/test_websocketproxy.py b/tests/test_websocketproxy.py
+index c0a8d93..d8a4916 100644
+--- a/tests/test_websocketproxy.py
 b/tests/test_websocketproxy.py
+@@ -20,10 +20,11 @@
+ import unittest
+ import unittest
+ import socket
++try:
++from mock import patch
++except ImportError:
++from unittest.mock import patch
+ 
+-from mox3 import stubout
+-
+-from websockify import websockifyserver
+ from websockify import websocketproxy
+ from websockify import token_plugins
+ from websockify import auth_plugins
+@@ -74,16 +75,14 @@ def __init__(self):
+ class ProxyRequestHandlerTestCase(unittest.TestCase):
+ def setUp(self):
+ super(ProxyRequestHandlerTestCase, self).setUp()
+-self.stubs = stubout.StubOutForTesting()
+ self.handler = websocketproxy.ProxyRequestHandler(
+ FakeSocket(''), "127.0.0.1", FakeServer())
+ self.handler.path = "https://localhost:6080/websockify?token=blah";
+ self.handler.headers = None
+-self.stubs.Set(websockifyserver.WebSockifyServer, 'socket',
+-   staticmethod(lambda *args, **kwargs: None))
++patch('websockify.websockifyserver.WebSockifyServer.socket').start()
+ 
+ def tearDown(self):
+-self.stubs.UnsetAll()
++patch.stopall()
+ super(ProxyRequestHandlerTestCase, self).tearDown()
+ 
+ def test_get_target(self):
+@@ -120,8 +119,7 @@ class TestPlugin(token_plugins.BasePlugin):
+ def lookup(self, token):
+ return (self.source + token).split(',')
+ 
+-self.stubs.Set(websocketproxy.ProxyRequestHandler, 'send_auth_error',
+-   staticmethod(lambda *args, **kwargs: None))
++patcher = 
patch('websockify.websocketproxy.ProxyRequestHandler.send_auth_error').start()
+ 
+ self.handler.server.token_plugin = TestPlugin("somehost,")
+ self.handler.validate_connection()
+@@ -138,8 +136,7 @@ def test_asymmetric_jws_token_plugin(self):
+ jwt_token.make_signed_token(key)
+ self.handler.path = 
"https://localhost:6080/websockify?token={jwt_token}".format(jwt_token=jwt_token.serialize())
+ 
+-self.stubs.Set(websocketproxy.ProxyRequestHandler, 
'send_auth_error',
+-staticmethod(lambda *args, **kwargs: None))
++patcher = 
patch('websockify.websocketproxy.ProxyRequestHandler.send_auth_error').start()
+ 
+ self.handler.server.token_plugin = 
token_plugins.JWTTokenApi("./tests/fixtures/public.pem")
+ self.handler.validate_connection()
+@@ -155,8 +152,7 @@ def 
test_asymmetric_jws_token_plugin_with_illigal_key_exception(self):
+ jwt_token.make_signed_token(key)
+ self.handler.path = 
"https://localhost:6080/websockify?token={jwt_token}".format(jwt_token=jwt_token.serialize())
+ 
+-self.stubs.Set(websocketproxy.ProxyRequestHandler, 
'send_auth_error',
+-staticmethod(lambda *args, **kwargs: None))
++patcher = 
patch('websockify.websocketproxy.ProxyRequestHandler.send_auth_error').start()
+ 
+ self.handler.server.token_plugin = 
token_plugins.JWTTokenApi("wrong.pub")
+ self.assertRaises(self.handler.server.EClose, 
+@@ -171,8 +167,7 @@ def test_symmetric_jws_token_plugin(self):
+ jwt_token.make

[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2020-04-23 Thread Matthew Thode
commit: bc7725980d521b99cfc77f2d40bdb779ed27c1db
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu Apr 23 19:28:13 2020 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Thu Apr 23 19:36:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc772598

dev-python/websockify: 0.8.0 cleanup

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/websockify/Manifest|  1 -
 dev-python/websockify/websockify-0.8.0.ebuild | 18 --
 2 files changed, 19 deletions(-)

diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest
index 3ab9b605641..27a4d8adaea 100644
--- a/dev-python/websockify/Manifest
+++ b/dev-python/websockify/Manifest
@@ -1,2 +1 @@
-DIST websockify-0.8.0.zip 319105 BLAKE2B 
5c9a0e5f32239b35b5f41d5dd2b46b215cad6800e5752e8d9fa0c20fe77df2ae756cc74a527b50f545497abdc621ee402e02a9d2a788630a2cbfdeecb7b494df
 SHA512 
625cecbf37149c82edd2ebb9cd1f1a20a35415f7c7696ebe88b2e86563a170573959f9ede2c7a1db82ace9edddfb9d2da6e2e20d29fd916ae238235880d9a943
 DIST websockify-0.9.0.tar.gz 58493 BLAKE2B 
622a36979ec083dd3ea747b43cd8fec0916f9eb6f1a2b8f9b7acabd38f41aec839b2101c5261fdf2474bc40ebbbef61c9ba51d2e57f749f1e1a1c46879fb5d65
 SHA512 
d2251f653a40dc6dca0e5541845565d968c60be96a20a9b70b0305c4b7578f7fe205d4b98a94bb77d7c9383a396833af90fe92a6ade7e1a6f2d9bf8513d372c8

diff --git a/dev-python/websockify/websockify-0.8.0.ebuild 
b/dev-python/websockify/websockify-0.8.0.ebuild
deleted file mode 100644
index 8a046bcae7b..000
--- a/dev-python/websockify/websockify-0.8.0.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit distutils-r1
-
-SRC_URI="https://github.com/kanaka/${PN}/archive/v${PV}.zip -> ${P}.zip"
-DESCRIPTION="WebSockets support for any application/server"
-HOMEPAGE="https://github.com/kanaka/websockify";
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2020-04-23 Thread Matthew Thode
commit: ff23c5b657f2cf2a696fcf14028f580680575d2a
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu Apr 23 19:26:38 2020 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Thu Apr 23 19:36:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff23c5b6

dev-python/websockify: 0.9.0 stable amd64/x86

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/websockify/websockify-0.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.9.0.ebuild 
b/dev-python/websockify/websockify-0.9.0.ebuild
index 48eee9fa0e9..047d8f7e1c6 100644
--- a/dev-python/websockify/websockify-0.9.0.ebuild
+++ b/dev-python/websockify/websockify-0.9.0.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/kanaka/websockify";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2020-03-24 Thread Matthew Thode
commit: 541a22707e67eeec7053b0e4b2ecdcccdd5b6aa1
Author: Matthew Thode  gentoo  org>
AuthorDate: Tue Mar 24 16:59:54 2020 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Tue Mar 24 17:11:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541a2270

dev-python/websockify: 0.9.0 bump

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/websockify/Manifest|  1 +
 dev-python/websockify/metadata.xml|  3 ---
 dev-python/websockify/websockify-0.9.0.ebuild | 18 ++
 3 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest
index 09fb575383c..3ab9b605641 100644
--- a/dev-python/websockify/Manifest
+++ b/dev-python/websockify/Manifest
@@ -1 +1,2 @@
 DIST websockify-0.8.0.zip 319105 BLAKE2B 
5c9a0e5f32239b35b5f41d5dd2b46b215cad6800e5752e8d9fa0c20fe77df2ae756cc74a527b50f545497abdc621ee402e02a9d2a788630a2cbfdeecb7b494df
 SHA512 
625cecbf37149c82edd2ebb9cd1f1a20a35415f7c7696ebe88b2e86563a170573959f9ede2c7a1db82ace9edddfb9d2da6e2e20d29fd916ae238235880d9a943
+DIST websockify-0.9.0.tar.gz 58493 BLAKE2B 
622a36979ec083dd3ea747b43cd8fec0916f9eb6f1a2b8f9b7acabd38f41aec839b2101c5261fdf2474bc40ebbbef61c9ba51d2e57f749f1e1a1c46879fb5d65
 SHA512 
d2251f653a40dc6dca0e5541845565d968c60be96a20a9b70b0305c4b7578f7fe205d4b98a94bb77d7c9383a396833af90fe92a6ade7e1a6f2d9bf8513d372c8

diff --git a/dev-python/websockify/metadata.xml 
b/dev-python/websockify/metadata.xml
index a9a4016cc3c..67a4c5863e2 100644
--- a/dev-python/websockify/metadata.xml
+++ b/dev-python/websockify/metadata.xml
@@ -9,9 +9,6 @@
 pyt...@gentoo.org
 Python
   
-  
-WebSockets support for any application/server
-  
   
 kanaka/websockify
   

diff --git a/dev-python/websockify/websockify-0.9.0.ebuild 
b/dev-python/websockify/websockify-0.9.0.ebuild
new file mode 100644
index 000..48eee9fa0e9
--- /dev/null
+++ b/dev-python/websockify/websockify-0.9.0.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+SRC_URI="https://github.com/kanaka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+DESCRIPTION="WebSockets support for any application/server"
+HOMEPAGE="https://github.com/kanaka/websockify";
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2020-01-15 Thread Michał Górny
commit: 425ac8e6441c2a2120f9bff538af3b0041f65a71
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 16 05:47:35 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 16 06:05:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=425ac8e6

dev-python/websockify: Remove Python 2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/websockify/websockify-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.8.0.ebuild 
b/dev-python/websockify/websockify-0.8.0.ebuild
index 7723b535a7b..8a046bcae7b 100644
--- a/dev-python/websockify/websockify-0.8.0.ebuild
+++ b/dev-python/websockify/websockify-0.8.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2017-05-11 Thread Zac Medico
commit: d503f63c901093ec4e21ec93e5d70b99e080d994
Author: Zac Medico  gentoo  org>
AuthorDate: Fri May 12 00:07:50 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri May 12 00:09:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d503f63c

dev-python/websockify: Add python3.6 to PYTHON_COMPAT

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/websockify/websockify-0.8.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/websockify/websockify-0.8.0.ebuild 
b/dev-python/websockify/websockify-0.8.0.ebuild
index 4fa90fd452e..4cff30d2c15 100644
--- a/dev-python/websockify/websockify-0.8.0.ebuild
+++ b/dev-python/websockify/websockify-0.8.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2016-02-27 Thread Matt Thode
commit: 9a4496ae9b5c761c8822ba6d838e53568e950775
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Feb 28 07:12:31 2016 +
Commit: Matt Thode  gentoo  org>
CommitDate: Sun Feb 28 07:12:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a4496ae

dev-python/websockify: keywording arm64

merged on X-C1

Package-Manager: portage-2.2.26

 dev-python/websockify/websockify-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.7.0.ebuild 
b/dev-python/websockify/websockify-0.7.0.ebuild
index 60faa02..895ff22 100644
--- a/dev-python/websockify/websockify-0.7.0.ebuild
+++ b/dev-python/websockify/websockify-0.7.0.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/kanaka/websockify";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2015-11-16 Thread Agostino Sarubbo
commit: 13e0db68d5e37c9f138f2576f2506375ff2dc597
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Nov 16 16:25:35 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Nov 16 16:25:35 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e0db68

dev-python/websockify: x86 stable wrt bug #565742

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"

 dev-python/websockify/websockify-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.7.0.ebuild 
b/dev-python/websockify/websockify-0.7.0.ebuild
index 933d654..60faa02 100644
--- a/dev-python/websockify/websockify-0.7.0.ebuild
+++ b/dev-python/websockify/websockify-0.7.0.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/kanaka/websockify";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2015-11-16 Thread Agostino Sarubbo
commit: d362e74ad71a1c2ffb82be5cb66ccb2c141ccbf7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Nov 16 16:14:06 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Nov 16 16:14:06 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d362e74a

dev-python/websockify: amd64 stable wrt bug #565742

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 dev-python/websockify/websockify-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/websockify/websockify-0.7.0.ebuild 
b/dev-python/websockify/websockify-0.7.0.ebuild
index cb45d81..933d654 100644
--- a/dev-python/websockify/websockify-0.7.0.ebuild
+++ b/dev-python/websockify/websockify-0.7.0.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/kanaka/websockify";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/websockify/

2015-10-15 Thread Matt Thode
commit: 1105133b5fc8fb5614ddeb8ce19b19c47ec60ba9
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu Oct 15 08:56:53 2015 +
Commit: Matt Thode  gentoo  org>
CommitDate: Thu Oct 15 09:07:31 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1105133b

dev-python/websockify: liberty bup

Package-Manager: portage-2.2.20.1

 dev-python/websockify/Manifest|  1 +
 dev-python/websockify/websockify-0.7.0.ebuild | 19 +++
 2 files changed, 20 insertions(+)

diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest
index 7d7f912..c1a32af 100644
--- a/dev-python/websockify/Manifest
+++ b/dev-python/websockify/Manifest
@@ -1 +1,2 @@
 DIST websockify-0.6.0.zip 312980 SHA256 
09fd696fc528fcc915e66d43006c4e73e4e009233724d45e365ada1f8b01251c SHA512 
f7792b0140fd5170b39dd0cabdf176ea8db43b148068ec336ddf61b70e166f6f935411901675c13657efee7e9cdf4de78bc74b0e371ce91811098b16a11a2915
 WHIRLPOOL 
46199706a3c8988aa7aec6018ee5defe50a289023132f48bd5d48ed486e17317b7b3a1661e367b818e2cd9445eabd3672f25155f1117ddb641be9ecb9a54ca46
+DIST websockify-0.7.0.zip 316823 SHA256 
a1d1f2a188f34622ae6349c2cd19067a9a6f89ff3d35e249559ffa9c75a9d05b SHA512 
642a65239fbaa409127e18f637cbcc815af0e34b89573517c5fef0b2c5af71442ab2ff563ff0cc7fcfa41c87711b9d478c708ca4424bb08d288537f0f1b4b4ef
 WHIRLPOOL 
eb331874712f2ac98eff4749b7b2c76ee5976a5488b7db49006624a88a019a7813da2ccd45b68bc4930cb43e9b2c69b2a4cbd6fd3ab2ae02c2e9ea3dc131f4cd

diff --git a/dev-python/websockify/websockify-0.7.0.ebuild 
b/dev-python/websockify/websockify-0.7.0.ebuild
new file mode 100644
index 000..cb45d81
--- /dev/null
+++ b/dev-python/websockify/websockify-0.7.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 python3_4 )
+
+inherit distutils-r1
+
+SRC_URI="https://github.com/kanaka/${PN}/archive/v${PV}.zip -> ${P}.zip"
+DESCRIPTION="WebSockets support for any application/server"
+HOMEPAGE="https://github.com/kanaka/websockify";
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"