diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-07-15 10:10:06 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-07-15 10:10:06 +0000 |
commit | b142127269c8351a98f529d8c3cf4185eac7e911 (patch) | |
tree | c5a65accf469191334df0503a914bcd0bd62346c /net-p2p/deluge/files | |
parent | version bump (diff) | |
download | gentoo-2-b142127269c8351a98f529d8c3cf4185eac7e911.tar.gz gentoo-2-b142127269c8351a98f529d8c3cf4185eac7e911.tar.bz2 gentoo-2-b142127269c8351a98f529d8c3cf4185eac7e911.zip |
Version bump
(Portage version: 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.patch | 40 |
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 |