PyXML: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
No edit summary
Line 16: Line 16:
Compile the package:
Compile the package:


sed -i "1i\#include <pyconfig.h>" extensions/expat/lib/xmlparse.c &&
  python setup.py build
  python setup.py build


Line 32: Line 33:
Compile the package:
Compile the package:


sed -i "1i\#include <pyconfig.h>" extensions/expat/lib/xmlparse.c &&
  USE_ARCH=32 python setup.py build
  USE_ARCH=32 python setup.py build


Line 42: Line 44:
Compile the package:
Compile the package:


sed -i "1i\#include <pyconfig.h>" extensions/expat/lib/xmlparse.c &&
  USE_ARCH=n32 python setup.py build
  USE_ARCH=n32 python setup.py build


Line 52: Line 55:
Compile the package:
Compile the package:


sed -i "1i\#include <pyconfig.h>" extensions/expat/lib/xmlparse.c &&
  USE_ARCH=64 python setup.py build
  USE_ARCH=64 python setup.py build



Revision as of 14:10, 8 October 2006

Download Source: http://prdownloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz

Dependencies

Required

Non-Multilib

Compile the package:

sed -i "1i\#include <pyconfig.h>" extensions/expat/lib/xmlparse.c &&
python setup.py build

Install the package

python setup.py install &&
install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &&
install -v -m755 -d /usr/share/doc/PyXML-0.8.4 &&
cp -v -R doc demo test /usr/share/doc/PyXML-0.8.4 &&
install -v -m644 README* /usr/share/doc/PyXML-0.8.4

Multilib

32Bit

Compile the package:

sed -i "1i\#include <pyconfig.h>" extensions/expat/lib/xmlparse.c &&
USE_ARCH=32 python setup.py build

Install the package

USE_ARCH=32 python setup.py install

N32

Compile the package:

sed -i "1i\#include <pyconfig.h>" extensions/expat/lib/xmlparse.c &&
USE_ARCH=n32 python setup.py build

Install the package

USE_ARCH=n32 python setup.py install

64Bit

Compile the package:

sed -i "1i\#include <pyconfig.h>" extensions/expat/lib/xmlparse.c &&
USE_ARCH=64 python setup.py build

Install the package

USE_ARCH=64 python setup.py install &&
install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &&
install -v -m755 -d /usr/share/doc/PyXML-0.8.4 &&
cp -v -R doc demo test /usr/share/doc/PyXML-0.8.4 &&
install -v -m644 README* /usr/share/doc/PyXML-0.8.4
Retrieved from "?title=PyXML&oldid=2649"