package/argparse: remove package

Duplicate of lua-argparse.

Note: the argparse package was introduced in Buildroot commit [1].
lua-argparse was introduced in [2]. For consistency with other Lua
packages which has the "lua-" prefix, this commit removes the package
without the prefix.

[1] 169d1632d5
[2] e70abe9716

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Francois Perrad 2026-06-10 08:46:43 +02:00 committed by Julien Olivain
commit 59f9c25d70
6 changed files with 8 additions and 26 deletions

View file

@ -146,6 +146,13 @@ endif
comment "Legacy options removed in 2026.08"
config BR2_PACKAGE_ARGPARSE
bool "argparse has been removed"
select BR2_LEGACY
select BR2_PACKAGE_LUA_ARGPARSE
help
Package argparse duplicates the package lua-argparse.
config BR2_KERNEL_HEADERS_7_0
bool "kernel headers version 7.0.x are no longer supported"
select BR2_LEGACY

View file

@ -2250,10 +2250,10 @@ F: board/orangepi/orangepi-zero3/
F: configs/grinn_*
F: configs/orangepi_zero_plus_defconfig
F: configs/orangepi_zero3_defconfig
F: package/argparse/
F: package/dt-utils/
F: package/easydbus/
F: package/gitlab-runner/
F: package/lua-argparse/
F: package/lua-flu/
F: package/lua-stdlib/
F: package/luaossl/

View file

@ -702,7 +702,6 @@ menu "Lua libraries/modules"
# upstream package is "luafoo", call it "luafoo" in Buildroot; if the upstream
# package is "foo", call it "lua-foo". Many packages currently don't follow
# this convention, but that's historical accident.
source "package/argparse/Config.in"
source "package/cgilua/Config.in"
source "package/copas/Config.in"
source "package/coxpcall/Config.in"

View file

@ -1,10 +0,0 @@
config BR2_PACKAGE_ARGPARSE
bool "argparse"
help
Argparse is a feature-rich command line parser for Lua
inspired by argparse for Python. Argparse supports
positional arguments, options, flags, optional arguments,
subcommands and more. Argparse automatically generates
usage, help and error messages.
https://github.com/luarocks/argparse

View file

@ -1,3 +0,0 @@
# computed by luarocks/buildroot
sha256 ea30d0643586a20aeb6349ca8cb7db63aefc21d9aa007c7b7168a7c564817879 argparse-0.7.1-1.src.rock
sha256 9a918f21485b2a4529c901491d9101392f03586d65ad5b024a4445ebc1dc37b4 argparse-0.7.1/LICENSE

View file

@ -1,11 +0,0 @@
################################################################################
#
# argparse
#
################################################################################
ARGPARSE_VERSION = 0.7.1-1
ARGPARSE_LICENSE = MIT
ARGPARSE_LICENSE_FILES = $(ARGPARSE_SUBDIR)/LICENSE
$(eval $(luarocks-package))