source: general/prog/pycrypto.xml@ ec50b6f

10.0 10.1 11.0 11.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since ec50b6f was ec50b6f, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Need pycrypto in sysv book also

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

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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 pycrypto-download-http "https://pypi.python.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-&pycrypto-version;.tar.gz">
8 <!ENTITY pycrypto-download-ftp " ">
9 <!ENTITY pycrypto-md5sum "55a61a054aa66812daf5161a0d5d7eda">
10 <!ENTITY pycrypto-size "440 KB">
11 <!ENTITY pycrypto-buildsize "14 MB">
12 <!ENTITY pycrypto-time "0.1 SBU">
13]>
14
15 <!-- Begin pycrypto -->
16 <sect2 id="pycrypto" xreflabel="PyCrypto-&pycrypto-version;">
17
18 <title>PyCrypto-&pycrypto-version;</title>
19
20 <indexterm zone="pycrypto">
21 <primary sortas="a-pycrypto">pycrypto</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to the PyCrypto Module</title>
26
27 <para>
28 <application>PyCrypto</application> is a collection of both secure hash
29 functions (such as SHA256 and RIPEMD160), and various encryption
30 algorithms (AES, DES, RSA, ElGamal, etc.).
31 </para>
32
33 &lfs80_checked;
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&pycrypto-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&pycrypto-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &pycrypto-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &pycrypto-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &pycrypto-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &pycrypto-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">PyCrypto Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="python2"/> and/or
74 <xref linkend="python3"/>
75 </para>
76
77 <para condition="html" role="usernotes">
78 User Notes: <ulink url="&blfs-wiki;/pycrypto"/>
79 </para>
80 </sect3>
81
82 <sect3 role="installation">
83 <title>Installation of PyCrypto</title>
84
85 <note>
86 <para>
87 Both <application>Python 2</application> and
88 <application>Python 3</application> modules can
89 be built and installed without any conflicts.
90 </para>
91 </note>
92
93<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
94
95 <para>
96 To build the <application>Python 2</application> module,
97 run the following command:
98 </para>
99
100<screen><userinput>python setup.py build</userinput></screen>
101
102 <para>
103 To install the <application>Python 2</application> module,
104 run the following command as the
105 <systemitem class="username">root</systemitem> user:
106 </para>
107
108<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
109
110 <para>
111 To build the <application>Python 3</application> module,
112 run the following command:
113 </para>
114
115<screen><userinput>python3 setup.py build</userinput></screen>
116
117 <para>
118 To install the <application>Python 3</application> module,
119 run the following command as the
120 <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
124
125 </sect3>
126
127 <sect3 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Libraries</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>
137 None
138 </seg>
139 <seg>
140 pycrypto-&pycrypto-version;-py2.7.egg-info and/or
141 pycrypto-&pycrypto-version;-py3.6.egg-info
142 </seg>
143 <seg>
144 /usr/lib/python&python2-majorver;/site-packages/Crypto and/or
145 /usr/lib/python&python3-majorver;/site-packages/Crypto
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149
150 </sect3>
151
152 </sect2>
153 <!--End pycrypto -->
Note: See TracBrowser for help on using the repository browser.