From: Arne Fitzenreiter Date: Thu, 10 Mar 2011 15:55:29 +0000 (+0100) Subject: python-lzma: unzip egg because it will not found packed. X-Git-Tag: v2.9-core50~4^2~19^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce151b3ee6929fd430e47ba381539be6071b4ac7;p=people%2Fpmueller%2Fipfire-2.x.git python-lzma: unzip egg because it will not found packed. --- diff --git a/config/rootfiles/packages/python-lzma b/config/rootfiles/packages/python-lzma index 319d48cafb..21f647e544 100644 --- a/config/rootfiles/packages/python-lzma +++ b/config/rootfiles/packages/python-lzma @@ -1 +1,5 @@ -usr/lib/python2.7/site-packages/pyliblzma-0.5.3-py2.7-linux-i686.egg +usr/lib/python2.7/site-packages/liblzma.py +usr/lib/python2.7/site-packages/liblzma.pyc +usr/lib/python2.7/site-packages/lzma.py +usr/lib/python2.7/site-packages/lzma.pyc +usr/lib/python2.7/site-packages/lzma.so diff --git a/lfs/python-lzma b/lfs/python-lzma index b05ba2dda5..f2f6aabe0b 100644 --- a/lfs/python-lzma +++ b/lfs/python-lzma @@ -78,5 +78,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && python setup.py install + # unzip the egg because it won't work without + cd /usr/lib/python2.7/site-packages && \ + unzip pyliblzma-$(VER)-py2.7-linux-i686.egg + rm -rf /usr/lib/python2.7/site-packages/pyliblzma-$(VER)-py2.7-linux-i686.egg + rm -rf /usr/lib/python2.7/site-packages/EGG-INFO @rm -rf $(DIR_APP) @$(POSTBUILD)