]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
python-lzma: unzip egg because it will not found packed.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 10 Mar 2011 15:55:29 +0000 (16:55 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 10 Mar 2011 15:55:29 +0000 (16:55 +0100)
config/rootfiles/packages/python-lzma
lfs/python-lzma

index 319d48cafb39e14b3e1fb42ead84d5b7aeecc452..21f647e544a45b6773aa4da835325426764fff33 100644 (file)
@@ -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
index b05ba2dda5029279ed098868e3263b1653d26d78..f2f6aabe0b6db5a2401510a81aac9eca002fce37 100644 (file)
@@ -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)