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>
(cherry picked from commit 59f9c25d70)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
This commit is contained in:
Francois Perrad
2026-06-10 08:46:43 +02:00
committed by Titouan Christophe
parent faaa3a4b31
commit 156a50683a
6 changed files with 10 additions and 26 deletions

View File

@@ -144,6 +144,15 @@ endif
###############################################################################
comment "Legacy options removed in 2026.05.2"
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.
comment "Legacy options removed in 2026.05"
config BR2_PACKAGE_PTPD2

View File

@@ -2238,10 +2238,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

@@ -699,7 +699,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))