source: general/prog/pyxml.xml@ 0aeb696

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0aeb696 was 0aeb696, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5951 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- Inserted as a reminder to do this. The mention of a test suite
8 is usually right before the root user installation commands. Please
9 delete these 12 (including one blank) lines after you are done.-->
10
11 <!-- Use one of the two mentions below about a test suite,
12 delete the line that is not applicable. Of course, if the
13 test suite uses syntax other than "make check", revise the
14 line to reflect the actual syntax to run the test suite -->
15
16 <!-- <para>This package does not come with a test suite.</para> -->
17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
18
19 <!ENTITY pyxml-download-http "http://prdownloads.sourceforge.net/pyxml/PyXML-&pyxml-version;.tar.gz">
20 <!ENTITY pyxml-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/PyXML-&pyxml-version;.tar.gz">
21 <!ENTITY pyxml-md5sum "1f7655050cebbb664db976405fdba209">
22 <!ENTITY pyxml-size "734 KB">
23 <!ENTITY pyxml-buildsize "14.6 MB">
24 <!ENTITY pyxml-time "less than 0.1 SBU">
25]>
26
27<sect1 id="pyxml" xreflabel="PyXML-&pyxml-version;">
28 <?dbhtml filename="pyxml.html"?>
29
30 <sect1info>
31 <othername>$LastChangedBy$</othername>
32 <date>$Date$</date>
33 <keywordset>
34 <keyword role="package">PyXML-&pyxml-version;.tar</keyword>
35 <keyword role="ftpdir">PyXML</keyword>
36 </keywordset>
37 </sect1info>
38
39 <title>PyXML-&pyxml-version;</title>
40
41 <indexterm zone="pyxml">
42 <primary sortas="a-PyXML">PyXML</primary>
43 </indexterm>
44
45 <sect2 role="package">
46 <title>Introduction to PyXML</title>
47
48 <para>The <application>PyXML</application> package contains a validating
49 XML parser, an implementation of the SAX and DOM programming interfaces,
50 an interface to the Expat parser, and a C helper module that can speed up
51 <filename>xmllib.py</filename> by a factor of five. This is useful for
52 validating, parsing and manipulating XML files using Python
53 programs.</para>
54
55 <bridgehead renderas="sect3">Package Information</bridgehead>
56 <itemizedlist spacing="compact">
57 <listitem>
58 <para>Download (HTTP): <ulink url="&pyxml-download-http;"/></para>
59 </listitem>
60 <listitem>
61 <para>Download (FTP): <ulink url="&pyxml-download-ftp;"/></para>
62 </listitem>
63 <listitem>
64 <para>Download MD5 sum: &pyxml-md5sum;</para>
65 </listitem>
66 <listitem>
67 <para>Download size: &pyxml-size;</para>
68 </listitem>
69 <listitem>
70 <para>Estimated disk space required: &pyxml-buildsize;</para>
71 </listitem>
72 <listitem>
73 <para>Estimated build time: &pyxml-time;</para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">PyXML Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Required</bridgehead>
80 <para role="required"><xref linkend="python"/></para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/pyxml"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of PyXML</title>
89
90 <para>Install <application>PyXML</application> by running the following
91 commands:</para>
92
93<screen><userinput>python setup.py build</userinput></screen>
94
95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
96
97<screen role="root"><userinput>python setup.py install &amp;&amp;
98install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &amp;&amp;
99install -v -m755 -d /usr/share/doc/PyXML-&pyxml-version; &amp;&amp;
100cp -v -R doc demo test /usr/share/doc/PyXML-&pyxml-version; &amp;&amp;
101install -v -m644 README* /usr/share/doc/PyXML-&pyxml-version;</userinput></screen>
102
103 <para>To run the regression tests, the package must first be installed.
104 Then, as an unprivileged user, issue the following commands:</para>
105
106<screen><userinput>cd test &amp;&amp;
107python regrtest.py &amp;&amp;
108cd ..</userinput></screen>
109
110 </sect2>
111
112 <sect2 role="commands">
113 <title>Command Explanations</title>
114
115 <para><command>python setup.py build</command>: This command copies the
116 <filename>*.py</filename> files to a staging area and compiles the C
117 extensions.</para>
118
119 <para><command>python setup.py install</command>: This command installs
120 the package.</para>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Libraries</segtitle>
130 <segtitle>Installed Directories</segtitle>
131
132 <seglistitem>
133 <seg>xmlproc_parse and xmlproc_val</seg>
134 <seg>PyXML Python library modules</seg>
135 <seg>/usr/lib/python2.4/site-packages/_xmlplus and
136 /usr/share/doc/PyXML-&pyxml-version;</seg>
137 </seglistitem>
138 </segmentedlist>
139
140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
144
145 <varlistentry id="xmlproc_parse">
146 <term><command>xmlproc_parse</command></term>
147 <listitem>
148 <para>is a simple XML file parser using the xmlproc parser.</para>
149 <indexterm zone="pyxml xmlproc_parse">
150 <primary sortas="b-xmlproc_parse">xmlproc_parse</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="xmlproc_val">
156 <term><command>xmlproc_val</command></term>
157 <listitem>
158 <para>is a validating XML file parser using the xmlproc parser.</para>
159 <indexterm zone="pyxml xmlproc_val">
160 <primary sortas="b-xmlproc_val">xmlproc_val</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164 </variablelist>
165
166 </sect2>
167
168</sect1>
Note: See TracBrowser for help on using the repository browser.