diff options
Diffstat (limited to 'meta-oe/recipes-extended/anki/anki/no-need-for-pyqt-at-buildtime.patch')
-rw-r--r-- | meta-oe/recipes-extended/anki/anki/no-need-for-pyqt-at-buildtime.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/anki/anki/no-need-for-pyqt-at-buildtime.patch b/meta-oe/recipes-extended/anki/anki/no-need-for-pyqt-at-buildtime.patch new file mode 100644 index 000000000..9eac1dc7b --- /dev/null +++ b/meta-oe/recipes-extended/anki/anki/no-need-for-pyqt-at-buildtime.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | # | ||
2 | # (C) Michael 'Mickey' Lauer <mlauer@vanille-media.de> | ||
3 | # | ||
4 | Index: anki-0.4.3/setup.py | ||
5 | =================================================================== | ||
6 | --- anki-0.4.3.orig/setup.py 2008-02-12 19:17:56.000000000 +0000 | ||
7 | +++ anki-0.4.3/setup.py 2008-02-12 19:19:29.000000000 +0000 | ||
8 | @@ -3,10 +3,8 @@ | ||
9 | from setuptools import setup, find_packages | ||
10 | import sys, os | ||
11 | |||
12 | -import ankiqt | ||
13 | - | ||
14 | setup(name='ankiqt', | ||
15 | - version=ankiqt.appVersion, | ||
16 | + version=os.environ["BUILD_PV"], | ||
17 | description='An intelligent spaced-repetition memory training program', | ||
18 | long_description="", | ||
19 | # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | ||
20 | @@ -24,7 +22,7 @@ | ||
21 | license='GPLv2', | ||
22 | packages=find_packages(), | ||
23 | include_package_data=True, | ||
24 | - install_requires = 'anki >= ' + ankiqt.appVersion, | ||
25 | + install_requires = 'anki >= ' + os.environ["BUILD_PV"], | ||
26 | zip_safe=False, | ||
27 | package_data={'ankiqt': | ||
28 | ['locale/*/*/*']}, | ||