<commit_before>#
# Copyright (C) 2019 <NAME>
#
# This is free software, licensed under the GNU General Public License v2.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=lua-argparse
PKG_VERSION:=0.6.0
PKG_RELEASE:=1
PKG_MAINTAINER:=<NAME> <<EMAIL>>
PKG_LICENSE:=MIT

PKG_SOURCE:=argparse-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/mpeterv/argparse/archive/$(PKG_VERSION)/
PKG_HASH:=0eddda29d591536bc7310b99ce7acc3e5e00557f18d6e63ab10d56683e8952f1
PKG_BUILD_DIR:=$(BUILD_DIR)/argparse-$(PKG_VERSION)

include $(INCLUDE_DIR)/package.mk

define Package/lua-argparse
	SUBMENU:=Lua
	SECTION:=lang
	CATEGORY:=Languages
	TITLE:=Lua argparse
	URL:=https://github.com/mpeterv/argparse
	DEPENDS:=+lua
	MAINTAINER:=<NAME> <<EMAIL>>
endef

define Package/lua-argparse/description
	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.
endef


define Build/Configure
endef

define Build/Compile<commit_msg>lua-argparse: one package for all architectures<commit_after>#
# Copyright (C) 2019 <NAME>
#
# This is free software, licensed under the GNU General Public License v2.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=lua-argparse
PKG_VERSION:=0.6.0
PKG_RELEASE:=2
PKG_MAINTAINER:=<NAME> <<EMAIL>undi.net>
PKG_LICENSE:=MIT

PKG_SOURCE:=argparse-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/mpeterv/argparse/archive/$(PKG_VERSION)/
PKG_HASH:=0eddda29d591536bc7310b99ce7acc3e5e00557f18d6e63ab10d56683e8952f1
PKG_BUILD_DIR:=$(BUILD_DIR)/argparse-$(PKG_VERSION)

include $(INCLUDE_DIR)/package.mk

define Package/lua-argparse
	SUBMENU:=Lua
	SECTION:=lang
	CATEGORY:=Languages
	TITLE:=Lua argparse
	URL:=https://github.com/mpeterv/argparse
	DEPENDS:=+lua
	PKGARCH:=all
	MAINTAINER:=<NAME> <<EMAIL>>
endef

define Package/lua-argparse/description
	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.
endef


define Build/Configure
endef

define Build/Compile
{'fraction_non_alphanumeric': 0.10859929078014184, 'fraction_numerical': 0.04343971631205674, 'mean_word_length': 6.625, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2244196', 'n_tokens_mistral': 906, 'n_tokens_neox': 811, 'n_words': 173}