python-brickclient: accommodate python2/3 changes

Following a similar fix to pip-and-virtualenv element in
Ia730850a48e2478fd5461710a9d2619408725cd8, python-brickclient is also
required to be fixed to handle python3 only systems.

Change-Id: I442469beb5a20074425e7059eec7f78604d6cc5a
This commit is contained in:
Anshul Jain 2017-01-24 20:40:33 +00:00 committed by Ian Wienand
parent 7603f97cad
commit dfc8fbf907
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
libssl-dev: libssl-dev:
libffi-dev: libffi-dev:
python-dev: python-dev:
installtype: source
dib_python_version: 2
python3-dev:
installtype: source
dib_python_version: 3

View File

@ -1,13 +1,15 @@
{ {
"family": { "family": {
"redhat": { "redhat": {
"python-dev": "python2-devel", "python2-dev": "python2-devel",
"python3-dev": "python3-devel",
"libssl-dev": "openssl-devel", "libssl-dev": "openssl-devel",
"libffi-dev": "libffi-devel" "libffi-dev": "libffi-devel"
} }
}, },
"default": { "default": {
"python-dev": "python-dev", "python2-dev": "python2-dev",
"python3-dev": "python3-dev",
"libssl-dev": "libssl-dev", "libssl-dev": "libssl-dev",
"libffi-dev": "libffi-dev" "libffi-dev": "libffi-dev"
} }