package/python-iniparse: add host-python-iniparse

Make the host variant of python-iniparse as host-crudini dependency.

Note: usually, we would not have needed to add a Config.in.host,
because it is jsut a library, but since there is an Config.in.host
for python-six, we need to select it, so we need an host entry.

Signed-off-by: Konstantin Menyaev <KAMenyaev@sberdevices.ru>
Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr:
  - add the note
  - reorder alphabetically
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Konstantin Menyaev 2022-09-21 02:21:53 +03:00 committed by Yann E. MORIN
parent 101b05a374
commit 87af250c0e
3 changed files with 13 additions and 0 deletions

View File

@ -77,6 +77,7 @@ menu "Host utilities"
source "package/pwgen/Config.in.host"
source "package/python-cython/Config.in.host"
source "package/python-greenlet/Config.in.host"
source "package/python-iniparse/Config.in.host
source "package/python-kflash/Config.in.host"
source "package/python-lxml/Config.in.host"
source "package/python-pyyaml/Config.in.host"

View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_HOST_PYTHON_INIPARSE
bool "host python-iniparse"
select BR2_PACKAGE_HOST_PYTHON_SIX # runtime
help
iniparse is an INI parser for Python which is API compatible
with the standard library's ConfigParser, preserves
structure of INI files (order of sections & options,
indentation, comments, and blank lines are preserved when
data is updated), and is more convenient to use.
https://pypi.python.org/pypi/iniparse

View File

@ -12,3 +12,4 @@ PYTHON_INIPARSE_LICENSE_FILES = LICENSE-PSF LICENSE
PYTHON_INIPARSE_SETUP_TYPE = setuptools
$(eval $(python-package))
$(eval $(host-python-package))