- Lua inspect 3.1.3

OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/lua-inspect?expand=0&rev=1
This commit is contained in:
2022-11-24 19:19:30 +00:00
committed by Git OBS Bridge
commit ad384d8928
6 changed files with 102 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

5
_multibuild Normal file
View File

@@ -0,0 +1,5 @@
<multibuild>
<package>lua51</package>
<package>lua53</package>
<package>lua54</package>
</multibuild>

3
lua-inspect-3.1.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43386a613f9916186af4919f36392d8b8dad8c4428a5f8c85ebac80acba71eeb
size 13615

4
lua-inspect.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Nov 24 19:18:34 UTC 2022 - Michal Suchanek <msuchanek@suse.com>
- Lua inspect 3.1.3

66
lua-inspect.spec Normal file
View File

@@ -0,0 +1,66 @@
#
# spec file for package lua-shell-games
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define flavor @BUILD_FLAVOR@
%define mod_name inspect
Version: 3.1.3
Release: 0
Summary: Library for printing Lua values
License: MIT
Group: Development/Libraries/Other
URL: https://github.com/kikito/inspect.lua
Source: https://github.com/kikito/inspect.lua/archive/v%{version}.tar.gz#/lua-%{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-busted
BuildRequires: %{flavor}-devel
BuildRequires: %{flavor}-luacheck
BuildRequires: %{flavor}-luarocks
BuildRequires: lua-macros
Requires: %{flavor}
BuildArch: noarch
%lua_provides
%if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif
%description
This library transforms any Lua value into a human-readable representation. It is especially useful for debugging errors in tables.
The objective here is human understanding (i.e. for debugging), not serialization or compactness.
%prep
%autosetup -p1 -n %{mod_name}.lua-%{version}
%build
%install
install -m 0755 -p -d %{buildroot}%{lua_noarchdir}
install -v -D -m 0644 -p -t %{buildroot}%{lua_noarchdir} %{mod_name}.lua
%check
%make_build check
%make_build test
%files
%license MIT-LICENSE.txt
%doc README.md CHANGELOG.md
%{lua_noarchdir}/%{mod_name}*
%changelog