summaryrefslogtreecommitdiff
path: root/debian/patches/noextraversion.patch
blob: f88c47669905a9df2d445e76f9515a681388a74b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Index: pycryptopp/setup.py
===================================================================
--- pycryptopp.orig/setup.py	2013-08-22 16:56:10.818783603 -0400
+++ pycryptopp/setup.py	2013-08-22 16:56:44.165896373 -0400
@@ -304,7 +304,7 @@
         if mo:
             return mo.group(1)
 
-EXTRAVERSION_H_FNAME = os.path.join(EMBEDDED_CRYPTOPP_DIR, 'extraversion.h')
+#EXTRAVERSION_H_FNAME = os.path.join(EMBEDDED_CRYPTOPP_DIR, 'extraversion.h')
 
 VERSION_BODY = '''
 # This is the version of this tree, as created by %(versiontool)s from the
@@ -335,13 +335,13 @@
         # Let's avoid touching the change time (ctime) on the files unless
         # they actually need to be updated.
 
-        if self.read_extraversion_h(EXTRAVERSION_H_FNAME) != version:
-            self.write_extraversion_h(
-                PKG,
-                version,
-                EXTRAVERSION_H_FNAME,
-                CPP_GIT_VERSION_BODY
-                )
+#        if self.read_extraversion_h(EXTRAVERSION_H_FNAME) != version:
+#            self.write_extraversion_h(
+#                PKG,
+#                version,
+#                EXTRAVERSION_H_FNAME,
+#                CPP_GIT_VERSION_BODY
+#                )
 
         if read_version_py(VERSION_PY_FNAME) != version:
             self.write_version_py(