mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-12 17:20:13 +00:00
anki: import from oe-classic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
require anki.inc
|
||||||
|
|
||||||
|
SRC_URI = "${SOURCEFORGE_MIRROR}/anki/anki-${PV}.tgz"
|
||||||
|
SRC_URI[md5sum] = "90434860945de4c09d55cdb5dbe984fc"
|
||||||
|
SRC_URI[sha256sum] = "18a93fb46363ca34963fc2588cadf7415dd799dd647efa681859eb8b1b22f104"
|
||||||
|
|
||||||
|
export BUILD_PV := "${PV}"
|
||||||
|
SRC_URI += "file://no-need-for-pyqt-at-buildtime.patch"
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
DESCRIPTION = "Anki is a program designed to help you remember facts \
|
||||||
|
(such as words and phrases in a foreign language) \
|
||||||
|
as easily, quickly and efficiently as possible"
|
||||||
|
HOMEPAGE = "http://ichi2.net/anki/"
|
||||||
|
AUTHOR = "Damien Elmes"
|
||||||
|
LICENSE = "GPLv3+"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
|
||||||
|
|
||||||
|
inherit setuptools
|
||||||
@@ -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["BUILD_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["BUILD_PV"],
|
||||||
|
zip_safe=False,
|
||||||
|
package_data={'ankiqt':
|
||||||
|
['locale/*/*/*']},
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
require ${PN}-${PV}.inc
|
||||||
|
|
||||||
|
RDEPENDS_${PN} = "python-pyqt python-sip libanki"
|
||||||
|
RRECOMMENDS_${PN} = "virtual-japanese-font"
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
--- libanki.orig/setup.py 2008-01-02 13:22:22.000000000 +0100
|
||||||
|
+++ libanki/setup.py 2012-08-02 11:39:13.604173933 +0200
|
||||||
|
@@ -3,10 +3,8 @@
|
||||||
|
from setuptools import setup, find_packages
|
||||||
|
import sys, os
|
||||||
|
|
||||||
|
-import anki
|
||||||
|
-
|
||||||
|
setup(name='anki',
|
||||||
|
- version=anki.version,
|
||||||
|
+ version=os.environ["BUILD_PV"],
|
||||||
|
description='An intelligent spaced-repetition memory training library',
|
||||||
|
long_description="",
|
||||||
|
# Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
require anki-${PV}.inc
|
||||||
|
|
||||||
|
S = "${WORKDIR}/anki-${PV}/libanki"
|
||||||
Reference in New Issue
Block a user