Install pull-debian-source as python 3. It was ported, and doesn't work under python 2 any more. (LP: #1841127)

This commit is contained in:
Stefano Rivera 2019-09-03 21:12:41 -03:00
parent caaea17eec
commit 7fd1a6a766
3 changed files with 8 additions and 2 deletions

2
debian/changelog vendored
View File

@ -9,6 +9,8 @@ ubuntu-dev-tools (0.172) UNRELEASED; urgency=medium
setup.py doesn't provide these) and ubuntu-dev-tools itself. setup.py doesn't provide these) and ubuntu-dev-tools itself.
* dh_python2 doesn't generate a python dependency in ubuntu-dev-tools, now * dh_python2 doesn't generate a python dependency in ubuntu-dev-tools, now
that it's scripts-only, so manually declare one. that it's scripts-only, so manually declare one.
* Install pull-debian-source as python 3. It was ported, and doesn't work
under python 2 any more. (LP: #1841127)
-- Mattia Rizzolo <mattia@debian.org> Fri, 23 Aug 2019 10:07:40 +0200 -- Mattia Rizzolo <mattia@debian.org> Fri, 23 Aug 2019 10:07:40 +0200

3
debian/control vendored
View File

@ -62,6 +62,9 @@ Depends:
python-launchpadlib (>= 1.5.7), python-launchpadlib (>= 1.5.7),
python-lazr.restfulclient, python-lazr.restfulclient,
python-ubuntutools, python-ubuntutools,
python3,
python3-distro-info,
python3-ubuntutools,
sensible-utils, sensible-utils,
sudo, sudo,
${misc:Depends}, ${misc:Depends},

View File

@ -16,7 +16,9 @@ if os.path.exists(changelog):
version = match.group(1) version = match.group(1)
if sys.version_info[0] >= 3: if sys.version_info[0] >= 3:
scripts = [] scripts = [
'pull-debian-source',
]
data_files = [] data_files = []
else: else:
scripts = [ scripts = [
@ -35,7 +37,6 @@ else:
'pbuilder-dist', 'pbuilder-dist',
'pbuilder-dist-simple', 'pbuilder-dist-simple',
'pull-debian-debdiff', 'pull-debian-debdiff',
'pull-debian-source',
'pull-lp-source', 'pull-lp-source',
'pull-revu-source', 'pull-revu-source',
'pull-uca-source', 'pull-uca-source',