mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
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:
parent
caaea17eec
commit
7fd1a6a766
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -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
3
debian/control
vendored
@ -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},
|
||||||
|
5
setup.py
5
setup.py
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user