From 765833458a70633fe6dfd0b4885ded0d57074127 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 24 May 2025 11:20:33 +0200 Subject: [PATCH] Adding debian version 0.0~git20250112.cbee01f-1. Signed-off-by: Daniel Baumann --- debian/changelog | 5 +++++ debian/control | 23 +++++++++++++++++++++++ debian/copyright | 31 +++++++++++++++++++++++++++++++ debian/rules | 7 +++++++ debian/source/format | 1 + debian/upstream/metadata | 5 +++++ debian/watch | 2 ++ 7 files changed, 74 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..2837ab5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-github-dimonomid-clock (0.0~git20250112.cbee01f-1) unstable; urgency=low + + * Initial upload to sid, required for nerdlog. + + -- Daniel Baumann Sat, 24 May 2025 11:17:13 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..88b032c --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: golang-github-dimonomid-clock +Section: golang +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: debhelper-compat (= 13), + dh-sequence-golang, + golang-any, +Rules-Requires-Root: no +Standards-Version: 4.7.0 +Homepage: https://github.com/dimonomid/clock +Vcs-Browser: https://forgejo.debian.net/nerdlog/golang-github-dimonomid-clock +Vcs-Git: https://forgejo.debian.net/nerdlog/golang-github-dimonomid-clock +Testsuite: autopkgtest-pkg-go +XS-Go-Import-Path: github.com/dimonomid/clock + +Package: golang-github-dimonomid-clock-dev +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, +Description: mocking time (Go library) + Clock is a small library for mocking time in Go. It provides an interface + around the standard library's time package so that the application can use + the realtime clock while tests can use the mock clock. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f8515f1 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: clock +Upstream-Contact: https://github.com/dimonomid/clock/issues +Source: https://github.com/dimonomid/clock/tags + +Files: * +Copyright: 2014 Ben Johnson +License: MIT + +Files: debian/* +Copyright: 2025 Daniel Baumann +License: MIT + +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..2d4fd41 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh ${@} --builddirectory=_build --buildsystem=golang + +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..4e21da2 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/dimonomid/clock/issues +Bug-Submit: https://github.com/dimonomid/clock/issues/new +Repository: https://github.com/dimonomid/clock.git +Repository-Browse: https://github.com/dimonomid/clock diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..6ba361d --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/dimonomid/clock/tags .*/v?(\d.*)@ARCHIVE_EXT@