mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 22:17:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From f9d881cc55c89f51240f93308713216cfec793eb Mon Sep 17 00:00:00 2001
|
||||
From: Adam Duskett <Aduskett@gmail.com>
|
||||
Date: Sat, 3 Aug 2019 14:23:19 -0400
|
||||
Subject: [PATCH] remove pytest-runner requirement
|
||||
|
||||
Setup does not actually require pytest-runner. As such, remove it.
|
||||
|
||||
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
|
||||
---
|
||||
setup.py | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 64e94f1..4e3abb0 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -23,7 +23,6 @@ setup(
|
||||
include_package_data=True,
|
||||
install_requires=["twisted[tls]>=22.4", "autobahn>=22.4.2", "asgiref>=3.5.2,<4"],
|
||||
python_requires=">=3.7",
|
||||
- setup_requires=["pytest-runner"],
|
||||
extras_require={"tests": ["hypothesis", "pytest", "pytest-asyncio", "django"]},
|
||||
entry_points={
|
||||
"console_scripts": ["daphne = daphne.cli:CommandLineInterface.entrypoint"]
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_PYTHON_DAPHNE
|
||||
bool "python-daphne"
|
||||
# python-autobahn -> python-cryptography
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_PYTHON_ASGIREF # runtime
|
||||
select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime
|
||||
select BR2_PACKAGE_PYTHON_TWISTED # runtime
|
||||
select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime
|
||||
help
|
||||
Daphne is a HTTP, HTTP2 and WebSocket protocol server for
|
||||
ASGI and ASGI-HTTP, developed to power Django Channels.
|
||||
It supports automatic negotiation of protocols; there's no
|
||||
need for URL prefixing to determine WebSocket endpoints
|
||||
versus HTTP endpoints.
|
||||
|
||||
https://github.com/django/daphne
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/daphne/json
|
||||
md5 f0dcc0618459ad7d25508704f9505b56 daphne-4.0.0.tar.gz
|
||||
sha256 cce9afc8f49a4f15d4270b8cfb0e0fe811b770a5cc795474e97e4da287497666 daphne-4.0.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE
|
||||
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-daphne
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_DAPHNE_VERSION = 4.0.0
|
||||
PYTHON_DAPHNE_SOURCE = daphne-$(PYTHON_DAPHNE_VERSION).tar.gz
|
||||
PYTHON_DAPHNE_SITE = https://files.pythonhosted.org/packages/d7/77/57b19d5caabf8537879aa4cf3a017b99d0b727f2521ffca7fd9140573509
|
||||
PYTHON_DAPHNE_SETUP_TYPE = setuptools
|
||||
# https://github.com/django/daphne/blob/master/LICENSE
|
||||
PYTHON_DAPHNE_LICENSE = BSD-3-Clause
|
||||
PYTHON_DAPHNE_LICENSE_FILES = LICENSE
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user