Do not ship embeddedcryptopp/extraversion.h
authorbertagaz <bertagaz@ptitcanardnoir.org>
Tue, 14 Jun 2011 14:50:10 +0000 (16:50 +0200)
committerbertagaz <bertagaz@ptitcanardnoir.org>
Tue, 14 Jun 2011 14:50:10 +0000 (16:50 +0200)
debian/patches/do_not_ship_extraversion.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/do_not_ship_extraversion.patch b/debian/patches/do_not_ship_extraversion.patch
new file mode 100644 (file)
index 0000000..ebbb75e
--- /dev/null
@@ -0,0 +1,13 @@
+Index: pycryptopp/setup.py
+===================================================================
+--- pycryptopp.orig/setup.py   2011-06-14 16:41:38.480289242 +0200
++++ pycryptopp/setup.py        2011-06-14 16:42:05.568309622 +0200
+@@ -260,7 +260,7 @@
+ # Note that due to a bug in distutils we also have to maintain a
+ # MANIFEST.in file specifying embeddedcryptopp/extraversion.h. This bug was
+ # fixed in Python 2.7
+-data_files.append((EMBEDDED_CRYPTOPP_DIR, [EMBEDDED_CRYPTOPP_DIR+'/extraversion.h']))
++#data_files.append((EMBEDDED_CRYPTOPP_DIR, [EMBEDDED_CRYPTOPP_DIR+'/extraversion.h']))
+ if ECDSA:
+     long_description='RSA-PSS-SHA256 signatures, ECDSA(1363)/EMSA1(SHA-256) signatures, SHA-256 hashes, and AES-CTR encryption'
index 721518e..7a062a5 100644 (file)
@@ -1,2 +1,3 @@
 move_testvectors_outside_site-packages.patch
 do_not_regenerate_darcs_stuff.patch
+do_not_ship_extraversion.patch