From c41736f79eb2b5d0662d176f2b88aaab9fb98d08 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 22 May 2025 08:09:01 +0200 Subject: [PATCH] Adding debian version 0.10.5-1. Signed-off-by: Daniel Baumann --- debian/changelog | 5 +++ debian/control | 27 +++++++++++++++ debian/copyright | 72 ++++++++++++++++++++++++++++++++++++++++ debian/rules | 11 ++++++ debian/source/format | 1 + debian/upstream/metadata | 5 +++ debian/watch | 2 ++ 7 files changed, 123 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9813ee9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-github-goccy-go-json (0.10.5-1) unstable; urgency=low + + * Initial upload to sid, required for beszel. + + -- Daniel Baumann Thu, 22 May 2025 08:04:35 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..670e94a --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: golang-github-goccy-go-json +Section: golang +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-sequence-golang, + golang-any, + golang-github-francoispqt-gojay-dev, + golang-github-mailru-easyjson-dev, + golang-github-pquerna-ffjson-dev, +Rules-Requires-Root: no +Standards-Version: 4.7.2 +Homepage: https://github.com/goccy/go-json +Vcs-Browser: https://forgejo.debian.net/beszel/golang-github-goccy-go-json +Vcs-Git: https://forgejo.debian.net/beszel/golang-github-goccy-go-json +Testsuite: autopkgtest-pkg-go +XS-Go-Import-Path: github.com/goccy/go-json + +Package: golang-github-goccy-go-json-dev +Section: golang +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Description: JSON encoder/decoder compatible with encoding/json (Go library) + go-json is Go library to encode and decode JSON. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fdb965b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,72 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: go-json +Upstream-Contact: https://github.com/goccy/go-json/issues +Source: https://github.com/goccy/go-json/tags + +Files: * +Copyright: 2020 Masaaki Goshima +License: MIT + +Files: benchmarks/bench_test.go + number_test.go + stream_test.go + tagkey_test.go + test/example/example_text_marshaling_test.go + test/example/example_marshaling_test.go + test/example/example_test.go +Copyright: 2011 The Go Authors +License: BSD-3-clause + +Files: internal/encoder/int.go + internal/encoder/string.go +Copyright: 2019 Segment.io, Inc. +License: MIT + +Files: debian/* +Copyright: 2025 Daniel Baumann +License: MIT + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + . + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + * Neither the name of Google Inc. nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..54d5d2c --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh ${@} --builddirectory=_build --buildsystem=golang + +execute_after_dh_auto_install: + # removing unused files + rm -rf debian/golang-github-goccy-go-json-dev/usr/bin + +override_dh_auto_test: + # disabled (needs upstream fixes) diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..be67f69 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/goccy/go-json/issues +Bug-Submit: https://github.com/goccy/go-json/issues/new +Repository: https://github.com/goccy/go-json.git +Repository-Browse: https://github.com/goccy/go-json diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..6d688da --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/goccy/go-json/tags .*/v?(\d.*)@ARCHIVE_EXT@