summaryrefslogtreecommitdiff
path: root/packages/anki/files/no-need-for-pyqt-at-buildtime.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-02-12 19:22:33 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-02-12 19:22:33 +0000
commitb71755f5063c33c58a77a088fed19cf7e6f6bfeb (patch)
treee1947b86120a38a88eabfd899ea01b866ab31d7c /packages/anki/files/no-need-for-pyqt-at-buildtime.patch
parentf6d75d235751beea6ccdf865fc302ff97259de65 (diff)
anki 0.4.3 make it build
Diffstat (limited to 'packages/anki/files/no-need-for-pyqt-at-buildtime.patch')
-rw-r--r--packages/anki/files/no-need-for-pyqt-at-buildtime.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/anki/files/no-need-for-pyqt-at-buildtime.patch b/packages/anki/files/no-need-for-pyqt-at-buildtime.patch
new file mode 100644
index 0000000000..56cfec4999
--- /dev/null
+++ b/packages/anki/files/no-need-for-pyqt-at-buildtime.patch
@@ -0,0 +1,28 @@
+#
+# (C) Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+#
+Index: anki-0.4.3/setup.py
+===================================================================
+--- anki-0.4.3.orig/setup.py 2008-02-12 19:17:56.000000000 +0000
++++ anki-0.4.3/setup.py 2008-02-12 19:19:29.000000000 +0000
+@@ -3,10 +3,8 @@
+ from setuptools import setup, find_packages
+ import sys, os
+
+-import ankiqt
+-
+ setup(name='ankiqt',
+- version=ankiqt.appVersion,
++ version=os.environ["PV"],
+ description='An intelligent spaced-repetition memory training program',
+ long_description="",
+ # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
+@@ -24,7 +22,7 @@
+ license='GPLv2',
+ packages=find_packages(),
+ include_package_data=True,
+- install_requires = 'anki >= ' + ankiqt.appVersion,
++ install_requires = 'anki >= ' + os.environ["PV"],
+ zip_safe=False,
+ package_data={'ankiqt':
+ ['locale/*/*/*']},