package/python-treq: drop python2 support
Fixes:
http://autobuild.buildroot.net/results/94e/94e009e322787bbcaac3704b64218cefe77b0f56/
Treq is built on top of twisted, which is python3 only since commit
f1db1922e4
(package/python-twisted: Needs python 3), so propagate the
python3 dependency.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
f9f936b167
commit
294b6e050d
@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_TREQ
|
||||
bool "python-treq"
|
||||
depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
|
||||
depends on BR2_PACKAGE_PYTHON3 # python-twisted
|
||||
select BR2_PACKAGE_PYTHON_ATTRS # runtime
|
||||
select BR2_PACKAGE_PYTHON_IDNA # runtime
|
||||
select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
|
||||
|
@ -12,15 +12,6 @@ class TestPythonTreq(TestPythonPackageBase):
|
||||
self.assertEqual(exit_code, 0)
|
||||
|
||||
|
||||
class TestPythonPy2Treq(TestPythonTreq):
|
||||
__test__ = True
|
||||
config = TestPythonTreq.config + \
|
||||
"""
|
||||
BR2_PACKAGE_PYTHON=y
|
||||
BR2_PACKAGE_PYTHON_TREQ=y
|
||||
"""
|
||||
|
||||
|
||||
class TestPythonPy3Treq(TestPythonTreq):
|
||||
__test__ = True
|
||||
config = TestPythonTreq.config + \
|
||||
|
Loading…
Reference in New Issue
Block a user