Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
From 7a649de6561ec181208a9c4fa712aed614a224d4 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd@kuhls.net>
|
||||
Date: Mon, 8 Dec 2025 18:03:03 +0100
|
||||
Subject: [PATCH] Fix build with python 3.14
|
||||
|
||||
ast.Str was deprecated in python 3.12 and removed in 3.14. It inherited
|
||||
from ast.Constant, `Str.s` was equivalent to `Constant.value`, so we can
|
||||
use the latter on both old and newer python versions.
|
||||
|
||||
Patch was inspired by
|
||||
https://hg-edge.mozilla.org/mozilla-central/rev/dbf9702ed87e
|
||||
|
||||
Upstream: https://github.com/aio-libs/aiohttp-sse/commit/9eec5f5b0355bb3853d0e4f2af6486c9a5887e38
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 6843260..fa41025 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -25,7 +25,7 @@ class VersionFinder(ast.NodeVisitor):
|
||||
def visit_Assign(self, node):
|
||||
if not self.version:
|
||||
if node.targets[0].id == "__version__":
|
||||
- self.version = node.value.s
|
||||
+ self.version = node.value.value
|
||||
|
||||
|
||||
def read_version():
|
||||
--
|
||||
2.47.3
|
||||
|
||||
7
package/python-aiohttp-sse/Config.in
Normal file
7
package/python-aiohttp-sse/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_AIOHTTP_SSE
|
||||
bool "python-aiohttp-sse"
|
||||
select BR2_PACKAGE_PYTHON_AIOHTTP # runtime
|
||||
help
|
||||
Server-sent events support for aiohttp.
|
||||
|
||||
https://github.com/aio-libs/aiohttp_sse/
|
||||
5
package/python-aiohttp-sse/python-aiohttp-sse.hash
Normal file
5
package/python-aiohttp-sse/python-aiohttp-sse.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/aiohttp-sse/json
|
||||
md5 8c86e737a2f3642941c1d383f42ce6ae aiohttp-sse-2.2.0.tar.gz
|
||||
sha256 a48dd5774031d3f41a29e159ebdbb93e89c8f37c1e9e83e196296be51885a5c2 aiohttp-sse-2.2.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 5585eb91ec607b4fdbe97d44a61146a9cc27bb703336628bc3c6a1eaffe60307 LICENSE
|
||||
14
package/python-aiohttp-sse/python-aiohttp-sse.mk
Normal file
14
package/python-aiohttp-sse/python-aiohttp-sse.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-aiohttp-sse
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_AIOHTTP_SSE_VERSION = 2.2.0
|
||||
PYTHON_AIOHTTP_SSE_SOURCE = aiohttp-sse-$(PYTHON_AIOHTTP_SSE_VERSION).tar.gz
|
||||
PYTHON_AIOHTTP_SSE_SITE = https://files.pythonhosted.org/packages/80/df/4ddb30e689695fd91cf41c072e154061120ed166e8baf6c9a0020f27dffc
|
||||
PYTHON_AIOHTTP_SSE_SETUP_TYPE = setuptools
|
||||
PYTHON_AIOHTTP_SSE_LICENSE = Apache-2.0
|
||||
PYTHON_AIOHTTP_SSE_LICENSE_FILES = LICENSE
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user