/[gentoo-alt]/trunk/prefix/dev-python/pycrypto/files/pycrypto-2.0.1-bindist.patch
Gentoo

Contents of /trunk/prefix/dev-python/pycrypto/files/pycrypto-2.0.1-bindist.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1531 - (show annotations) (download)
Tue Sep 19 20:45:53 2006 UTC (7 years, 11 months ago) by grobian
File size: 1561 byte(s)
Sync with main tree


1 --- pycrypto/setup.py
2 +++ pycrypto/setup.py
3 @@ -94,13 +94,6 @@
4 Extension("Crypto.Cipher.DES3",
5 include_dirs=['src/'],
6 sources=["src/DES3.c"]),
7 - Extension("Crypto.Cipher.IDEA",
8 - include_dirs=['src/'],
9 - sources=["src/IDEA.c"],
10 - libraries=HTONS_LIBS),
11 - Extension("Crypto.Cipher.RC5",
12 - include_dirs=['src/'],
13 - sources=["src/RC5.c"]),
14
15 # Stream ciphers
16 Extension("Crypto.Cipher.ARC4",
17 @@ -111,6 +104,17 @@
18 sources=["src/XOR.c"]),
19 ]
20
21 + if 0: #not os.environ.has_key("BINDIST") or os.environ["BINDIST"]!="1":
22 + self.extensions += [
23 + Extension("Crypto.Cipher.IDEA",
24 + include_dirs=['src/'],
25 + sources=["src/IDEA.c"],
26 + libraries=HTONS_LIBS),
27 + Extension("Crypto.Cipher.RC5",
28 + include_dirs=['src/'],
29 + sources=["src/RC5.c"]),
30 + ]
31 +
32 # Detect which modules should be compiled
33 self.detect_modules()
34 build_ext.build_extensions(self)
35 --- pycrypto/Cipher/__init__.py
36 +++ pycrypto/Cipher/__init__.py
37 @@ -24,7 +24,7 @@
38 """
39
40 __all__ = ['AES', 'ARC2', 'ARC4',
41 - 'Blowfish', 'CAST', 'DES', 'DES3', 'IDEA', 'RC5',
42 + 'Blowfish', 'CAST', 'DES', 'DES3',
43 'XOR'
44 ]
45

  ViewVC Help
Powered by ViewVC 1.1.20