mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
package/python-autobahn: drop python 2 support
Upstream commitc0223223f8
, which has been part of the releases since v20.1.2 has dropped support for Python 2.x. So python-autobahn is now only available for Python 3.x. We therefore remove the Python 2.x autobahn tests, and while at it, drop the python-six dependency, which is no longer needed since upstream commit79bd2ba41b
, part of the releases since v20.1.3. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
96dc6701af
commit
8a99ce44b4
@ -456,7 +456,6 @@ tests.package.test_python_argh.TestPythonPy2Argh: { extends: .runtime_test }
|
|||||||
tests.package.test_python_argh.TestPythonPy3Argh: { extends: .runtime_test }
|
tests.package.test_python_argh.TestPythonPy3Argh: { extends: .runtime_test }
|
||||||
tests.package.test_python_attrs.TestPythonPy2Attrs: { extends: .runtime_test }
|
tests.package.test_python_attrs.TestPythonPy2Attrs: { extends: .runtime_test }
|
||||||
tests.package.test_python_attrs.TestPythonPy3Attrs: { extends: .runtime_test }
|
tests.package.test_python_attrs.TestPythonPy3Attrs: { extends: .runtime_test }
|
||||||
tests.package.test_python_autobahn.TestPythonPy2Autobahn: { extends: .runtime_test }
|
|
||||||
tests.package.test_python_autobahn.TestPythonPy3Autobahn: { extends: .runtime_test }
|
tests.package.test_python_autobahn.TestPythonPy3Autobahn: { extends: .runtime_test }
|
||||||
tests.package.test_python_automat.TestPythonPy2Automat: { extends: .runtime_test }
|
tests.package.test_python_automat.TestPythonPy2Automat: { extends: .runtime_test }
|
||||||
tests.package.test_python_automat.TestPythonPy3Automat: { extends: .runtime_test }
|
tests.package.test_python_automat.TestPythonPy3Automat: { extends: .runtime_test }
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
config BR2_PACKAGE_PYTHON_AUTOBAHN
|
config BR2_PACKAGE_PYTHON_AUTOBAHN
|
||||||
bool "python-autobahn"
|
bool "python-autobahn"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP # python-cryptography -> python-pyasn
|
depends on BR2_INSTALL_LIBSTDCPP # python-cryptography -> python-pyasn
|
||||||
|
depends on BR2_PACKAGE_PYTHON3
|
||||||
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
|
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
|
||||||
select BR2_PACKAGE_PYTHON_SIX # runtime
|
|
||||||
select BR2_PACKAGE_PYTHON_TXAIO # runtime
|
select BR2_PACKAGE_PYTHON_TXAIO # runtime
|
||||||
help
|
help
|
||||||
WebSocket client and server library, WAMP real-time
|
WebSocket client and server library, WAMP real-time
|
||||||
@ -12,3 +12,4 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN
|
|||||||
|
|
||||||
comment "python-autobahn needs a toolchain w/ C++"
|
comment "python-autobahn needs a toolchain w/ C++"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP
|
depends on !BR2_INSTALL_LIBSTDCPP
|
||||||
|
depends on BR2_PACKAGE_PYTHON3
|
||||||
|
@ -1,16 +1,6 @@
|
|||||||
from tests.package.test_python import TestPythonPackageBase
|
from tests.package.test_python import TestPythonPackageBase
|
||||||
|
|
||||||
|
|
||||||
class TestPythonPy2Autobahn(TestPythonPackageBase):
|
|
||||||
__test__ = True
|
|
||||||
config = TestPythonPackageBase.config + \
|
|
||||||
"""
|
|
||||||
BR2_PACKAGE_PYTHON=y
|
|
||||||
BR2_PACKAGE_PYTHON_AUTOBAHN=y
|
|
||||||
"""
|
|
||||||
sample_scripts = ["tests/package/sample_python_autobahn.py"]
|
|
||||||
|
|
||||||
|
|
||||||
class TestPythonPy3Autobahn(TestPythonPackageBase):
|
class TestPythonPy3Autobahn(TestPythonPackageBase):
|
||||||
__test__ = True
|
__test__ = True
|
||||||
config = TestPythonPackageBase.config + \
|
config = TestPythonPackageBase.config + \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user