package/python-configobj: new package

python-configobj package was removed in commit
8d264a9617 because of the missing
support for Python 3.x.

Meanwhile, this problem was fixed, hence readd the package.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yegor Yefremov
2023-10-11 09:27:01 +02:00
committed by Thomas Petazzoni
parent 33d45b9c67
commit 6e3bf1fe76
5 changed files with 27 additions and 6 deletions

View File

@@ -1164,12 +1164,6 @@ config BR2_PACKAGE_PYTHON_DIALOG
help
Package was removed together with python 2.7 support.
config BR2_PACKAGE_PYTHON_CONFIGOBJ
bool "python-configobj removed"
select BR2_LEGACY
help
Package was removed together with python 2.7 support.
config BR2_PACKAGE_PYTHON_YIELDFROM
bool "python-yieldfrom removed"
select BR2_LEGACY

View File

@@ -1051,6 +1051,7 @@ menu "External python modules"
source "package/python-colorama/Config.in"
source "package/python-colorlog/Config.in"
source "package/python-colorzero/Config.in"
source "package/python-configobj/Config.in"
source "package/python-configshell-fb/Config.in"
source "package/python-constantly/Config.in"
source "package/python-construct/Config.in"

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_CONFIGOBJ
bool "python-configobj"
select BR2_PACKAGE_PYTHON_SIX # runtime
help
Config file reading, writing and validation.
https://github.com/DiffSK/configobj

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/configobj/json
md5 8dda7b31bb3aea87ecfe3b7a87812b17 configobj-5.0.8.tar.gz
sha256 6f704434a07dc4f4dc7c9a745172c1cad449feb548febd9f7fe362629c627a97 configobj-5.0.8.tar.gz
# Locally computed sha256 checksums
sha256 0d95e648469a711f5ec1e59e6d4492150ec65d968c1ea6c6d96154a92879997a LICENSE

View File

@@ -0,0 +1,14 @@
################################################################################
#
# python-configobj
#
################################################################################
PYTHON_CONFIGOBJ_VERSION = 5.0.8
PYTHON_CONFIGOBJ_SOURCE = configobj-$(PYTHON_CONFIGOBJ_VERSION).tar.gz
PYTHON_CONFIGOBJ_SITE = https://files.pythonhosted.org/packages/cb/87/17d4c6d634c044ab08b11c0cd2a8a136d103713d438f8792d7be2c5148fb
PYTHON_CONFIGOBJ_SETUP_TYPE = setuptools
PYTHON_CONFIGOBJ_LICENSE = BSD-3-Clause
PYTHON_CONFIGOBJ_LICENSE_FILES = LICENSE
$(eval $(python-package))