[Buildroot] [PATCH 1/1] package/python-bunch: remove package
Yegor Yefremov
yegorslists at googlemail.com
Mon Dec 12 04:10:52 UTC 2022
Hi James, all,
On Sun, Dec 11, 2022 at 11:56 PM James Hilliard
<james.hilliard1 at gmail.com> wrote:
>
> Since the python3 bump to version 3.11 in commit
> 738500c296c8b1206f20e94ca3e7c5932a6a0486 python-bunch has failed
> to build.
>
> This is due to open() which no longer accepts 'U' (“universal
> newline”) in the file mode.
>
> Remove this package as it has not had a release since 2011 and
> is unmaintained upstream.
>
> Details:
> https://docs.python.org/3.11/whatsnew/3.11.html#porting-to-python-3-11
>
> Fixes:
> - http://autobuild.buildroot.net/results/2ba/2ba72fc9837605a36ea63bbd3e6e181a40cdf360
>
> Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
> ---
> Config.in.legacy | 6 ++++++
> DEVELOPERS | 1 -
> package/Config.in | 1 -
> package/python-bunch/Config.in | 6 ------
> package/python-bunch/python-bunch.hash | 5 -----
> package/python-bunch/python-bunch.mk | 14 --------------
> 6 files changed, 6 insertions(+), 27 deletions(-)
> delete mode 100644 package/python-bunch/Config.in
> delete mode 100644 package/python-bunch/python-bunch.hash
> delete mode 100644 package/python-bunch/python-bunch.mk
>
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 28c6822689..5c1e162f56 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,12 @@ endif
>
> comment "Legacy options removed in 2023.02"
>
> +config BR2_PACKAGE_PYTHON_BUNCH
> + bool "python-bunch removed"
> + select BR2_LEGACY
Should we add "select BR2_PYTHON_MUNCH"?
This package is a maintained fork: https://github.com/Infinidat/munch
Regards,
Yegor
> + help
> + The python-bunch package is unmaintained.
> +
> config BR2_PACKAGE_PYTHON_M2R
> bool "python-m2r removed"
> select BR2_LEGACY
> diff --git a/DEVELOPERS b/DEVELOPERS
> index f0dcc42de7..0c3773695a 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -2017,7 +2017,6 @@ F: package/policycoreutils/
> F: package/proftpd/
> F: package/protobuf-c/
> F: package/protobuf/
> -F: package/python-bunch/
> F: package/python-colorama/
> F: package/python-filelock/
> F: package/python-flask-cors/
> diff --git a/package/Config.in b/package/Config.in
> index 914c3584e9..7f0c34519a 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -979,7 +979,6 @@ menu "External python modules"
> source "package/python-bottle/Config.in"
> source "package/python-brotli/Config.in"
> source "package/python-bsdiff4/Config.in"
> - source "package/python-bunch/Config.in"
> source "package/python-cached-property/Config.in"
> source "package/python-can/Config.in"
> source "package/python-canopen/Config.in"
> diff --git a/package/python-bunch/Config.in b/package/python-bunch/Config.in
> deleted file mode 100644
> index 89eae742b8..0000000000
> --- a/package/python-bunch/Config.in
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -config BR2_PACKAGE_PYTHON_BUNCH
> - bool "python-bunch"
> - help
> - A dot-accessible dictionary (a la JavaScript objects).
> -
> - http://github.com/dsc/bunch
> diff --git a/package/python-bunch/python-bunch.hash b/package/python-bunch/python-bunch.hash
> deleted file mode 100644
> index cfde2db603..0000000000
> --- a/package/python-bunch/python-bunch.hash
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -# md5, sha256 from https://pypi.org/pypi/bunch/json
> -md5 0a829d64e95ed96defbcae2bf9061bb0 bunch-1.0.1.tar.gz
> -sha256 50c77a0fc0cb372dfe48b5e11937d5f70e743adbf42683f3a6d2857645a76aaa bunch-1.0.1.tar.gz
> -# Locally computed sha256 checksums
> -sha256 57ca95c92059c8380625192462979bd32994aae3fcdf902ff6eb1e467eeb0469 LICENSE.txt
> diff --git a/package/python-bunch/python-bunch.mk b/package/python-bunch/python-bunch.mk
> deleted file mode 100644
> index 18fdc223bb..0000000000
> --- a/package/python-bunch/python-bunch.mk
> +++ /dev/null
> @@ -1,14 +0,0 @@
> -################################################################################
> -#
> -# python-bunch
> -#
> -################################################################################
> -
> -PYTHON_BUNCH_VERSION = 1.0.1
> -PYTHON_BUNCH_SOURCE = bunch-$(PYTHON_BUNCH_VERSION).tar.gz
> -PYTHON_BUNCH_SITE = https://files.pythonhosted.org/packages/ef/bf/a4cf1779a4ffb4f610903fa08e15d1f4a8a2f4e3353a02afbe097c5bf4a8
> -PYTHON_BUNCH_SETUP_TYPE = setuptools
> -PYTHON_BUNCH_LICENSE = MIT
> -PYTHON_BUNCH_LICENSE_FILES = LICENSE.txt
> -
> -$(eval $(python-package))
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
More information about the buildroot
mailing list