mirror of
https://opendev.org/x/pyghmi
synced 2025-02-26 07:11:06 +00:00
Fix building under wheezy
The supported wheezy platform we are now adding pyca to. Additionally, the options were wrong for such old debian build utilites. Change-Id: If92de1356cd45c5f4a260b6df72144dbbfe70c3d
This commit is contained in:
parent
c180933281
commit
04b2d5cd69
4
builddeb
4
builddeb
@ -6,11 +6,9 @@ cd /tmp/pyghmi
|
||||
export PYEXEC=python3
|
||||
export DSCARGS="--with-python2=True --with-python3=True"
|
||||
if grep wheezy /etc/os-release; then
|
||||
# wheezy is difficult on pyca, use cryptodomex for that platform
|
||||
patch -p1 < wheezy.patch
|
||||
# also it's old, use python2 instead of python3
|
||||
export PYEXEC=python
|
||||
export DSCARGS="--with-python2=True --with-python3=False"
|
||||
export DSCARGS=""
|
||||
fi
|
||||
# If not PBR, use the setup.py.tmpl
|
||||
$PYEXEC -c 'import pbr' || ./makesetup
|
||||
|
Loading…
x
Reference in New Issue
Block a user