summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-02-17 19:51:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-02-17 19:51:35 +0000
commit44d300873244397ba4586914e989d092a398c253 (patch)
treed36547e75abb15079009e76232ab327e69adc7a0
parentAdding upstream version 0.0~git20220118.692d84c. (diff)
downloadgolang-github-wader-readline-44d300873244397ba4586914e989d092a398c253.tar.xz
golang-github-wader-readline-44d300873244397ba4586914e989d092a398c253.zip
Adding debian version 0.0~git20220118.692d84c-2.debian/0.0_git20220118.692d84c-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog11
-rw-r--r--debian/control28
-rw-r--r--debian/copyright63
-rw-r--r--debian/gbp.conf3
-rw-r--r--debian/gitlab-ci.yml6
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch4
9 files changed, 128 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..77c47d8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+golang-github-wader-readline (0.0~git20220118.692d84c-2) unstable; urgency=medium
+
+ * Fix missing copyright information in debian/copyright.
+
+ -- Daniel Milde <daniel@milde.cz> Sat, 12 Feb 2022 03:11:15 -0600
+
+golang-github-wader-readline (0.0~git20220118.692d84c-1) unstable; urgency=medium
+
+ * Initial release (Closes: 1004163)
+
+ -- Daniel Milde <daniel@milde.cz> Sat, 22 Jan 2022 00:08:14 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b0b4fa4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: golang-github-wader-readline
+Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
+Uploaders: Daniel Milde <daniel@milde.cz>
+Section: golang
+Testsuite: autopkgtest-pkg-go
+Priority: optional
+Build-Depends: debhelper-compat (= 13),
+ dh-golang,
+ golang-any,
+ golang-github-nbutton23-zxcvbn-go-dev
+Standards-Version: 4.6.0
+Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-wader-readline
+Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-wader-readline.git
+Homepage: https://github.com/wader/readline
+Rules-Requires-Root: no
+XS-Go-Import-Path: github.com/wader/readline
+
+Package: golang-github-wader-readline-dev
+Architecture: all
+Multi-Arch: foreign
+Depends: golang-github-nbutton23-zxcvbn-go-dev,
+ ${misc:Depends}
+Description: Readline is a pure go(golang) implementation for GNU-Readline like library
+ Readline supports multiple platforms (Windows, OSX, GNU/Linux), and enables
+ applications to provide a terminal user interface that is able to dynmically
+ interact with the user on one terminal line.
+ .
+ Fork from github.com/chzyer/readline which is not maintained anymore.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7131173
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,63 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: readline
+Upstream-Contact: Mattias Wadman <mattias.wadman@gmail.com>
+Source: https://github.com/wader/readline
+
+Files: *
+Copyright: 2015 ChenYe (Chzyer), 2021 Mattias Wadman
+License: Expat
+
+Files: term*.go
+Copyright: 2011, 2013 The Go Authors
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2021 Daniel Milde <daniel@milde.cz>
+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.
+
+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
+ OWNER 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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..3d450c2
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+debian-branch = debian/sid
+dist = DEP14
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
new file mode 100644
index 0000000..594e14e
--- /dev/null
+++ b/debian/gitlab-ci.yml
@@ -0,0 +1,6 @@
+# auto-generated, DO NOT MODIFY.
+# The authoritative copy of this file lives at:
+# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go
+---
+include:
+ - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..aa3153f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+export DH_GOLANG_EXCLUDES := example
+
+%:
+ 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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..93de54c
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/wader/readline/issues
+Bug-Submit: https://github.com/wader/readline/issues/new
+Repository: https://github.com/wader/readline.git
+Repository-Browse: https://github.com/wader/readline
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4aa07cd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%,\
+ uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/" \
+ https://github.com/wader/readline/tags .*/v?(\d\S*)\.tar\.gz debian