diff -Nru distorm3-3.4.1/debian/changelog distorm3-3.4.1/debian/changelog --- distorm3-3.4.1/debian/changelog 2020-02-10 07:22:47.000000000 +0000 +++ distorm3-3.4.1/debian/changelog 2020-02-11 01:06:28.000000000 +0000 @@ -1,20 +1,36 @@ -distorm3 (3.4.1-3ubuntu3) focal; urgency=medium +distorm3 (3.4.1-4) unstable; urgency=medium - * No-change rebuild with fixed binutils on arm64. + * QA upload. + * Set Debian QA Group as maintainer. (See #951161) + * Remove Python2 support. Consequently: + - debian/control: + ~ Removed binary python-distorm3. + ~ Removed python and python-setuptools from Build-Depends field. + - debian/rules: + ~ Changed from python2.7 to python3 in override_dh_install-arch + target. + ~ Removed addon python2. + - Closes: #943043 + * debian/control: + - Added 'Rules-Requires-Root: no' to source stanza. + - Bumped Standards-Version to 4.5.0. + - Using '${python3:Depends}' instead of 'python' in Depends field for + python3-distorm3. Change from Ubuntu. + * debian/copyright: updated packaging copyright years. + * debian/not-installed: + - Listed usr/lib/python3/dist-packages/distorm3/libdistorm3.so as + not installed. This file is being installed by debian/rules and + debian/libdistorm3-dev.links. + * debian/python-distorm3.install: removed. + * debian/python3-distorm3.install: added a line to install *.pyc files. + * debian/rules: removed unneeded flags from DEB_LDFLAGS_MAINT_APPEND: + - -soname,libdistorm3.so.$(LIB_S_VERSION): the upstream is providing a + variable SONAME. + - -Wl,--as-needed: the upstream fixed the source code. + * debian/salsa-ci.yml: added to provide CI tests for Salsa. + * debian/tests/test.py: using Python3 now. - -- Matthias Klose Mon, 10 Feb 2020 08:22:47 +0100 - -distorm3 (3.4.1-3ubuntu2) focal; urgency=medium - - * Use python2 in the autopkg test. - - -- Matthias Klose Tue, 14 Jan 2020 10:48:20 +0100 - -distorm3 (3.4.1-3ubuntu1) focal; urgency=medium - - * Don't hard-code Python, really use python:Depends. - - -- Matthias Klose Mon, 13 Jan 2020 22:29:54 +0100 + -- Joao Eriberto Mota Filho Mon, 10 Feb 2020 22:06:28 -0300 distorm3 (3.4.1-3) unstable; urgency=medium diff -Nru distorm3-3.4.1/debian/control distorm3-3.4.1/debian/control --- distorm3-3.4.1/debian/control 2020-01-13 21:29:39.000000000 +0000 +++ distorm3-3.4.1/debian/control 2020-02-11 01:06:28.000000000 +0000 @@ -1,14 +1,13 @@ Source: distorm3 Section: libs Priority: optional -Maintainer: Joao Eriberto Mota Filho +Maintainer: Debian QA Group Build-Depends: debhelper-compat (= 12), dh-python, - python-all, - python-setuptools, python3, python3-setuptools -Standards-Version: 4.3.0 +Standards-Version: 4.5.0 +Rules-Requires-Root: no Homepage: https://github.com/gdabah/distorm Vcs-Browser: https://salsa.debian.org/debian/distorm3 Vcs-Git: https://salsa.debian.org/debian/distorm3.git @@ -40,20 +39,6 @@ . This package provides the development files. -Package: python-distorm3 -Architecture: all -Section: python -Depends: ${misc:Depends}, libdistorm3-3 (>= ${source:Version}), ${python:Depends} -Description: powerful disassembler library for x86/AMD64 binary streams (Python bindings) - diStorm3 is a binary stream disassembler library project. - . - With diStorm3, no more parsing strings is needed. diStorm3 is really a - decomposer, which means it takes an instruction and returns a binary - structure which describes it rather than static text. This is great for - advanced binary code analysis. - . - This package provides the Python bindings. - Package: python3-distorm3 Architecture: all Section: python diff -Nru distorm3-3.4.1/debian/copyright distorm3-3.4.1/debian/copyright --- distorm3-3.4.1/debian/copyright 2019-01-08 20:01:56.000000000 +0000 +++ distorm3-3.4.1/debian/copyright 2020-02-11 01:06:28.000000000 +0000 @@ -19,7 +19,7 @@ License: GPL-3+ Files: debian/* -Copyright: 2014-2019 Joao Eriberto Mota Filho +Copyright: 2014-2020 Joao Eriberto Mota Filho License: BSD-3-Clause License: BSD-3-Clause diff -Nru distorm3-3.4.1/debian/not-installed distorm3-3.4.1/debian/not-installed --- distorm3-3.4.1/debian/not-installed 1970-01-01 00:00:00.000000000 +0000 +++ distorm3-3.4.1/debian/not-installed 2020-02-11 01:06:28.000000000 +0000 @@ -0,0 +1 @@ +usr/lib/python3/dist-packages/distorm3/libdistorm3.so diff -Nru distorm3-3.4.1/debian/python3-distorm3.install distorm3-3.4.1/debian/python3-distorm3.install --- distorm3-3.4.1/debian/python3-distorm3.install 2019-01-08 20:02:42.000000000 +0000 +++ distorm3-3.4.1/debian/python3-distorm3.install 2020-02-11 01:06:28.000000000 +0000 @@ -1,2 +1,3 @@ +usr/lib/python3/dist-packages/distorm3/__pycache__/*.pyc usr/lib/python3*/dist-packages/distorm3/*init*.py usr/lib/python3*/dist-packages/*-info diff -Nru distorm3-3.4.1/debian/python-distorm3.install distorm3-3.4.1/debian/python-distorm3.install --- distorm3-3.4.1/debian/python-distorm3.install 2019-01-08 20:02:42.000000000 +0000 +++ distorm3-3.4.1/debian/python-distorm3.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -usr/lib/python2*/dist-packages/distorm3/*init*.py -usr/lib/python2*/dist-packages/*-info diff -Nru distorm3-3.4.1/debian/rules distorm3-3.4.1/debian/rules --- distorm3-3.4.1/debian/rules 2019-01-08 20:02:42.000000000 +0000 +++ distorm3-3.4.1/debian/rules 2020-02-11 01:06:28.000000000 +0000 @@ -1,20 +1,17 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 -# The lib SONAME version: -LIB_S_VERSION=3 # The lib real version: LIB_R_VERSION=3.4.1 DESTDIR=$(CURDIR)/debian/libdistorm3-3 TEMPDEB=$(CURDIR)/debian/tmp - -export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,-soname,libdistorm3.so.$(LIB_S_VERSION) -Wl,-z,now +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,now %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild override_dh_install-arch: dh_install - cp $(TEMPDEB)/usr/lib/python2.7/dist-packages/distorm3/libdistorm3.so \ + cp $(TEMPDEB)/usr/lib/python3/dist-packages/distorm3/libdistorm3.so \ $(DESTDIR)/usr/lib/libdistorm3.so.$(LIB_R_VERSION) diff -Nru distorm3-3.4.1/debian/salsa-ci.yml distorm3-3.4.1/debian/salsa-ci.yml --- distorm3-3.4.1/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ distorm3-3.4.1/debian/salsa-ci.yml 2020-02-11 01:06:28.000000000 +0000 @@ -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 -Nru distorm3-3.4.1/debian/tests/test.py distorm3-3.4.1/debian/tests/test.py --- distorm3-3.4.1/debian/tests/test.py 2020-01-14 09:48:19.000000000 +0000 +++ distorm3-3.4.1/debian/tests/test.py 2020-02-11 01:06:28.000000000 +0000 @@ -1,2 +1,2 @@ -#!/usr/bin/python2 +#!/usr/bin/python3 import distorm3