1
0
forked from ports/opt

libxml2-python: byte-compile python modules

This commit is contained in:
Juergen Daubert 2012-10-29 17:53:41 +01:00
parent 376f96a0f4
commit b2a5be6902
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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
}