commit dbac077b79cc7c7f3d67aa70f29146bace5a6d92abf2f580323c48e9deeffa8a Author: Matej Cepl Date: Thu Sep 15 07:44:44 2022 +0000 Accepting request 1002512 from home:Pi-Cla Added the requested tests OBS-URL: https://build.opensuse.org/request/show/1002512 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-testmore?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..72d2b45 --- /dev/null +++ b/_multibuild @@ -0,0 +1,5 @@ + +lua51 +lua53 +lua54 + diff --git a/_service b/_service new file mode 100644 index 0000000..a44516a --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://framagit.org/fperrad/lua-TestMore.git + @PARENT_TAG@+git@TAG_OFFSET@ + git + e441547009f891a259c6324ef50d9ed9fee39538 + (\d+.\d+.\d+) + \1 + + + + *.tar + xz + + + diff --git a/lua-TestMore-0.3.6+git2.tar.xz b/lua-TestMore-0.3.6+git2.tar.xz new file mode 100644 index 0000000..0b4e475 --- /dev/null +++ b/lua-TestMore-0.3.6+git2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bce7f03000383cfae704f0a1809673b6738b4eb2b7c4509894ac8f485bc4db7e +size 18772 diff --git a/lua-testmore.changes b/lua-testmore.changes new file mode 100644 index 0000000..60ed8d1 --- /dev/null +++ b/lua-testmore.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Aug 25 04:21:54 UTC 2022 - Gordon Leung + +- initial commit diff --git a/lua-testmore.spec b/lua-testmore.spec new file mode 100644 index 0000000..fafb596 --- /dev/null +++ b/lua-testmore.spec @@ -0,0 +1,64 @@ +# +# spec file +# +# 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 testmore +Version: 0.3.6+git2 +Release: 0 +Summary: A Lua port of the Perl Test::More unit testing framework +License: MIT +Group: Development/Languages/Other +URL: https://framagit.org/fperrad/lua-TestMore +Source: lua-TestMore-%{version}.tar.xz +BuildRequires: %{flavor}-devel +Requires: %{flavor} +%lua_provides +%if "%{flavor}" == "" +Name: lua-%{mod_name} +ExclusiveArch: do_not_build +%else +Name: %{flavor}-%{mod_name} +%endif +BuildArch: noarch + +%description +lua-TestMore is a port of the Perl5 module Test::More. It uses the +Test Anything Protocol as output, that allows a compatibility with +the Perl QA ecosystem. It's an extensible framework. +See lua-TestAssertion an extension which provides many Lua friendly +assertions. It allows a simple and efficient way to write tests +(without OO style). Some tests could be marked as TODO or skipped. +Errors could be fully checked with error_like(). + +%prep +%autosetup -n lua-TestMore-%{version} + +%build + +%install +%make_install LUAVER="%{lua_version}" PREFIX=/usr + +%check +make check + +%files +%license COPYRIGHT +%doc README.md CHANGES +%{lua_noarchdir} + +%changelog