summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-08-18 17:27:44 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-08-18 17:27:44 +0000
commit680fce648bc87b3c030424ff0adf7b0b9e2e04c1 (patch)
treeba05f39749e28fd33c2c5e202a15ec6e1a07e879 /app-misc/anki
parentAdd back some old, historical virtuals removed without investigation (diff)
downloadgentoo-2-680fce648bc87b3c030424ff0adf7b0b9e2e04c1.tar.gz
gentoo-2-680fce648bc87b3c030424ff0adf7b0b9e2e04c1.tar.bz2
gentoo-2-680fce648bc87b3c030424ff0adf7b0b9e2e04c1.zip
Bump to 1.0, fixes #331867.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/anki')
-rw-r--r--app-misc/anki/ChangeLog11
-rw-r--r--app-misc/anki/anki-0.9.9.8.6-r1.ebuild4
-rw-r--r--app-misc/anki/anki-1.0.ebuild62
3 files changed, 74 insertions, 3 deletions
diff --git a/app-misc/anki/ChangeLog b/app-misc/anki/ChangeLog
index 7391d62008dc..ab222dd52092 100644
--- a/app-misc/anki/ChangeLog
+++ b/app-misc/anki/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-misc/anki
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.24 2010/06/02 11:46:49 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.25 2010/08/18 17:27:44 patrick Exp $
+
+*anki-1.0 (18 Aug 2010)
+
+ 18 Aug 2010; Patrick Lauer <patrick@gentoo.org> anki-0.9.9.8.6-r1.ebuild,
+ +anki-1.0.ebuild:
+ Bump to 1.0, fixes #331867.
+
+ 18 Aug 2010; Patrick Lauer <patrick@gentoo.org> anki-0.9.9.8.6-r1.ebuild:
+ Fixing PyQt deps for #307035
02 Jun 2010; Patrick Lauer <patrick@gentoo.org> metadata.xml:
Assimilating package
diff --git a/app-misc/anki/anki-0.9.9.8.6-r1.ebuild b/app-misc/anki/anki-0.9.9.8.6-r1.ebuild
index f3b1c84edb52..074a18d1bd8b 100644
--- a/app-misc/anki/anki-0.9.9.8.6-r1.ebuild
+++ b/app-misc/anki/anki-0.9.9.8.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-0.9.9.8.6-r1.ebuild,v 1.1 2010/05/21 21:39:22 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-0.9.9.8.6-r1.ebuild,v 1.2 2010/08/18 17:27:44 patrick Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="furigana +graph latex recording +sound"
RDEPEND="dev-python/beautifulsoup
- >=dev-python/PyQt4-4.4[X,svg,webkit]
+ >=dev-python/PyQt4-4.7[X,svg,webkit]
>=dev-python/sqlalchemy-0.5.3
>=dev-python/simplejson-1.7.3
|| ( >=dev-python/pysqlite-2.3.0 >=dev-lang/python-2.5[sqlite] )
diff --git a/app-misc/anki/anki-1.0.ebuild b/app-misc/anki/anki-1.0.ebuild
new file mode 100644
index 000000000000..d88e114a2153
--- /dev/null
+++ b/app-misc/anki/anki-1.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-1.0.ebuild,v 1.1 2010/08/18 17:27:44 patrick Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/"
+SRC_URI="http://anki.googlecode.com/files/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="furigana +graph latex recording +sound"
+
+RDEPEND="dev-python/beautifulsoup
+ >=dev-python/PyQt4-4.7[X,svg,webkit]
+ >=dev-python/sqlalchemy-0.5.3
+ >=dev-python/simplejson-1.7.3
+ || ( >=dev-python/pysqlite-2.3.0 >=dev-lang/python-2.5[sqlite] )
+ latex? ( app-text/dvipng )
+ furigana? ( app-i18n/kakasi )
+ graph? (
+ dev-python/numpy
+ >=dev-python/matplotlib-0.91.2
+ )
+ recording? (
+ media-sound/sox
+ dev-python/pyaudio
+ media-sound/lame
+ )
+ sound? ( media-video/mplayer )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+RESTRICT_PYTHON_ABIS="3.*"
+
+PYTHON_MODNAME="anki ankiqt"
+
+src_prepare() {
+ distutils_src_prepare
+# epatch "${FILESDIR}/${P}-sqlalchemy-0.6.patch"
+}
+
+src_compile() {
+ distutils_src_compile
+ cd libanki
+ distutils_src_compile
+}
+
+src_install() {
+ distutils_src_install
+ cd libanki
+ distutils_src_install
+ cd ..
+
+ doicon icons/${PN}.png || die
+ make_desktop_entry ${PN} ${PN} ${PN} "Education"
+}