diff --git a/general/prog/python-modules.xml b/general/prog/python-modules.xml index 51c17aa134..5d141cb63f 100644 --- a/general/prog/python-modules.xml +++ b/general/prog/python-modules.xml @@ -4,97 +4,90 @@ %general-entities; - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - + - - ]> @@ -114,54 +107,66 @@ Introduction to Python Modules - The Python module packages add useful - objects to the Python language. Modules utilized - by packages throughout BLFS are listed here, along with their dependencies. - Installation of the modules shown on this page is meant to follow from top - to bottom to handle optional dependencies in each module. + + The Python module packages add useful objects + to the Python language. Modules utilized by + packages throughout BLFS are listed here, along with their dependencies. + Installation of the modules shown on this page is meant to follow from top + to bottom to handle optional dependencies in each module. + - + + + - + + + - + + + - + + + - + + + - + + + - + + + - + + + - + + + - + + + - - @@ -176,54 +181,75 @@ Introduction to PyXML Module - The PyXML package contains a validating - XML parser, an implementation of the SAX and DOM programming interfaces, - an interface to the Expat parser, and a C helper module that can speed up - xmllib.py by a factor of five. This is useful for - validating, parsing and manipulating XML files using Python - programs. + + The PyXML package contains a validating XML + parser, an implementation of the SAX and DOM programming interfaces, an + interface to the Expat parser, and a C helper module that can speed up + xmllib.py by a factor of five. This is useful for + validating, parsing and manipulating XML files using Python programs. + + + &lfs71_checked; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &pyxml-md5sum; + + Download MD5 sum: &pyxml-md5sum; + - Download size: &pyxml-size; + + Download size: &pyxml-size; + - Estimated disk space required: &pyxml-buildsize; + + Estimated disk space required: &pyxml-buildsize; + - Estimated build time: &pyxml-time; + + Estimated build time: &pyxml-time; + PyXML Dependencies Required - - - User Notes: - + + + + + User Notes: + Installation of PyXML - Install PyXML by running the following - commands: + + Install PyXML by running the following + commands: + python setup.py build - Now, as the root user: + + Now, as the root user: + python setup.py install && install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 && @@ -231,25 +257,29 @@ install -v -m755 -d /usr/share/doc/PyXML-&pyxml-version; && cp -v -R doc demo test /usr/share/doc/PyXML-&pyxml-version; && install -v -m644 README* /usr/share/doc/PyXML-&pyxml-version; - To run the regression tests, the package must first be installed. - Then, as an unprivileged user, issue the following commands: + + To run the regression tests, the package must first be installed. Then, + as an unprivileged user, issue the following commands: + cd test && python regrtest.py && cd .. - Command Explanations - python setup.py build: This command copies the - *.py files to a staging area and compiles the C - extensions. - - python setup.py install: This command installs - the package. + + python setup.py build: This command copies the + *.py files to a staging area and compiles the C + extensions. + + + python setup.py install: This command installs the + package. + @@ -263,8 +293,10 @@ cd .. xmlproc_parse and xmlproc_val PyXML Python library modules - /usr/lib/python&python2-majorver;/site-packages/_xmlplus and - /usr/share/doc/PyXML-&pyxml-version; + + /usr/lib/python&python2-majorver;/site-packages/_xmlplus and + /usr/share/doc/PyXML-&pyxml-version; + @@ -276,7 +308,9 @@ cd .. xmlproc_parse - is a simple XML file parser using the xmlproc parser. + + is a simple XML file parser using the xmlproc parser. + xmlproc_parse @@ -286,16 +320,16 @@ cd .. xmlproc_val - is a validating XML file parser using the xmlproc parser. + + is a validating XML file parser using the xmlproc parser. + xmlproc_val - - @@ -312,30 +346,44 @@ cd .. Introduction to Py2cairo Module - Py2cairo provides Python2 bindings to - Cairo. + + Py2cairo provides Python 2 bindings to + Cairo. + - &lfs70_checked; + &lfs71_checked; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &py2cairo-md5sum; + + Download MD5 sum: &py2cairo-md5sum; + - Download size: &py2cairo-size; + + Download size: &py2cairo-size; + - Estimated disk space required: &py2cairo-buildsize; + + Estimated disk space required: &py2cairo-buildsize; + - Estimated build time: &py2cairo-time; + + Estimated build time: &py2cairo-time; + @@ -352,49 +400,52 @@ cd .. pytest - User Notes: - - + + User Notes: + Installation of Py2cairo - Install Py2cairo by running the following - commands: + + Install Py2cairo by running the following + commands: + ./configure --prefix=/usr && make - The test suite requires the optional pytest - package. If installed, it is run by changing to the - test directory and running - py.test. + + The test suite requires the optional pytest + package. If installed, it is run by changing to the + test directory and running + py.test. + - Now, as the root user: + + Now, as the root user: + make install - Contents - Installed Programs Installed Libraries Installed Directory - None _cairo.so - /usr/include/pycairo and - /usr/lib/python2.7/site-packages/cairo + + /usr/include/pycairo and + /usr/lib/python2.7/site-packages/cairo + - - @@ -410,79 +461,97 @@ make Introduction to Pycairo Module - Pycairo provides Python bindings to - Cairo. + + Pycairo provides Python 3 bindings to + Cairo. + Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &pycairo-md5sum; + + Download MD5 sum: &pycairo-md5sum; + - Download size: &pycairo-size; + + Download size: &pycairo-size; + - Estimated disk space required: &pycairo-buildsize; + + Estimated disk space required: &pycairo-buildsize; + - Estimated build time: &pycairo-time; + + Estimated build time: &pycairo-time; + Pycairo Dependencies Required - and - - - User Notes: - + + and + + + + User Notes: + Installation of Pycairo - Install Pycairo by running the following - commands: + + Install Pycairo by running the following + commands: + ./configure --prefix=/usr && make - This package does not come with a test suite. + + This package does not come with a test suite. + - Now, as the root user: + + Now, as the root user: + make install - Contents - Installed Programs Installed Libraries Installed Directories - None Pycairo Python library module - /usr/include/pycairo and - /usr/lib/python&python2-majorver;/site-packages/cairo + + /usr/include/pycairo and + /usr/lib/python&python2-majorver;/site-packages/cairo + - - - @@ -497,28 +566,45 @@ make Introduction to PyGObject Module - PyGObject provides Python bindings to the - GObject class from GLib. + + PyGObject-&pygobject2-version; provides + Python 2 bindings to the GObject class from + GLib. + + + &lfs71_checked; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &pygobject2-md5sum; + + Download MD5 sum: &pygobject2-md5sum; + - Download size: &pygobject2-size; + + Download size: &pygobject2-size; + - Estimated disk space required: &pygobject2-buildsize; + + Estimated disk space required: &pygobject2-buildsize; + - Estimated build time: &pygobject2-time; + + Estimated build time: &pygobject2-time; + @@ -536,50 +622,61 @@ make PyGObject Dependencies Required - and - + + and + . + Optional - and - (to Build Documentation) - - User Notes: - + + and + (to Build Documentation) + + + User Notes: + Installation of PyGObject - Install PyGObject by running the following - commands: + + Install PyGObject by running the following + commands: + patch -p1 < ../pygobject2-&pygobject2-version;-introspection-1.patch && ./configure --prefix=/usr && make - - This package does not have a testsuite. - + + This package does not have a working testsuite. + + - Now, as the root user: + + Now, as the root user: + make install - Command Explanations - --disable-introspection: This switch is - required because the package cannot build against recent versions of - gobject-introspection. - - : This option disables the - rebuilding of the html documentation if is - installed. + + --disable-introspection: This switch is required + if you have not installed + gobject-introspection. + + + : This option disables the rebuilding of + the html documentation if is installed. + @@ -592,19 +689,23 @@ make pygobject-codegen-2.0 - libpyglib-2.0-python.so, _gio.so, unix.so, _glib.so, and - _gobject.so - /usr/{include/pygtk-2.0, - lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject}, - share/{gtk-doc/html/pygobject,pygobject/{2.0/{codegen,defs}, - xsl}}} + + libpyglib-2.0-python.so, + _gio.so, + unix.so, + _glib.so and + _gobject.so. + + + /usr/include/pygtk-2.0, + /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject}, + /usr/share/gtk-doc/html/pygobject and + /usr/share/pygobject/2.0 + - - - @@ -619,30 +720,45 @@ make Introduction to PyGObject Module - PyGObject provides Python bindings to the - GObject class from GLib. + + PyGObject-&pygobject3-version; provides + Python 3 bindings to the GObject class from + GLib. + &lfs70_checked; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &pygobject3-md5sum; + + Download MD5 sum: &pygobject3-md5sum; + - Download size: &pygobject3-size; + + Download size: &pygobject3-size; + - Estimated disk space required: &pygobject3-buildsize; + + Estimated disk space required: &pygobject3-buildsize; + - Estimated build time: &pygobject3-time; + + Estimated build time: &pygobject3-time; + @@ -660,37 +776,41 @@ make (to Build Documentation) - User Notes: - - + + User Notes: + - - Installation of PyGObject - Install PyGObject by running the following - commands: + + Install PyGObject by running the following + commands: + ./configure --prefix=/usr && make - To test the results, issue: make check. + + To test the results, issue: make check. + - Now, as the root user: + + Now, as the root user: + make install - Command Explanations - --disable-docs: This option disables the - rebuilding of the html documentation if is - installed. - + + --disable-docs: This option disables the + rebuilding of the html documentation if is + installed. + @@ -703,22 +823,20 @@ make pygobject-codegen-2.0 - - libpyglib-gi-2.0-python.so, - _gio.so, - _gi_cairo.so - _gobject.so - - /usr/include/pygobject-3.0 and - /usr/lib/python2.7 + + libpyglib-gi-2.0-python.so, + _gio.so, + _gi_cairo.so and + _gobject.so. + + + /usr/include/pygobject-3.0 and + /usr/lib/python2.7 - - - @@ -733,92 +851,127 @@ make Introduction to PyGTK Module - PyGTK lets you to easily create programs with a graphical user - interface using the Python programming - language. + + PyGTK lets you to easily create programs with a graphical user interface + using the Python programming language. + + + &lfs71_checked; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &pygtk-md5sum; + + Download MD5 sum: &pygtk-md5sum; + - Download size: &pygtk-size; + + Download size: &pygtk-size; + - Estimated disk space required: &pygtk-buildsize; + + Estimated disk space required: &pygtk-buildsize; + - Estimated build time: &pygtk-time; + + Estimated build time: &pygtk-time; + PyGTK Dependencies Required - + + + Required (atk module) - + + + Required (pango module) - + + + Required (pangocairo module) - and - + + and + + - Required (gtk and gtk.unixprint - modules) - and - + Required (gtk and gtk.unixprint modules) + + and + . + Required (gtk.libglade module) - and - + + and + . + Optional - NumPy + + NumPy + Optional (to Build Documentation) - - - User Notes: - + + + + + User Notes: + Installation of PyGTK - Install PyGTK by running the following - commands: + + Install PyGTK by running the following + commands: + ./configure --prefix=/usr && make - The tests must be run from an active X display. If this is so, - issue: make check. + + The tests must be run from an active X display. If this is so, issue: + make check. + - Now, as the root user: + + Now, as the root user: + make install - Command Explanations - --enable-docs: This option enables - rebuilding the html documentation if is - installed. - + + --enable-docs: This option enables rebuilding the + html documentation if is installed. + @@ -831,11 +984,21 @@ make pygtk-codegen-2.0 - atk.so, _gtk.so, glade.so, gtkunixprint.so, pango.so, and - pangocairo.so - /usr/{include/pygtk-2.0/pygtk,lib/{pygtk/2.0/demos/images, - python&python2-majorver;/site-packages/gtk-2.0/gtk}, - share/{gtk-doc/html/pygtk/{cursors,icons,images},pygtk/2.0/defs}} + + atk.so, + _gtk.so, + glade.so, + gtkunixprint.so, + pango.so and + pangocairo.so. + + + /usr/include/pygtk-2.0, + /usr/lib/pygtk, + /usr/lib/python&python2-majorver;/site-packages/gtk-2.0, + /usr/share/gtk-doc/html/pygtk and + /usr/share/pygtk. + @@ -847,8 +1010,10 @@ make pygtk-codegen-2.0 - is a wrapper script to run the PyGTK - codegen module. + + is a wrapper script to run the PyGTK + codegen module. + pygtk-codegen-2.0 @@ -858,17 +1023,17 @@ make pygtk-demo - is a Python wrapper to run the PyGTK - demo program. + + is a Python wrapper to run the PyGTK + demo program. + pygtk-demo - - @@ -884,87 +1049,111 @@ make Introduction to PyGtkSourceView Module - PyGtkSourceView contains python bindings for the version 2 of the - GtkSourceView library. + + PyGtkSourceView contains python bindings for the version 2 of the + GtkSourceView library. + Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &pygtksourceview-md5sum; + + Download MD5 sum: &pygtksourceview-md5sum; + - Download size: &pygtksourceview-size; + + Download size: &pygtksourceview-size; + - Estimated disk space required: &pygtksourceview-buildsize; + + Estimated disk space required: &pygtksourceview-buildsize; + - Estimated build time: &pygtksourceview-time; + + Estimated build time: &pygtksourceview-time; + PyGtkSourceView Dependencies Required - and - + + and + . + Recommended - + + + Optional - - - User Notes: - + + + + + User Notes: + Installation of PyGtkSourceView - Install PyGtkSourceView by running the following - commands: + + Install PyGtkSourceView by running the + following commands: + ./configure --prefix=/usr && make - This package does not come with a test suite. + + This package does not come with a test suite. + - Now, as the root user: + + Now, as the root user: + make install - Command Explanations - : This option disables the - documentation building and is required if - DocBook is not installed. + + : This option disables the documentation + building and is required if DocBook is not + installed. + - Contents - Installed Programs Installed Libraries Installed Directory - None gtksourceview2.so /usr/share/gtk-doc/html/pygtksourceview2 @@ -978,17 +1167,16 @@ make gtksourceview2.so - PyGtkSourceView Python library module. + + PyGtkSourceView Python library module. + gtksourceview2.so - - - @@ -1002,67 +1190,88 @@ make - - Introduction to pyatspi2 - The pyatspi2 package contains Python2 bindings - for the core components of GNOME Accessibility. + + The pyatspi2 package contains Python2 + bindings for the core components of GNOME Accessibility. + &lfs70_built; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &pyatspi2-md5sum; + + Download MD5 sum: &pyatspi2-md5sum; + - Download size: &pyatspi2-size; + + Download size: &pyatspi2-size; + - Estimated disk space required: &pyatspi2-buildsize; + + Estimated disk space required: &pyatspi2-buildsize; + - Estimated build time: &pyatspi2-time; + + Estimated build time: &pyatspi2-time; + pyatspi2 Dependencies Required - + + + Recommended - - - User Notes: - + + + + + User Notes: + Installation of pyatspi2 - Install pyatspi2 by running the following - commands: + + Install pyatspi2 by running the following + commands: + ./configure --prefix=$GNOME_PREFIX \ --sysconfdir=$GNOME_SYSCONFDIR \ --libexecdir=$GNOME_PREFIX/lib/pyatspi2 && make - To test the results, issue: make check. + + To test the results, issue: make check. + - Now, as the root user: + + Now, as the root user: + make install - @@ -1070,12 +1279,14 @@ make Installed Programs - Installed Libraries Installed Directory - Accessibility.py, appevent.py, constants.py, deviceevent.py, document.py, editabletext.py, enum.py, interfaces.py, registry.py, role.py, state.py, text.py, and utils.py - None + + Accessibility.py, appevent.py, constants.py, deviceevent.py, + document.py, editabletext.py, enum.py, interfaces.py, registry.py, + role.py, state.py, text.py, and utils.py + $GNOME_PREFIX/lib/python2.7/site-packages/pyatspi @@ -1088,7 +1299,9 @@ make Accessibility.py - does this ..... + + does this ..... + Accessibility.py @@ -1098,7 +1311,9 @@ make appevent.py - does this ..... + + does this ..... + appevent.py @@ -1108,7 +1323,9 @@ make constants.py - does this ..... + + does this ..... + constants.py @@ -1118,7 +1335,9 @@ make deviceevent.py - does this ..... + + does this ..... + deviceevent.py @@ -1128,7 +1347,9 @@ make document.py - does this ..... + + does this ..... + document.py @@ -1138,7 +1359,9 @@ make editabletext.py - does this ..... + + does this ..... + editabletext.py @@ -1148,7 +1371,9 @@ make enum.py - does this ..... + + does this ..... + enum.py @@ -1158,7 +1383,9 @@ make interfaces.py - does this ..... + + does this ..... + interfaces.py @@ -1168,7 +1395,9 @@ make registry.py - does this ..... + + does this ..... + registry.py @@ -1178,7 +1407,9 @@ make role.py - does this ..... + + does this ..... + role.py @@ -1188,7 +1419,9 @@ make state.py - does this ..... + + does this ..... + state.py @@ -1198,7 +1431,9 @@ make text.py - does this ..... + + does this ..... + text.py @@ -1208,17 +1443,16 @@ make utils.py - does this ..... + + does this ..... + utils.py - --> - - @@ -1234,60 +1468,76 @@ make Introduction to PyXDG Module - PyXDG is a Python - library to access freedesktop.org standards. + + PyXDG is a Python + library to access freedesktop.org standards. + Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &pyxdg-md5sum; + + Download MD5 sum: &pyxdg-md5sum; + - Download size: &pyxdg-size; + + Download size: &pyxdg-size; + - Estimated disk space required: &pyxdg-buildsize; + + Estimated disk space required: &pyxdg-buildsize; + - Estimated build time: &pyxdg-time; + + Estimated build time: &pyxdg-time; + PyXDG Dependencies Required - - - User Notes: - + + + + + User Notes: + Installation of PyXDG - Install pyxdg by running the following - commands: - - As the root user: + + Install pyxdg by running the following + commands as the root user: + python setup.py install - Command Explanations - python setup.py install: This command installs - the package. There are other options available, see - Python setup.py --help-commands for details. - + + python setup.py install: This command installs + the package. There are other options available, see + Python setup.py --help-commands for details. + @@ -1295,19 +1545,17 @@ make Installed Programs - Installed Libraries Installed Directories - BaseDirectory.py, Config.py, Exceptions.py, IconTheme.py, IniFile.py, - Locale.py, Menu.py, RecentFile.py - none + + BaseDirectory.py, Config.py, Exceptions.py, IconTheme.py, + IniFile.py, Locale.py, Menu.py and RecentFile.py. + /usr/lib/python&python2-majorver;/site-packages/xdg - - @@ -1323,80 +1571,99 @@ make Introduction to IPython Module - IPython provides a rich toolkit to help you - make the most out of using Python interactively. + + IPython provides a rich toolkit to help you + make the most out of using Python interactively. + Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &ipython-md5sum; + + Download MD5 sum: &ipython-md5sum; + - Download size: &ipython-size; + + Download size: &ipython-size; + - Estimated disk space required: &ipython-buildsize; + + Estimated disk space required: &ipython-buildsize; + - Estimated build time: &ipython-time; + + Estimated build time: &ipython-time; + IPython Dependencies Required - - ( or : not tested), and - + + + ( or : not tested), and + + optional - sphinx (for building docs), - pygments (for syntax higlighting - documentation), - nose (to build the test - program), - pexpect (for - standalone doctests), and - sphinx (for qtconsole, - notebook, parallel computing) - - User Notes: - + sphinx (for building docs), + pygments (for syntax + higlighting documentation), + nose (to build the + test program), + pexpect (for + standalone doctests), and + sphinx (for + qtconsole, notebook, parallel computing) + + + User Notes: + Installation of IPython - Install ipython by running the following - commands: - - As the root user: + + Install ipython by running the following + commands as the root user: + python setup.py install --prefix=/usr - If you built this against nose, you can - run the testsuite after the package has been installed by entering: - iptest. The tests test_startup_{,i}py (and perhaps others - if you provided the optional dependencies) will fail. - + + If you built this against nose, you can run + the testsuite after the package has been installed by entering: + iptest. The tests test_startup_{,i}py (and perhaps + others if you provided the optional dependencies) will fail. + Command Explanations - python setup.py install --prefix=/usr: This command - installs the package. The prefix ensures that the programs are located in - /usr/bin instead of - /usr/local/bin. - + + python setup.py install --prefix=/usr: This command + installs the package. The prefix ensures that the programs are located + in /usr/bin instead of + /usr/local/bin. + @@ -1404,15 +1671,17 @@ make Installed Programs - Installed Libraries Installed Directories - ipcluster, ipcontroller, ipengine, iplogger, iptest (if nose was - installed), ipython, irunner, pycolor and a host of python scripts - none - /usr/lib/python&python2-majorver;/site-packages/IPython, - /usr/share/doc/IPython + + ipcluster, ipcontroller, ipengine, iplogger, iptest (if nose was + installed), ipython, irunner, pycolor and a host of python scripts. + + + /usr/lib/python&python2-majorver;/site-packages/IPython and + /usr/share/doc/IPython. + @@ -1424,7 +1693,9 @@ make ipcluster - IPython parallel computing cluster control tool + + IPython parallel computing cluster control tool + ipcluster @@ -1435,7 +1706,9 @@ make ipcontroller - IPython parallel computing controller control tool + + IPython parallel computing controller control tool + ipcontroller @@ -1445,7 +1718,9 @@ make ipengine - IPython parallel computing engine control tool + + IPython parallel computing engine control tool + ipengine @@ -1455,7 +1730,9 @@ make iplogger - IPython logger fpr parallel computing + + IPython logger fpr parallel computing + iplogger @@ -1465,7 +1742,9 @@ make iptest - runs the IPython testsuite + + runs the IPython testsuite + iptest @@ -1476,7 +1755,9 @@ make ipython - Tools for Interactive Computing in Python + + Tools for Interactive Computing in Python + ipython @@ -1486,7 +1767,9 @@ make irunner - is an interface to IPython's runner module + + is an interface to IPython's runner module + irunner @@ -1496,361 +1779,16 @@ make pycolor - Colorize a python file or stdin using ANSI and print to stdout + + Colorize a python file or stdin using ANSI and print to stdout + pycolor - - - - - - diff --git a/template/template.xml b/template/template.xml index 9f35a69e90..4928d00c26 100644 --- a/template/template.xml +++ b/template/template.xml @@ -55,7 +55,6 @@ &lfs71_checked; - Package Information