Difference between revisions of "PyXML"

From CBLFS
Jump to navigationJump to search
 
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz
+
| http://prdownloads.sourceforge.net/pyxml/PyXML-{{PyXML-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|The PyXML package is a collection of libraries to process XML with Python.|http://pyxml.sourceforge.net/}}
 +
 +
{{Note|According to the PyXML Sourceforge site, PyXML is no longer being maintained.}}
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Required ===
 
=== Required ===
* [[Package one]]
+
* [[Python]]
* [[Package two]]
 
* [[Package three]]
 
=== Optional ===
 
* [[Package four]]
 
* [[Package five]]
 
* [[Package six]]
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 22: Line 20:
 
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 28: Line 27:
 
  python setup.py install &&
 
  python setup.py install &&
 
  install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &&
 
  install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &&
  install -v -m755 -d /usr/share/doc/PyXML-0.8.4 &&
+
  install -v -m755 -d /usr/share/doc/PyXML-{{PyXML-Version}} &&
  cp -v -R doc demo test /usr/share/doc/PyXML-0.8.4 &&
+
  cp -v -R doc demo test /usr/share/doc/PyXML-{{PyXML-Version}} &&
  install -v -m644 README* /usr/share/doc/PyXML-0.8.4
+
  install -v -m644 README* /usr/share/doc/PyXML-{{PyXML-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 38: Line 37:
 
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 48: Line 48:
 
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 58: Line 59:
 
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
  
Line 64: Line 66:
 
  USE_ARCH=64 python setup.py install &&
 
  USE_ARCH=64 python setup.py install &&
 
  install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &&
 
  install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &&
  install -v -m755 -d /usr/share/doc/PyXML-0.8.4 &&
+
  install -v -m755 -d /usr/share/doc/PyXML-{{PyXML-Version}} &&
  cp -v -R doc demo test /usr/share/doc/PyXML-0.8.4 &&
+
  cp -v -R doc demo test /usr/share/doc/PyXML-{{PyXML-Version}} &&
  install -v -m644 README* /usr/share/doc/PyXML-0.8.4
+
  install -v -m644 README* /usr/share/doc/PyXML-{{PyXML-Version}}
 +
 
 +
[[Category:Python Modules]]

Latest revision as of 09:32, 19 October 2010

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

Introduction to PyXML

The PyXML package is a collection of libraries to process XML with Python.

Project Homepage: http://pyxml.sourceforge.net/

Caution.png

Note

According to the PyXML Sourceforge site, PyXML is no longer being maintained.

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=20372"