Sync from SUSE:ALP:Source:Standard:1.0 golang-github-google-jsonnet revision 48a10acf1721ee60a54725b49c78f4b8
This commit is contained in:
commit
9a36b4d397
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
22
_service
Normal file
22
_service
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/google/go-jsonnet.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="filename">golang-github-google-jsonnet</param>
|
||||||
|
<param name="revision">v0.20.0</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="match-tag">v*</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">golang-github-google-jsonnet-*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled">
|
||||||
|
<param name="basename">golang-github-google-jsonnet</param>
|
||||||
|
</service>
|
||||||
|
<service name="go_modules" mode="disabled" />
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/google/go-jsonnet.git</param>
|
||||||
|
<param name="changesrevision">7903819abfe600dab695e7992295688e15ee7895</param></service></servicedata>
|
BIN
golang-github-google-jsonnet-0.20.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
golang-github-google-jsonnet-0.20.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
23
golang-github-google-jsonnet.changes
Normal file
23
golang-github-google-jsonnet.changes
Normal file
@ -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).
|
68
golang-github-google-jsonnet.spec
Normal file
68
golang-github-google-jsonnet.spec
Normal file
@ -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
|
BIN
vendor.tar.gz
(Stored with Git LFS)
Normal file
BIN
vendor.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user