package/python-ujson: needs python3

python 2 support has been dropped since version 3.0.0 and
0673d237cf
resulting in the following build failure since bump to version 4.1.0 in
commit a47f332a20:

./python/ujson.c:79:15: error: variable 'moduledef' has initializer but incomplete type
   79 | static struct PyModuleDef moduledef = {
      |               ^~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/61cc675281ba25d6ebee4892175e9c7222aabb79

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2021-10-28 18:25:32 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent d8a422e277
commit b658a44ab5

View file

@ -1,7 +1,8 @@
config BR2_PACKAGE_PYTHON_UJSON
bool "python-ujson"
depends on BR2_PACKAGE_PYTHON3
help
UltraJSON is an ultra fast JSON encoder and decoder written
in pure C with bindings for Python 2.5+ and 3.
in pure C with bindings for Python 3.
https://pypi.python.org/pypi/ujson