diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0cc7299 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-github-anmitsu-go-shlex (0.0~git20161002.648efa6-1) unstable; urgency=medium + + * Initial release (Closes: #924783) + + -- Dawid Dziurla Sun, 17 Mar 2019 17:30:28 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..286df6c --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: golang-github-anmitsu-go-shlex +Section: devel +Priority: optional +Maintainer: Debian Go Packaging Team +Uploaders: + Dawid Dziurla , +Rules-Requires-Root: no +Build-Depends: + debhelper-compat (= 12), + dh-golang, +Build-Depends-Indep: + golang-any, + golang-github-flynn-archive-go-shlex-dev, +Standards-Version: 4.3.0 +Homepage: https://github.com/anmitsu/go-shlex +Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-anmitsu-go-shlex +Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-anmitsu-go-shlex.git +XS-Go-Import-Path: github.com/anmitsu/go-shlex +Testsuite: autopkgtest-pkg-go + +Package: golang-github-anmitsu-go-shlex-dev +Architecture: all +Depends: + ${misc:Depends}, + golang-github-flynn-archive-go-shlex-dev, +Description: Library to make a lexical analyzer like Unix shell for golang. + go-shlex is a library to make a lexical analyzer like Unix + shell for Go. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7c06ef1 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,37 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://github.com/anmitsu/go-shlex +Upstream-Name: go-shlex +Files-Excluded: + Godeps/_workspace + +Files: + * +Copyright: + 2015 anmitsu +License: Expat + +Files: + debian/* +Copyright: + 2019 Dawid Dziurla +License: Expat +Comment: Debian packaging is licensed under the same terms as upstream + +License: Expat + 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/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..3e40d2e --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,7 @@ +[DEFAULT] +debian-branch=debian/sid +upstream-branch=upstream +upstream-tag=upstream/%(version)s + +[clone] +postclone=origtargz diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..44584c3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --builddirectory=_build --buildsystem=golang --with=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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..70cb513 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-anmitsu-go-shlex-\$1\.tar\.gz/,\ +uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \ + https://github.com/anmitsu/go-shlex/tags .*/v?(\d\S*)\.tar\.gz