summaryrefslogtreecommitdiff
path: root/debian/patches/do_not_regenerate_darcs_stuff.patch
diff options
context:
space:
mode:
authorbertagaz <bertagaz@ptitcanardnoir.org>2011-06-14 15:28:46 +0200
committerbertagaz <bertagaz@ptitcanardnoir.org>2011-06-14 15:28:46 +0200
commitc9ecdd0c5d99b8a55d5289a32669f310faa6477f (patch)
treeef7519972d56868d14c5b610b0a1a14cdb38046c /debian/patches/do_not_regenerate_darcs_stuff.patch
parent30e9097985656920f01a72efc1088caa2b8d41b3 (diff)
Import Debian patch.
Diffstat (limited to 'debian/patches/do_not_regenerate_darcs_stuff.patch')
-rw-r--r--debian/patches/do_not_regenerate_darcs_stuff.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/do_not_regenerate_darcs_stuff.patch b/debian/patches/do_not_regenerate_darcs_stuff.patch
new file mode 100644
index 0000000..7472072
--- /dev/null
+++ b/debian/patches/do_not_regenerate_darcs_stuff.patch
@@ -0,0 +1,31 @@
+# upstream tarball already has all .py files generated by darcs / setuptools_darcs
+# no need to regenerate them
+Index: pycryptopp-0.5.29/setup.py
+===================================================================
+--- pycryptopp-0.5.29.orig/setup.py
++++ pycryptopp-0.5.29/setup.py
+@@ -226,7 +226,7 @@ install_requires = ['setuptools >= 0.6a9
+ # that are already in use), you may need to add it to setup.cfg and configure
+ # it to run darcsver before your command, if you want the version number to be
+ # correct when that command runs. http://pypi.python.org/pypi/darcsver
+-setup_requires.append('darcsver >= 1.6.3')
++#setup_requires.append('darcsver >= 1.6.3')
+
+ # setuptools_pyflakes is needed only if you want "./setup.py flakes" to run
+ # pyflakes on all the pycryptopp modules.
+Index: pycryptopp-0.5.29/setup.cfg
+===================================================================
+--- pycryptopp-0.5.29.orig/setup.cfg
++++ pycryptopp-0.5.29/setup.cfg
+@@ -10,8 +10,8 @@ tag_svn_revision = 0
+ sdist_dsc = darcsver --count-all-patches sdist_dsc
+ sdist = darcsver --count-all-patches sdist
+ trial = darcsver --count-all-patches trial
+-build = darcsver --count-all-patches build
+-install = darcsver --count-all-patches install
+-test = darcsver --count-all-patches test
++#build = darcsver --count-all-patches build
++#install = darcsver --count-all-patches install
++#test = darcsver --count-all-patches test
+ bdist_egg = darcsver --count-all-patches bdist_egg
+