diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c1ba4f9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-sourcehut-mariusor-go-xsd-duration (0.0~git20220703.02e7343-1) unstable; urgency=low + + * Initial upload to sid, required for forgejo. + + -- Daniel Baumann Sun, 18 May 2025 22:43:53 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e618b77 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: golang-sourcehut-mariusor-go-xsd-duration +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.2 +Homepage: https://git.sr.ht/~mariusor/go-xsd-duration +Vcs-Browser: https://forgejo.debian.net/forgejo/golang-sourcehut-mariusor-go-xsd-duration +Testsuite: autopkgtest-pkg-go +XS-Go-Import-Path: git.sr.ht/~mariusor/go-xsd-duration + +Package: golang-sourcehut-mariusor-go-xsd-duration-dev +Section: golang +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Description: xsd:duration to time.Duration conversion (Go library) + go-xsd-duration is a Go library to convert xsd:duration strings to + time.Duration. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d7339a7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: go-xsd-duration +Upstream-Contact: Marius Orcsik +Source: https://git.sr.ht/~mariusor/go-xsd-duration + +Files: * +Copyright: 2019 Go xsd:duration +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..0af86df --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh ${@} --builddirectory=_build --buildsystem=golang 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)