mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Docker: T4791: python3-humps now a build dependency for vyos-1x nosetest
On importing humps.decamelize in vyos/opmode.py, python3-pyhumps becomes a build dependency for the test test_op_mode.py. Create the package in the Docker image.
This commit is contained in:
parent
64e77f12f6
commit
d88b5cb120
@ -335,6 +335,11 @@ Run git clone https://github.com/dsoprea/PyInotify.git /tmp/inotify && \
|
|||||||
python3 setup.py --command-packages=stdeb.command bdist_deb && \
|
python3 setup.py --command-packages=stdeb.command bdist_deb && \
|
||||||
sudo dpkg -i ./deb_dist/python3-inotify*.deb
|
sudo dpkg -i ./deb_dist/python3-inotify*.deb
|
||||||
|
|
||||||
|
Run git clone https://github.com/nficano/humps.git /tmp/humps && \
|
||||||
|
cd /tmp/humps && git checkout v3.8.0 && \
|
||||||
|
python3 setup.py --command-packages=stdeb.command bdist_deb; cp deb_dist/*.deb .. && \
|
||||||
|
dpkg -i /tmp/python3-pyhumps_*_all.deb
|
||||||
|
|
||||||
# Packages needed for vyos-1x-xdp package, gcc-multilib is not available on
|
# Packages needed for vyos-1x-xdp package, gcc-multilib is not available on
|
||||||
# arm64 but required by XDP
|
# arm64 but required by XDP
|
||||||
RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \
|
RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user