From 9a36b4d39771c29f5a7158eed00c4ebaf64b91e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 7 Jun 2023 09:56:43 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 golang-github-google-jsonnet revision 48a10acf1721ee60a54725b49c78f4b8 --- .gitattributes | 23 ++++++++ _service | 22 +++++++ _servicedata | 4 ++ golang-github-google-jsonnet-0.20.0.tar.xz | 3 + golang-github-google-jsonnet.changes | 23 ++++++++ golang-github-google-jsonnet.spec | 68 ++++++++++++++++++++++ vendor.tar.gz | 3 + 7 files changed, 146 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 _servicedata create mode 100644 golang-github-google-jsonnet-0.20.0.tar.xz create mode 100644 golang-github-google-jsonnet.changes create mode 100644 golang-github-google-jsonnet.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/_service b/_service new file mode 100644 index 0000000..d798c4b --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + https://github.com/google/go-jsonnet.git + git + .git + golang-github-google-jsonnet + v0.20.0 + @PARENT_TAG@ + enable + v* + v(.*) + \1 + + + golang-github-google-jsonnet-*.tar + xz + + + golang-github-google-jsonnet + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..c3558e9 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/google/go-jsonnet.git + 7903819abfe600dab695e7992295688e15ee7895 \ No newline at end of file diff --git a/golang-github-google-jsonnet-0.20.0.tar.xz b/golang-github-google-jsonnet-0.20.0.tar.xz new file mode 100644 index 0000000..29c8719 --- /dev/null +++ b/golang-github-google-jsonnet-0.20.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8950ce86e97ef778eb0a3e7e331f4629bfcb116356e8d48c3c72e16ff2fd3cb4 +size 14890756 diff --git a/golang-github-google-jsonnet.changes b/golang-github-google-jsonnet.changes new file mode 100644 index 0000000..a57bba5 --- /dev/null +++ b/golang-github-google-jsonnet.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Tue May 16 06:04:49 UTC 2023 - igonzalezsosa@suse.com + +- Update to version v0.20.0: + * Bump version to 0.20.0 (#688) + * Update cpp version (#687) + * increase go rules version to fix bazel build + * fix newline issue breaking test + * Add `std.round` function in standard library. (#683) + * fix tests + * Implement std.isEmpty for string (#678) + * Fixing test cases + * Add std.xor for 2 booleans + * Add support to return int based value from native functions golang implementations + * Updated test cases + * Fixed test cases + * Implement std.xor for booleans + * feat: implement std.sum + +------------------------------------------------------------------- +Mon Apr 10 09:11:52 UTC 2023 - igonzalezsosa@suse.com + +- Initial package (version 0.19.2-pre2). diff --git a/golang-github-google-jsonnet.spec b/golang-github-google-jsonnet.spec new file mode 100644 index 0000000..d5a9fed --- /dev/null +++ b/golang-github-google-jsonnet.spec @@ -0,0 +1,68 @@ +# +# spec file for package name +# +# 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/ +# + + +Name: golang-github-google-jsonnet +Version: 0.20.0 +Release: 0 +Summary: Jsonnet implementation in pure Go +License: Apache-2.0 +URL: https://opensuse.org +Source: %{name}-%{version}.tar.xz +Source1: vendor.tar.gz +BuildRequires: golang-packaging +Provides: jsonnet +Conflicts: jsonnet +%{go_nostrip} + +%description +Feature complete, production-ready implementation of Jsonnet. It is compatible with the original +Jsonnet C++ implementation. + +%prep +%autosetup -p1 -a1 + +%build +go build \ + -mod=vendor \ + -buildmode=pie \ + ./cmd/jsonnet + +go build \ + -mod=vendor \ + -buildmode=pie \ + ./cmd/jsonnetfmt + + +go build \ + -mod=vendor \ + -buildmode=pie \ + ./cmd/jsonnet-lint + +%install +install -D -m0755 %{_builddir}/%{name}-%{version}/jsonnet %{buildroot}%{_bindir}/jsonnet +install -D -m0755 %{_builddir}/%{name}-%{version}/jsonnetfmt %{buildroot}%{_bindir}/jsonnetfmt +install -D -m0755 %{_builddir}/%{name}-%{version}/jsonnet-lint %{buildroot}%{_bindir}/jsonnet-lint + +%files +%license LICENSE +%doc README.md +%{_bindir}/jsonnet +%{_bindir}/jsonnetfmt +%{_bindir}/jsonnet-lint + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..4bd44e1 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e108f4e3b377cec707701c48555c32ef47506b30fb9d96abfafd4ba91df501b +size 1028932