python3-txsockjs: new package
PATCH 1/1 python3-txsockjs: new package
This adds twisted python support for SockJS.
--- .../0001-setup-fix-syntax-error.patch | 27 +++++++++++++++++++ .../python/python3-txsockjs_1.2.2.bb | 15 +++++++++++ 2 files changed, 42 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch create mode 100644 meta-python/recipes-devtools/python/python3-txsockjs_1.2.2.bb
meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 7b6323f467dc4f2ff4421350ac5fbf3a73c66764 Mon Sep 17 00:00:00 2001 +From: Bartosz Golaszewski <[email protected]> +Date: Tue, 27 Apr 2021 14:20:41 +0200 +Subject: [PATCH] setup: fix syntax error + +Signed-off-by: Bartosz Golaszewski <[email protected]> +--- +Upstream-Status: Inappropriate [Project's github has been removed :(] + + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index d67320e..13ac3c5 100644 +--- a/setup.py ++++ b/setup.py +@@ -70,6 +70,6 @@ setup( + try: + from twisted.plugin import IPlugin, getPlugins + list(getPlugins(IPlugin)) +-except Exception, e: ++except Exception as e: + log.warn("*** Failed to update Twisted plugin cache. ***") + log.warn(str(e)) +-- +2.25.1 +
meta-python/recipes-devtools/python/python3-txsockjs_1.2.2.bb new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "A simple library for adding SockJS support to your twisted application." +AUTHOR = "Christopher Gamble" +HOMEPAGE = "https://pypi.org/project/txsockjs/" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c62063068876fa826aa4fb6db49fdf7a" + +SRC_URI += "file://0001-setup-fix-syntax-error.patch" + +SRC_URI[md5sum] = "fcdd3f68021abc6034223b5b36f43128" +SRC_URI[sha256sum] = "759f5571e276e70c1ad20919d27cf2e8eef8751594892bd107d6e88dce4a5db9" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-twisted"
Signature · 1 line
2.30.1
Quoted 18 lines · Bartosz Golaszewski
[Please note: This e-mail is from an EXTERNAL e-mail address]
This adds twisted python support for SockJS.
Signed-off-by Bartosz Golaszewski <[email protected]>--- .../0001-setup-fix-syntax-error.patch | 27 +++++++++++++++++++ .../python/python3-txsockjs_1.2.2.bb | 15 +++++++++++ 2 files changed, 42 insertions(+)create mode 100644
meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patchcreate mode 100644 meta-python/recipes-devtools/python/python3-txsockjs_1.2.2.bbmeta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch new file +0
-0
meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch line 8
Quoted 8 lines
meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch new file +8
-0@@ -0,0 +1,27 @@ +From 7b6323f467dc4f2ff4421350ac5fbf3a73c66764 Mon Sep 17 00:00:00 2001 +From: Bartosz Golaszewski <[email protected]> +Date: Tue, 27 Apr 2021 14:20:41 +0200 +Subject: [PATCH] setup: fix syntax error + +Signed-off-by: Bartosz Golaszewski <[email protected]> +--- +Upstream-Status: Inappropriate [Project's github has been removed :(]
I'm hesitant to add a recipe for a module whose official repository may have been deleted. I do see the DesertBus/sockjs-twisted repo, but it hasn't been updated in several years. Do you know if any of the forks are actually being maintained?
- Trevor
Quoted 50 lines
meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch new file +19
-0+ + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index d67320e..13ac3c5 100644 +--- a/setup.py ++++ b/setup.py +@@ -70,6 +70,6 @@ setup( + try: + from twisted.plugin import IPlugin, getPlugins + list(getPlugins(IPlugin)) +-except Exception, e: ++except Exception as e: + log.warn("*** Failed to update Twisted plugin cache. ***") + log.warn(str(e)) +-- +2.25.1 +meta-python/recipes-devtools/python/python3-txsockjs_1.2.2.bb new file +15
-1@@ -0,0 +1,15 @@ +SUMMARY = "A simple library for adding SockJS support to your twisted application." +AUTHOR = "Christopher Gamble" +HOMEPAGE = "https://pypi.org/project/txsockjs/" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c62063068876fa826aa4fb6db49fdf7a" + +SRC_URI += "file://0001-setup-fix-syntax-error.patch" + +SRC_URI[md5sum] = "fcdd3f68021abc6034223b5b36f43128" +SRC_URI[sha256sum] = "759f5571e276e70c1ad20919d27cf2e8eef8751594892bd107d6e88dce4a5db9" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-twisted" --2.30.1
Quoted 26 lines · Trevor Gamblin
Quoted 23 lines · Bartosz Golaszewski
[Please note: This e-mail is from an EXTERNAL e-mail address]
This adds twisted python support for SockJS.
Signed-off-by Bartosz Golaszewski <[email protected]>--- .../0001-setup-fix-syntax-error.patch | 27 +++++++++++++++++++ .../python/python3-txsockjs_1.2.2.bb | 15 +++++++++++ 2 files changed, 42 insertions(+)create mode 100644
meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patchcreate mode 100644 meta-python/recipes-devtools/python/python3-txsockjs_1.2.2.bbmeta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch new file +5
-0@@ -0,0 +1,27 @@ +From 7b6323f467dc4f2ff4421350ac5fbf3a73c66764 Mon Sep 17 00:00:00 2001 +From: Bartosz Golaszewski <[email protected]> +Date: Tue, 27 Apr 2021 14:20:41 +0200 +Subject: [PATCH] setup: fix syntax error +
Quoted 9 lines
meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch line 8
Quoted 3 lines
meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch new file +3
-0+Signed-off-by: Bartosz Golaszewski <[email protected]> +--- +Upstream-Status: Inappropriate [Project's github has been removed :(]I'm hesitant to add a recipe for a module whose official repository may have been deleted. I do see the DesertBus/sockjs-twisted repo, but it hasn't been updated in several years. Do you know if any of the forks are actually being maintained?
Doesn't look like they are but the package works fine for me. I'm not too attached to this, we can keep the recipe locally in our layer if you decide not to apply it.
Bart
Quoted 52 lines
- Trevor
Quoted 50 lines
meta-python/recipes-devtools/python/python3-txsockjs/0001-setup-fix-syntax-error.patch new file +19
-0+ + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index d67320e..13ac3c5 100644 +--- a/setup.py ++++ b/setup.py +@@ -70,6 +70,6 @@ setup( + try: + from twisted.plugin import IPlugin, getPlugins + list(getPlugins(IPlugin)) +-except Exception, e: ++except Exception as e: + log.warn("*** Failed to update Twisted plugin cache. ***") + log.warn(str(e)) +-- +2.25.1 +meta-python/recipes-devtools/python/python3-txsockjs_1.2.2.bb new file +15
-1@@ -0,0 +1,15 @@ +SUMMARY = "A simple library for adding SockJS support to your twisted application." +AUTHOR = "Christopher Gamble" +HOMEPAGE = "https://pypi.org/project/txsockjs/" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c62063068876fa826aa4fb6db49fdf7a" + +SRC_URI += "file://0001-setup-fix-syntax-error.patch" + +SRC_URI[md5sum] = "fcdd3f68021abc6034223b5b36f43128" +SRC_URI[sha256sum] = "759f5571e276e70c1ad20919d27cf2e8eef8751594892bd107d6e88dce4a5db9" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-twisted" --2.30.1