aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0009-f_repobuild-Makefile-Use-python-debian-from-pip.patch
blob: f84b4c0c713d79c69a2d93a2d6de29a16e93a847 (plain)
1
2
3
4
5
6

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #7571
From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Date: Tue, 26 Apr 2016 23:12:20 +0200
Subject: [PATCH] f_repobuild/Makefile: Use python-debian from pip.

Currently, Ubuntu Trusty provides a broken python-debian package,
that fails to parse foreign architecture (package:any) relationships.

Purge debian package and let pip resolve this dependency, using a
newer version from pypi.

[1] http://lists.alioth.debian.org/pipermail/
    pkg-python-debian-maint/2014-July/001795.html
---
 build/f_isoroot/f_repobuild/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build/f_isoroot/f_repobuild/Makefile b/build/f_isoroot/f_repobuild/Makefile
index 709ca6b..5e7157b 100644
--- a/build/f_isoroot/f_repobuild/Makefile
+++ b/build/f_isoroot/f_repobuild/Makefile
@@ -25,6 +25,8 @@ all: nailgun
 
 nailgun:
 	sudo apt-get install -y git libxml2-dev libxslt-dev python-dev  python-pip libz-dev libyaml-dev createrepo python-yaml
+	# python-debian from Ubuntu can't parse foreign arch relationships, use pip
+	sudo apt-get purge -y --force-yes python-debian
 	rm -Rf nailgun
 	sudo mkdir -p /var/www/nailgun
 	git clone $(FUEL_MIRROR_REPO)