summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/control27
-rw-r--r--debian/copyright33
-rw-r--r--debian/gbp.conf15
-rw-r--r--debian/gitlab-ci.yml26
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/salsa-ci.yml4
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch2
10 files changed, 121 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d0ebf1d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+golang-github-elisescu-pty (1.0.2-1) experimental; urgency=medium
+
+ * Initial release. (Closes: #969941)
+
+ -- Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net> Wed, 09 Sep 2020 06:33:43 +0000
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f8f8175
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: golang-github-elisescu-pty
+Section: devel
+Priority: optional
+Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
+Uploaders: Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net>
+Build-Depends: debhelper-compat (= 13),
+ dh-golang,
+ golang-any
+Standards-Version: 4.5.0
+Rules-Requires-Root: no
+Homepage: https://github.com/elisescu/pty
+Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-elisescu-pty
+Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-elisescu-pty.git
+Testsuite: autopkgtest-pkg-go
+XS-Go-Import-Path: github.com/elisescu/pty
+
+Package: golang-github-elisescu-pty-dev
+Architecture: all
+Depends: ${misc:Depends}
+Description: Golang package for using Unix pseudo-terminals
+ Package pty provides functions for working with Unix terminals.
+ .
+ Functions include:
+ * Open a pty and its corresponding tty.
+ * Assign a pseudo-terminal tty to stdin, stdout, and stderr.
+ * Execute the commands with assigned tty and get the corresponding pty.
+ * Set and resize the pty to the specified size.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..349b485
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pty
+Upstream-Contact: Vasile Popescu <elisescu@elisescu.com>
+Source: https://github.com/elisescu/pty
+
+Files: *
+Copyright: 2011-2014 Keith Rarick <kr@xph.us>
+ 2017 Vasile Popescu <elisescu@elisescu.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2020 Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net>
+License: Expat
+
+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..23ae3db
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,15 @@
+[DEFAULT]
+debian-branch = debian/master
+pristine-tar = True
+
+[buildpackage]
+sign-tags = True
+
+[import-orig]
+filter-pristine-tar = True
+
+[pq]
+patch-numbers = False
+
+[dch]
+multimaint-merge = True
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
new file mode 100644
index 0000000..03e820d
--- /dev/null
+++ b/debian/gitlab-ci.yml
@@ -0,0 +1,26 @@
+# auto-generated, DO NOT MODIFY.
+# The authoritative copy of this file lives at:
+# https://salsa.debian.org/go-team/ci/blob/master/config/gitlabciyml.go
+
+image: stapelberg/ci2
+
+test_the_archive:
+ artifacts:
+ paths:
+ - before-applying-commit.json
+ - after-applying-commit.json
+ script:
+ # Create an overlay to discard writes to /srv/gopath/src after the build:
+ - "rm -rf /cache/overlay/{upper,work}"
+ - "mkdir -p /cache/overlay/{upper,work}"
+ - "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src"
+ - "export GOPATH=/srv/gopath"
+ - "export GOCACHE=/cache/go"
+ # Build the world as-is:
+ - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json"
+ # Copy this package into the overlay:
+ - "GBP_CONF_FILES=:debian/gbp.conf gbp buildpackage --git-no-pristine-tar --git-ignore-branch --git-ignore-new --git-export-dir=/tmp/export --git-no-overlay --git-tarball-dir=/nonexistant --git-cleaner=/bin/true --git-builder='dpkg-buildpackage -S -d --no-sign'"
+ - "pgt-gopath -dsc /tmp/export/*.dsc"
+ # Rebuild the world:
+ - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json"
+ - "ci-diff before-applying-commit.json after-applying-commit.json"
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/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..33c3a64
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,4 @@
+---
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
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..3078210
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/elisescu/pty/issues
+Bug-Submit: https://github.com/elisescu/pty/issues/new
+Repository: https://github.com/elisescu/pty.git
+Repository-Browse: https://github.com/elisescu/pty
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c49834c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com/elisescu/pty/releases .*/archive/v?@ANY_VERSION@@ARCHIVE_EXT@