summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-07-15 10:10:06 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-07-15 10:10:06 +0000
commit565dbd1cdea2c1abccf09c679d3b095dbd6361b2 (patch)
tree86230c40f5772e7b1b872e4f5fddcdbfc08ac8f1 /net-p2p/deluge/files
parentversion bump (diff)
downloadhistorical-565dbd1cdea2c1abccf09c679d3b095dbd6361b2.tar.gz
historical-565dbd1cdea2c1abccf09c679d3b095dbd6361b2.tar.bz2
historical-565dbd1cdea2c1abccf09c679d3b095dbd6361b2.zip
Version bump
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 i686
Diffstat (limited to 'net-p2p/deluge/files')
-rw-r--r--net-p2p/deluge/files/setup.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-p2p/deluge/files/setup.patch b/net-p2p/deluge/files/setup.patch
new file mode 100644
index 000000000000..bc4045b22d3c
--- /dev/null
+++ b/net-p2p/deluge/files/setup.patch
@@ -0,0 +1,40 @@
+--- setup.py.orig 2008-07-14 22:36:14.000000000 +0200
++++ setup.py 2008-07-14 22:36:48.000000000 +0200
+@@ -53,26 +53,6 @@
+
+ # Try to get SVN revision number to append to version
+ revision_string = ""
+-try:
+- stdout = os.popen("svn info")
+- for line in stdout:
+- if line.split(" ")[0] == "Revision:":
+- revision_string = line.split(" ")[1].strip()
+- break
+- # Try to get the SVN revision on Gentoo systems
+- if revision_string == "":
+- stdout = os.popen("svn info /usr/portage/distfiles/svn-src/deluge/deluge-0.6")
+- for line in stdout:
+- if line.split(" ")[0] == "Revision:":
+- revision_string = line.split(" ")[1].strip()
+- break
+-
+- f = open("deluge/data/revision", "w")
+- f.write(revision_string)
+- f.close()
+-except:
+- pass
+-
+
+ if not os.environ.has_key("CC"):
+ os.environ["CC"] = "gcc"
+@@ -327,10 +307,3 @@
+ url = "http://deluge-torrent.org",
+ version = "0.9.01",
+ )
+-
+-try:
+- f = open("deluge/data/revision", "w")
+- f.write("")
+- f.close()
+-except:
+- pass