summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/python-lastfm/nostdeb.diff15
-rw-r--r--libraries/python-lastfm/nostdeb.diff.gzbin238 -> 0 bytes
-rw-r--r--libraries/python-lastfm/python-lastfm.SlackBuild2
3 files changed, 16 insertions, 1 deletions
diff --git a/libraries/python-lastfm/nostdeb.diff b/libraries/python-lastfm/nostdeb.diff
new file mode 100644
index 0000000000..83d1ea07bc
--- /dev/null
+++ b/libraries/python-lastfm/nostdeb.diff
@@ -0,0 +1,15 @@
+*** setup.py 2009-03-04 09:34:14.000000000 +0200
+--- setup1.py 2009-03-04 09:36:03.000000000 +0200
+***************
+*** 1,5 ****
+ #!/usr/bin/env python
+! import stdeb
+ __author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>"
+ __version__ = "0.1"
+ __license__ = "GNU Lesser General Public License"
+--- 1,5 ----
+ #!/usr/bin/env python
+!
+ __author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>"
+ __version__ = "0.1"
+ __license__ = "GNU Lesser General Public License"
diff --git a/libraries/python-lastfm/nostdeb.diff.gz b/libraries/python-lastfm/nostdeb.diff.gz
deleted file mode 100644
index dd4ed986a0..0000000000
--- a/libraries/python-lastfm/nostdeb.diff.gz
+++ /dev/null
Binary files differ
diff --git a/libraries/python-lastfm/python-lastfm.SlackBuild b/libraries/python-lastfm/python-lastfm.SlackBuild
index 94a54c9899..9a8fde69f5 100644
--- a/libraries/python-lastfm/python-lastfm.SlackBuild
+++ b/libraries/python-lastfm/python-lastfm.SlackBuild
@@ -55,7 +55,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-zcat $CWD/nostdeb.diff.gz | patch -p0 || exit
+patch -p0 < $CWD/nostdeb.diff
python setup.py install --root $PKG