summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/pygoogle/pygoogle.SlackBuild2
-rw-r--r--libraries/pygoogle/version.patch12
-rw-r--r--libraries/pygoogle/version.patch.gzbin364 -> 0 bytes
3 files changed, 13 insertions, 1 deletions
diff --git a/libraries/pygoogle/pygoogle.SlackBuild b/libraries/pygoogle/pygoogle.SlackBuild
index ef7f23ec23..e10b8ce5f7 100644
--- a/libraries/pygoogle/pygoogle.SlackBuild
+++ b/libraries/pygoogle/pygoogle.SlackBuild
@@ -63,7 +63,7 @@ find . \
chmod 644 readme.txt
# Fix version in setup.py
-zcat $CWD/version.patch.gz | patch -p1
+patch -p1 < $CWD/version.patch
python setup.py install --root=$PKG
diff --git a/libraries/pygoogle/version.patch b/libraries/pygoogle/version.patch
new file mode 100644
index 0000000000..add7c6b47d
--- /dev/null
+++ b/libraries/pygoogle/version.patch
@@ -0,0 +1,12 @@
+diff -Naur pygoogle-0.6.orig/setup.py pygoogle-0.6/setup.py
+--- pygoogle-0.6.orig/setup.py 2004-02-26 00:54:23.000000000 +0100
++++ pygoogle-0.6/setup.py 2009-03-13 14:37:38.000000000 +0100
+@@ -3,7 +3,7 @@
+ import os
+
+ setup (name = "pygoogle",
+- version = "0.5",
++ version = "0.6",
+ description= "Simple interface to Google",
+ long_description = "This module lets you search the Google search engine programmatically. See http://www.google.com/apis/ for details." ,
+ author = 'Brian Landers (origianlly by Mark Pilgrim and contributors)',
diff --git a/libraries/pygoogle/version.patch.gz b/libraries/pygoogle/version.patch.gz
deleted file mode 100644
index 29095a2456..0000000000
--- a/libraries/pygoogle/version.patch.gz
+++ /dev/null
Binary files differ