On Thu, Jul 21, 2005 at 12:13:17PM +0200, Joachim Bauch wrote:
> Hi,
>
> I just noticed that the latest released version of libxml2-python on
> ftp://xmlsoft.org/python/ corresponds to libxml2 2.6.15.
>
> Are there any plans when a newer version will be released for the
> current versions of libxml2 and libxslt?
Hum, I tend to forgot to regenerate those. This is the same code as
what is in the libxml2 and libxslt releases, just packaged differently.
Enclosed is the script I used to run to produce those releases. You
will need the 2 trees for libxml2 and libxslt, check it out it is not
that hard.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
[EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
#!/bin/sh
BASE=$HOME/tmp/python
XMLDIR=$HOME/libxml2
XSLTDIR=$HOME/libxslt
XMLFILES="python/libxml2-python-api.xml doc/libxml2-api.xml python/libxml.c
python/libxml.py python/libxml_wrap.h python/types.c
python/setup.py python/README python/TODO python/drv_libxml2.py"
XSLTFILES="python/libxslt-python-api.xml doc/libxslt-api.xml python/libxslt.c
python/libxsl.py python/libxslt_wrap.h"
rm -rf $BASE
mkdir -p $BASE
for i in $XMLFILES
do
if [ ! -r $XMLDIR/$i ]
then
echo $XMLDIR/$i is missing
exit 1
fi
cp $XMLDIR/$i $BASE
done
if [ ! -r $XMLDIR/python/generator.py ]
then
echo $XMLDIR/python/generator.py is missing
exit 1
fi
cp $XMLDIR/python/generator.py $BASE/xmlgenerator.py
for i in $XSLTFILES
do
if [ ! -r $XSLTDIR/$i ]
then
echo $XSLTDIR/$i is missing
exit 1
fi
cp $XSLTDIR/$i $BASE
done
if [ ! -r $XSLTDIR/python/generator.py ]
then
echo $XSLTDIR/python/generator.py is missing
exit 1
fi
cp $XSLTDIR/python/generator.py $BASE/xsltgenerator.py
cd $BASE
echo running setup.py
python setup.py build sdist
PWD=`pwd`
TAR=`ls $PWD/dist/libxml2-python-*.tar.gz`
if [ "$TAR" == "" ]
then
echo failed to build tar file
exit 1
fi
VERSION=`basename $TAR .tar.gz | sed s+libxml2-python-++`
cd /tmp
tar xvzf $TAR
cd libxml2-python-$VERSION
python setup.py build sdist
WORKED=`ls $PWD/dist/libxml2-python-*.tar.gz`
if [ "$WORKED" == "" ]
then
echo Resulting tar failed to build
exit 1
fi
cd
rm -rf /tmp/libxml2-python-$VERSION
mv $TAR $HOME/tmp
#rm -rf $BASE
echo Package $HOME/tmp/libxml2-python-$VERSION.tar.gz ready
ls -l $HOME/tmp/libxml2-python-$VERSION.tar.gz
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml