summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:27:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:27:44 +0000
commit32a000d14361b76a22f0db8d22553d7fa2a1b40c (patch)
treeb3b4e83e7f01625e58f3b6c256d47c01e90e7238
parentAdding upstream version 2.2.0. (diff)
downloadasciinema-debian.tar.xz
asciinema-debian.zip
Adding debian version 2.2.0-1.debian/2.2.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/asciinema.131
-rw-r--r--debian/asciinema.docs4
-rw-r--r--debian/asciinema.manpages1
-rw-r--r--debian/changelog86
-rw-r--r--debian/control21
-rw-r--r--debian/copyright29
-rw-r--r--debian/gbp.conf6
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/use-pytest3.patch15
-rwxr-xr-xdebian/rules21
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata7
-rw-r--r--debian/upstream/signing-key.asc29
-rw-r--r--debian/watch3
14 files changed, 255 insertions, 0 deletions
diff --git a/debian/asciinema.1 b/debian/asciinema.1
new file mode 100644
index 0000000..e1b8e4a
--- /dev/null
+++ b/debian/asciinema.1
@@ -0,0 +1,31 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH ASCIINEMA "1" "March 2014" "asciinema 0.9.8" "User Commands"
+.SH NAME
+asciinema \- Record and share your terminal sessions
+.SH DESCRIPTION
+usage: asciinema [\-h] [\-y] [\-c <command>] [\-t <title>] [action]
+.PP
+Asciicast recorder+uploader.
+.SS "Actions:"
+.TP
+rec
+record asciicast (this is the default when no action given)
+.TP
+auth
+authenticate and/or claim recorded asciicasts
+.SS "Optional arguments:"
+.TP
+\fB\-c\fR command
+run specified command instead of shell ($SHELL)
+.TP
+\fB\-t\fR title
+specify title of recorded asciicast
+.TP
+\fB\-y\fR
+don't prompt for confirmation
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+show version information
diff --git a/debian/asciinema.docs b/debian/asciinema.docs
new file mode 100644
index 0000000..75f103e
--- /dev/null
+++ b/debian/asciinema.docs
@@ -0,0 +1,4 @@
+doc/*
+CONTRIBUTING.md
+README.md
+CODE_OF_CONDUCT.md
diff --git a/debian/asciinema.manpages b/debian/asciinema.manpages
new file mode 100644
index 0000000..1aafb8c
--- /dev/null
+++ b/debian/asciinema.manpages
@@ -0,0 +1 @@
+man/asciinema.1
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fa9aa3c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,86 @@
+asciinema (2.2.0-1) unstable; urgency=medium
+
+ * New upstream release
+ * [e89021] Update copyright years
+ * [2b9a2e] Use the new pybuild plugin to build packages using a pyproject file
+ * [322bfa] Upstream has moved from nosetest to pytest,
+ change the package accordingly.
+ * [943b84] Update the d/watch file to version 4 and
+ validate the signature of the git tag
+ * [d663bc] Update standards version
+ * [732ec6] Install docs
+ * [140513] Build more verbosely
+ * [9b8514] Do not build the package as root
+ * [6d2572] Add an upstream metadata file
+ * [a858cd] Use debhelper compat level 13
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Thu, 19 May 2022 23:01:29 +0200
+
+asciinema (2.0.1-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #902746)
+ * Disable failing tests
+ * Run tests conditionally if set on DEB_BUILD_OPTIONS's value
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Mon, 09 Jul 2018 21:51:17 +0800
+
+asciinema (2.0.0-1) unstable; urgency=medium
+
+ * New upstream release
+ * Increase standards version to 4.1.3, no changes were needed
+ * Raise the compat level to 11
+ * Use secure URLs in the copyright file, update years
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Fri, 16 Feb 2018 02:58:31 +0000
+
+asciinema (1.4.0-2) unstable; urgency=medium
+
+ * Add missing dependency on python3-pkg-resources (Closes: #882970)
+ * Increase standards version to 4.1.2, no changes were needed
+ * Use dpkg helpers to determine various variables used in debian/rules
+ * Add upstream GPG public key
+ * Now gen-orig-gz target in debian/rules verifies the signed tags
+ * Update VCS-* fields to use salsa.debian.org
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Tue, 26 Dec 2017 10:17:58 +0800
+
+asciinema (1.4.0-1) unstable; urgency=medium
+
+ * New upstream release
+ * Add gen-orig-gz target to debian/rules
+ * Change debian/gbp.conf to use gz
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Sat, 22 Jul 2017 16:25:29 +0800
+
+asciinema (1.3.0-2) unstable; urgency=medium
+
+ * Correct the license from MIT to GPL-3+ (Closes: #840134).
+ * Relicense the debian directory to GPL-3+
+ * Use upstream manpage
+ * Run the test suite, as it does not get run by default
+ * Store the generated tarball using pristine-tar
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Tue, 11 Oct 2016 09:28:07 +0800
+
+asciinema (1.3.0-1) unstable; urgency=medium
+
+ * New upstream release
+ * Section changed to utils. (Closes: #832185)
+ * Drop patch uploads-over-https.patch
+ * Increase standars version to 3.9.8, no changes were needed
+ * Fix lintian warnings on debian/copyright
+ * Use secure URL for Vcs-* fields
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Fri, 29 Jul 2016 17:07:04 +0800
+
+asciinema (0.9.8-2) unstable; urgency=medium
+
+ * Now uploads are done over https by default. (Closes: #794298).
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Tue, 04 Aug 2015 00:08:03 +0800
+
+asciinema (0.9.8-1) unstable; urgency=low
+
+ * Initial release. (Closes: #740379)
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Fri, 28 Feb 2014 18:15:02 -0300
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..80a8aeb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: asciinema
+Section: utils
+Priority: optional
+Maintainer: gustavo panizzo <gfa@zumbi.com.ar>
+Build-Depends: debhelper-compat (= 13), python3-setuptools, pybuild-plugin-pyproject, python3-all, dh-python, python3-pytest
+Standards-Version: 4.6.0.1
+Vcs-Browser: https://salsa.debian.org/debian/asciinema
+Vcs-Git: https://salsa.debian.org/debian/asciinema.git
+Homepage: https://asciinema.org
+Rules-Requires-Root: no
+
+Package: asciinema
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources
+Recommends: ${python3:Recommends}
+Description: Record and share your terminal sessions, the right way
+ Forget screen recording apps and blurry video. Enjoy a lightweight,
+ purely text based approach to terminal recording.
+ .
+ This package provides a command line recorder for asciinema.org service
+ or other instance of asciinema server.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..06a02ab
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: asciinema
+Source: https://asciinema.org
+
+Files: *
+Copyright: 2013-2022, Marcin Kulik
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2014-2022, gustavo panizzo <gfa@zumbi.com.ar>
+License: GPL-3+
+
+License: GPL-3+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GPL v3 can be found in
+ /usr/share/common-licenses/GPL-3
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..f3a2d52
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,6 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = debian/unstable
+upstream-tag = v%(version)s
+compression = gz
+pristine-tar = True
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a1da758
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-pytest3.patch
diff --git a/debian/patches/use-pytest3.patch b/debian/patches/use-pytest3.patch
new file mode 100644
index 0000000..9b65c14
--- /dev/null
+++ b/debian/patches/use-pytest3.patch
@@ -0,0 +1,15 @@
+Description: call pytest-3 instead of pytest
+Author: gustavo panizzo <gfa@zumbi.com.ar>
+Last-Update: 2022-05-17
+Origin: vendor
+--- a/Makefile
++++ b/Makefile
+@@ -8,7 +8,7 @@ test: test.unit test.integration
+
+ .PHONY: test.unit
+ test.unit:
+- pytest
++ pytest-3
+
+ .PHONY: test.integration
+ test.integration:
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e55e84c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk
+
+%:
+ dh $@ --buildsystem=pybuild --verbose --with python3
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ $(MAKE) test.unit
+endif
+
+clean:
+ dh_clean asciinema.egg-info/ asciinema/commands/__pycache__/ tests/__pycache__/ asciinema/__pycache__/ .pybuild/ pybuild/ .mypy_cache/
+
+# taken from openstack-pkg-tools
+gen-orig-gz:
+ git tag -v v$(DEB_VERSION_UPSTREAM)
+ if [ ! -f ../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz ] ; then \
+ git archive --prefix=$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)/ v$(GIT_TAG) | gzip >../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz ; \
+ fi
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..9f872a6
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,7 @@
+Bug-Database: https://github.com/asciinema/asciinema/issues
+Bug-Submit: https://github.com/asciinema/asciinema/issues/new
+Changelog: https://github.com/asciinema/asciinema/commits/master
+Contact: https://github.com/asciinema
+Name: asciinema
+Repository: https://github.com/asciinema/asciinema.git
+Repository-Browse: https://github.com/asciinema/asciinema
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644
index 0000000..0a4463d
--- /dev/null
+++ b/debian/upstream/signing-key.asc
@@ -0,0 +1,29 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQENBFRIBHgBCADNwxgcUnH80PpS6brlLfWaNSmjKfJHTrzz1Ybx4QMfIRjWnNS5
+Bkip+5Kn1vSkH6dZ8OVuWs2PcY/DNhGTpgk/n2AH0eNv5NSzDoNAcO7M9BvrQg9q
+O7HDq6CjxZeYS4KyltH2CPh3NdXhXxuZFDQW+Znb2sTMD80uE9XOoRJ5TGzPnp11
+h3TslqgKUQE9TzoTP3AXzFcjTH5CWjuk50UHu1oKi5qV83BmKokQOWnoo7QMeGmT
+l58hMwnJvSRFFtR3kHkknLzLEGJ+UNOKM39aRNDC791uTC1YRDaexZMJyTB6ZU/w
+C6L8MqBpsAKBnON45w9+9HAoWwmvAdXd3cPjABEBAAG0Gk1hcmNpbiBLdWxpayA8
+bUBrdTFpay5jb20+iQE4BBMBAgAiBQJUSAR4AhsDBgsJCAcDAgYVCAIJCgsEFgID
+AQIeAQIXgAAKCRCaonDwpZtDgZ/QB/95L+swqMBnCqZ0ZqXZttCo8FH3mUQrEOnv
+UTINp+FVdkm2wa6i70VqA7u8TyPdcdcJ/BiBTO0LgF+6u4jj+lzhT54qhF0+aR/B
+HlqxZv3/7kxIv2ykLlLsJQS84bSaZNnS6c0JfT+0DPR5KifdNRapU/tTz8+bopp1
+CQGwBNFZMQwwOwKlNe0X83BAHotN36KjJZTrjbqRpV0uD+rTVNdDGWE3DrrBrD88
+TVkYt5IJjopVyVszgjaRf6lCt6WxQPh+C+vHF+UzJqa5dezurZpbr2YXAAzVdMb7
+chlmknebPf7KlZ1gWwLvznnvTEbLBNap8eErc522LZxj/uAvRn0IuQENBFRIBHgB
+CAC1a8L/VU+c3EhC3HF1R5tRC93ntV8ftt88HH+EEaS6ev9t8k7tWMaduUulrByQ
+m5PTlJnOJl4KEXAiNneGqLbxv67QJqc2QJ+ztJsdbq2wVPyaqXWOdXDYg7tSlJGG
+Q3YWJrjum9a8/fACDwdDjfnTz4+UwCpZCb75zFNIy8bDX+Wg2RoMGi3OFQYNMXrh
+45YaufOcP7EM8KKYucyezjtYZVv+hzxbLa8uIPxaUyAKlQZtarJhQ/XOAebISl6b
+cVfLoV+oM3atZRIWPtjuJUvoNn0wk4eeIjfFnbJv2zxobVldWgFJxofaN6gjmisH
+klupmL8zQJfh9rQqiIKH+0TdABEBAAGJAR8EGAECAAkFAlRIBHgCGwwACgkQmqJw
+8KWbQ4GiwggAuF/dhW+moUQEYQ4I3sOyb1R4WSH8KKWm3aFKGsCnWGkCfIQ4U/Tr
+4D/5JUIr2BCqssXofVz8lmswzIbQ5nl9jysSqtTfqHq6rW0v4eQaZAZ61Ir4ddqx
+SXzBKlVUuF59iF2Q0gRfu7DkFIFQicqiFA6pEOGFYftpnUYkyAuRL3k+j8KGCzLR
+i4vYKl/bSIcjn0vJb8oPzhLQWLU5mh0O5fyDn9RqajSEdFEjE/Nya6IzvysfZD5u
+Z+/Lh/B+iPnHqx8f9px+vHhIrSVFQ5OOqdZX7sTKXCW3QtJ3EG8HhwokgD5Usj0p
+f05dhc4OB72+hDaKhFWgPIVGBcIg86kOpw==
+=Aoq1
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..019f11c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts="mode=git,pgpmode=gittag" \
+https://github.com/asciinema/asciinema.git refs/tags/v([\d\.]+)