diff --git a/lang/python/python-et_xmlfile/Makefile b/lang/python/python-et_xmlfile/Makefile index bc5457b2dd..db9aab738d 100644 --- a/lang/python/python-et_xmlfile/Makefile +++ b/lang/python/python-et_xmlfile/Makefile @@ -27,7 +27,8 @@ define Package/python3-et_xmlfile URL:=https://bitbucket.org/openpyxl/et_xmlfile DEPENDS:= \ +python3-light \ - +python3-lxml + +python3-lxml \ + +python3-xml endef define Package/python3-et_xmlfile/description diff --git a/lang/python/python-et_xmlfile/test.sh b/lang/python/python-et_xmlfile/test.sh index cb4e5af266..de87c66608 100644 --- a/lang/python/python-et_xmlfile/test.sh +++ b/lang/python/python-et_xmlfile/test.sh @@ -1,5 +1,7 @@ #!/bin/sh +[ "$1" = python3-et_xmlfile ] || exit 0 + EXPECTED_VER="$2" python3 - << EOF @@ -8,6 +10,7 @@ import sys from io import BytesIO from xml.etree.ElementTree import Element +import et_xmlfile from et_xmlfile import xmlfile if (et_xmlfile.__version__ != "$EXPECTED_VER"):