libxml2-python: byte-compile python modules
This commit is contained in:
parent
376f96a0f4
commit
b2a5be6902
@ -3,5 +3,7 @@ drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python2.7/
|
||||
drwxr-xr-x root/root usr/lib/python2.7/site-packages/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/site-packages/drv_libxml2.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/site-packages/drv_libxml2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/site-packages/libxml2.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/site-packages/libxml2.pyc
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/site-packages/libxml2mod.so
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
name=libxml2-python
|
||||
version=2.9.0
|
||||
release=1
|
||||
release=2
|
||||
source=(ftp://xmlsoft.org/libxml2/libxml2-$version.tar.gz \
|
||||
$name-config.patch)
|
||||
|
||||
@ -18,7 +18,9 @@ build () {
|
||||
cd python
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
|
||||
python -m compileall $PKG/usr/lib/python2.7/
|
||||
|
||||
rm $PKG/usr/lib/python2.7/site-packages/libxml2mod.{a,la}
|
||||
rm -r $PKG/usr/share
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user