Bug#840500: RFS: asciinema/1.3.0-2 [RC]
Package: sponsorship-requests
Severity: important
Hello
I'm looking for an sponsor of my updated asciinema package
If closes an RC bug, and various fixes/improvements
Here is the last entry in the changelog
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
git repo can be found at
https://anonscm.debian.org/git/collab-maint/asciinema.git
built package can be downloaded from
https://mentors.debian.net/debian/pool/main/a/asciinema/asciinema_1.3.0-2.dsc
attached the debdiff between 1.3.0-1 and 1.3.0-2
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru asciinema-1.3.0/debian/asciinema.manpages asciinema-1.3.0/debian/asciinema.manpages
--- asciinema-1.3.0/debian/asciinema.manpages 2016-07-29 17:06:45.000000000 +0800
+++ asciinema-1.3.0/debian/asciinema.manpages 2016-10-11 09:23:16.000000000 +0800
@@ -1 +1 @@
-debian/asciinema.1
+man/asciinema.1
diff -Nru asciinema-1.3.0/debian/changelog asciinema-1.3.0/debian/changelog
--- asciinema-1.3.0/debian/changelog 2016-07-29 18:37:47.000000000 +0800
+++ asciinema-1.3.0/debian/changelog 2016-10-11 09:28:07.000000000 +0800
@@ -1,3 +1,13 @@
+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
diff -Nru asciinema-1.3.0/debian/control asciinema-1.3.0/debian/control
--- asciinema-1.3.0/debian/control 2016-07-29 23:20:15.000000000 +0800
+++ asciinema-1.3.0/debian/control 2016-10-11 09:28:07.000000000 +0800
@@ -2,7 +2,7 @@
Section: utils
Priority: optional
Maintainer: gustavo panizzo <gfa@zumbi.com.ar>
-Build-Depends: debhelper (>= 9), python3-setuptools, dh-python, python3-all
+Build-Depends: debhelper (>= 9), python3-setuptools, dh-python, python3-all, python3-nose
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/asciinema.git
Vcs-Git: https://anonscm.debian.org/git/collab-maint/asciinema.git
diff -Nru asciinema-1.3.0/debian/copyright asciinema-1.3.0/debian/copyright
--- asciinema-1.3.0/debian/copyright 2016-07-29 18:11:46.000000000 +0800
+++ asciinema-1.3.0/debian/copyright 2016-10-11 09:28:07.000000000 +0800
@@ -3,29 +3,27 @@
Source: http://asciinema.org
Files: *
-Copyright: (c) 2013-2016, Marcin Kulik
-License: MIT
+Copyright: 2013-2016, Marcin Kulik
+License: GPL-3+
Files: debian/*
-Copyright: (c) 2014-2016, gustavo panizzo <gfa@zumbi.com.ar>
-License: MIT
+Copyright: 2014-2016, gustavo panizzo <gfa@zumbi.com.ar>
+License: GPL-3+
-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:
+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.
.
- The above copyright notice and this permission notice shall be
- included in all copies or substantial portions of the Software.
+ 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.
.
- 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.
+ 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 -Nru asciinema-1.3.0/debian/gbp.conf asciinema-1.3.0/debian/gbp.conf
--- asciinema-1.3.0/debian/gbp.conf 2016-07-29 17:06:45.000000000 +0800
+++ asciinema-1.3.0/debian/gbp.conf 2016-10-11 09:28:07.000000000 +0800
@@ -2,4 +2,5 @@
upstream-branch = master
debian-branch = debian/unstable
upstream-tag = v%(version)s
-compression = gzip
+compression = xz
+pristine-tar = True
diff -Nru asciinema-1.3.0/debian/patches/disable-write-pty.patch asciinema-1.3.0/debian/patches/disable-write-pty.patch
--- asciinema-1.3.0/debian/patches/disable-write-pty.patch 1970-01-01 08:00:00.000000000 +0800
+++ asciinema-1.3.0/debian/patches/disable-write-pty.patch 2016-10-11 09:28:07.000000000 +0800
@@ -0,0 +1,20 @@
+Description: disable tests that write to pty
+Until there is a way to use pts devices inside build environments
+this code will cause FTBFS on buildds, Bug: #817236
+Author: gustavo panizzo <gfa@zumbi.com.ar>
+Last-Update: 2016-10-10
+Origin: vendor
+--- a/tests/pty_recorder_test.py
++++ b/tests/pty_recorder_test.py
+@@ -34,11 +34,3 @@ class TestPtyRecorder(Test):
+ if fd != pty.STDOUT_FILENO:
+ self.real_os_write(fd, data)
+
+- def test_record_command_writes_to_stdout(self):
+- pty_recorder = PtyRecorder()
+- output = FakeStdout()
+-
+- command = ['python3', '-c', "import sys; import time; sys.stdout.write(\'foo\'); sys.stdout.flush(); time.sleep(0.01); sys.stdout.write(\'bar\')"]
+- pty_recorder.record_command(command, output)
+-
+- assert_equal([b'foo', b'bar'], output.data)
diff -Nru asciinema-1.3.0/debian/patches/series asciinema-1.3.0/debian/patches/series
--- asciinema-1.3.0/debian/patches/series 1970-01-01 08:00:00.000000000 +0800
+++ asciinema-1.3.0/debian/patches/series 2016-10-11 09:28:07.000000000 +0800
@@ -0,0 +1,2 @@
+use-nosetests3.patch
+disable-write-pty.patch
diff -Nru asciinema-1.3.0/debian/patches/use-nosetests3.patch asciinema-1.3.0/debian/patches/use-nosetests3.patch
--- asciinema-1.3.0/debian/patches/use-nosetests3.patch 1970-01-01 08:00:00.000000000 +0800
+++ asciinema-1.3.0/debian/patches/use-nosetests3.patch 2016-10-11 09:28:07.000000000 +0800
@@ -0,0 +1,15 @@
+Description: use nosetests3 instead of nosetests
+Author: gustavo panizzo <gfa@zumbi.com.ar>
+Last-Update: 2016-10-10
+Origin: vendor
+--- a/Makefile
++++ b/Makefile
+@@ -4,7 +4,7 @@ VERSION=`python3 -c "import asciinema; p
+ test: test-unit test-integration
+
+ test-unit:
+- nosetests
++ nosetests3
+
+ test-integration:
+ tests/integration.sh
diff -Nru asciinema-1.3.0/debian/rules asciinema-1.3.0/debian/rules
--- asciinema-1.3.0/debian/rules 2016-07-29 18:20:09.000000000 +0800
+++ asciinema-1.3.0/debian/rules 2016-10-11 09:28:07.000000000 +0800
@@ -3,3 +3,8 @@
%:
dh $@ --buildsystem=pybuild --with python3
+override_dh_auto_test:
+ $(MAKE) test-unit
+
+clean:
+ dh_clean asciinema.egg-info/ asciinema/commands/__pycache__/ tests/__pycache__/ asciinema/__pycache__/ .pybuild/
Reply to: