Merge "python-nss was fixed to work with wheel"

This commit is contained in:
Jenkins 2017-09-21 20:04:14 +00:00 committed by Gerrit Code Review
commit ed6844a8db
3 changed files with 0 additions and 24 deletions

View File

@ -49,14 +49,6 @@ RUN set -x \
&& python -m virtualenv /builder \
&& pip install -U pip \
&& pip install -U wheel setuptools \
# NOTE(SamYaple): There is a bug with python-nss, this is a workaround. https://bugzilla.redhat.com/show_bug.cgi?id=1389739
&& sed -i '/dogtag-pki/d' /root/packages/global-requirements.txt \
&& pip download -d /tmp -c /root/packages/upper-constraints.txt python-nss \
&& mkdir /tmp/python-nss \
&& tar xf /tmp/python-nss-*.tar.bz2 -C /tmp/python-nss --strip-components=1 \
&& sed -i "s/if arg in ('-d', '--debug'):/if arg == '--debug':/g" /tmp/python-nss/setup.py \
&& pip wheel -w /root/packages/ $(grep dogtag-pki /root/packages/upper-constraints.txt) /tmp/python-nss/ \
# NOTE(SamYaple): end bug workaround
&& pip wheel -w /root/packages/ -r /root/packages/global-requirements.txt -c /root/packages/upper-constraints.txt \
bindep==2.5.0 \
uwsgi \

8
debian/Dockerfile vendored
View File

@ -43,14 +43,6 @@ RUN set -x \
&& python -m virtualenv /builder \
&& pip install -U pip \
&& pip install -U wheel setuptools \
# NOTE(SamYaple): There is a bug with python-nss, this is a workaround. https://bugzilla.redhat.com/show_bug.cgi?id=1389739
&& sed -i '/dogtag-pki/d' /root/packages/global-requirements.txt \
&& pip download -d /tmp -c /root/packages/upper-constraints.txt python-nss \
&& mkdir /tmp/python-nss \
&& tar xf /tmp/python-nss-*.tar.bz2 -C /tmp/python-nss --strip-components=1 \
&& sed -i "s/if arg in ('-d', '--debug'):/if arg == '--debug':/g" /tmp/python-nss/setup.py \
&& pip wheel -w /root/packages/ $(grep dogtag-pki /root/packages/upper-constraints.txt) /tmp/python-nss/ \
# NOTE(SamYaple): end bug workaround
&& pip wheel -w /root/packages/ -r /root/packages/global-requirements.txt -c /root/packages/upper-constraints.txt \
bindep==2.5.0 \
uwsgi \

View File

@ -43,14 +43,6 @@ RUN set -x \
&& python -m virtualenv /builder \
&& pip install -U pip \
&& pip install -U wheel setuptools \
# NOTE(SamYaple): There is a bug with python-nss, this is a workaround. https://bugzilla.redhat.com/show_bug.cgi?id=1389739
&& sed -i '/dogtag-pki/d' /root/packages/global-requirements.txt \
&& pip download -d /tmp -c /root/packages/upper-constraints.txt python-nss \
&& mkdir /tmp/python-nss \
&& tar xf /tmp/python-nss-*.tar.bz2 -C /tmp/python-nss --strip-components=1 \
&& sed -i "s/if arg in ('-d', '--debug'):/if arg == '--debug':/g" /tmp/python-nss/setup.py \
&& pip wheel -w /root/packages/ $(grep dogtag-pki /root/packages/upper-constraints.txt) /tmp/python-nss/ \
# NOTE(SamYaple): end bug workaround
&& pip wheel -w /root/packages/ -r /root/packages/global-requirements.txt -c /root/packages/upper-constraints.txt \
bindep==2.5.0 \
uwsgi \