This commit is contained in:
TriForceX
2021-03-13 22:13:38 -03:00
parent c77595adbd
commit b3ecc6e32d
7043 changed files with 119373 additions and 73690 deletions
@@ -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(
packages=find_packages() + ["twisted.plugins"],
include_package_data=True,
install_requires=["twisted[tls]>=18.7", "autobahn>=0.18", "asgiref~=3.2"],
- setup_requires=["pytest-runner"],
extras_require={
"tests": ["hypothesis~=3.88", "pytest~=3.10", "pytest-asyncio~=0.8"]
},
--
2.21.0
+20
View File
@@ -0,0 +1,20 @@
config BR2_PACKAGE_PYTHON_DAPHNE
bool "python-daphne"
depends on BR2_INSTALL_LIBSTDCPP # python-autobahn -> python-cryptography
depends on BR2_PACKAGE_PYTHON3
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
comment "python-daphne needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_PYTHON3
+5
View File
@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/daphne/json
md5 564353eaed92659e3b113d966a0288f2 daphne-2.4.1.tar.gz0
sha256 1e41d02d78da373c1f8504835cdca6d447b5d64c2941661d4bd968d412b6c383 daphne-2.4.1.tar.gz
# Locally computed sha256
sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE
+15
View File
@@ -0,0 +1,15 @@
################################################################################
#
# python-daphne
#
################################################################################
PYTHON_DAPHNE_VERSION = 2.4.1
PYTHON_DAPHNE_SOURCE = daphne-$(PYTHON_DAPHNE_VERSION).tar.gz
PYTHON_DAPHNE_SITE = https://files.pythonhosted.org/packages/03/6c/847d1c962f8c45aa2ab0791583c4a41669d158e28fd6369ce940b8ea8417
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))