pip-and-virtualenv: include python3-venv for Debuntu

This package is not installed by default on Debuntu, but is on RH
platforms.  This is causing a build breakage as DIB_PYTHON_VIRTUALENV
tries to use this (I3414fb9e503f94ff744b560eff9ec0f4afdbb50e).

Add the package.

Change-Id: I9a551c57dd128bbb4b095c847f634c777b2cb553
This commit is contained in:
Ian Wienand 2019-10-25 15:41:54 +11:00
parent c97cb559d3
commit f2e0b01336
3 changed files with 14 additions and 1 deletions

View File

@ -31,3 +31,6 @@ python-dev:
python3-dev:
installtype: source
dib_python_version: 3
# Separate package on debubuntu
python3-venv:
dib_python_version: 3

View File

@ -7,6 +7,9 @@
}
},
"family": {
"debian": {
"python3-venv": "python3-venv"
},
"gentoo": {
"python-pip": "dev-python/pip",
"python3-pip": "dev-python/pip",
@ -28,6 +31,7 @@
},
"default": {
"python-xml": "",
"python3": ""
"python3": "",
"python3-venv": ""
}
}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
The ``pip-and-virtualenv`` element also installs ``python3-venv``
on Python-3 Debian-like distributions to ensure
``$DIB_PYTHON_VIRTUALENV`` works as expected.