source: general/prog/python-modules/py3c.xml@ 523cb74a

12.1 ken/TL2024 lazarus rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 523cb74a was ab4fdfc, checked in by Pierre Labastie <pierre.labastie@…>, 5 months ago

Change all xml decl to encoding=utf-8

  • Property mode set to 100644
File size: 3.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../../general.ent">
5 %general-entities;
6
7 <!ENTITY py3c-download-http
8 "https://github.com/encukou/py3c/archive/v&py3c-version;/py3c-&py3c-version;.tar.gz">
9 <!ENTITY py3c-md5sum "53029afde7e0cf8672a2d69d378a0cfc">
10 <!ENTITY py3c-size "47 KB">
11 <!ENTITY py3c-buildsize "608 KB (with tests)">
12 <!ENTITY py3c-time "less than 0.1 SBU (with tests)">
13]>
14
15 <!-- Begin Py3c -->
16 <sect2 id="py3c" xreflabel="Py3c-&py3c-version;">
17
18 <title>Py3c-&py3c-version;</title>
19
20 <indexterm zone="py3c">
21 <primary sortas="a-Py3c">Py3c</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to Py3c</title>
26
27 <para>
28 <application>Py3c</application> helps you port C extensions to
29 Python 3. It provides a detailed guide, and a set of macros to
30 make porting easy and reduce boilerplate.
31 </para>
32
33 &lfs120_checked;
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&py3c-download-http;"/>
40 </para>
41 </listitem>
42<!--
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&py3c-download-ftp;"/>
46 </para>
47 </listitem>
48-->
49 <listitem>
50 <para>
51 Download MD5 sum: &py3c-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &py3c-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &py3c-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &py3c-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70<!--
71 <bridgehead renderas="sect4">Py3c Dependencies</bridgehead>
72
73 <bridgehead renderas="sect5">Required</bridgehead>
74 <para role="required">
75-->
76
77 </sect3>
78
79 <sect3 role="installation">
80 <title>Installation of Py3c</title>
81
82 <para>
83 The <application>Py3c</application> package is a headers-only package
84 and because of that, no configuration and compilation is
85 required.
86 </para>
87
88 <para>
89 To test the package, issue:
90 </para>
91
92<screen remap="test"><userinput>make test-python3 &amp;&amp;
93make test-python3-cpp</userinput></screen>
94
95 <para>
96 To install the <application>Python 3</application> module,
97 run the following command as the
98 <systemitem class="username">root</systemitem> user:
99 </para>
100
101<!-- Note:
102 Now, doing a DESTDIR install is just
103 "make prefix=/usr DESTDIR=<dest> install"
104-->
105<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
106
107 </sect3>
108
109 <sect3 role="content">
110 <title>Contents</title>
111
112 <segmentedlist>
113 <segtitle>Installed Programs</segtitle>
114 <segtitle>Installed Libraries</segtitle>
115 <segtitle>Installed Directories</segtitle>
116
117 <seglistitem>
118 <seg>
119 None
120 </seg>
121 <seg>
122 None
123 </seg>
124 <seg>
125 /usr/include/py3c
126 </seg>
127 </seglistitem>
128 </segmentedlist>
129
130 </sect3>
131
132 </sect2>
Note: See TracBrowser for help on using the repository browser.