diff options
author | Patrick Lauer <patrick@gentoo.org> | 2017-11-18 14:01:22 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2017-11-18 14:01:36 +0000 |
commit | 18e445dada057fe50a902fe6c9d4e7075fd4a595 (patch) | |
tree | 20cc9891392aa31e1716f703c7b72553006be7d4 /app-misc/anki | |
parent | sys-kernel/aufs-sources: Bump to latest genpatches and linux release (diff) | |
download | gentoo-18e445dada057fe50a902fe6c9d4e7075fd4a595.tar.gz gentoo-18e445dada057fe50a902fe6c9d4e7075fd4a595.tar.bz2 gentoo-18e445dada057fe50a902fe6c9d4e7075fd4a595.zip |
app-misc/anki: Bump to 2.1.0_beta
Requires python 3.6, untested and thus without keywords, for now.
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'app-misc/anki')
-rw-r--r-- | app-misc/anki/Manifest | 1 | ||||
-rw-r--r-- | app-misc/anki/anki-2.1.0_beta25.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest index e5c07888f067..33c94dd6f67b 100644 --- a/app-misc/anki/Manifest +++ b/app-misc/anki/Manifest @@ -6,3 +6,4 @@ DIST anki-2.0.36.tgz 3410538 SHA256 fb208230cdc50ea02d53f521cf03926c627fff7cf731 DIST anki-2.0.41.tgz 3422038 SHA256 f9e8498d62cda2c2892ca2141ec1a318159499c6b280edeaf8c2b95e97e3ab4e SHA512 b5f58fdd690cca84fbe26f6b626d04e638b9d814a51fa6bad33f86eccc3c8d41712594a60a6621b1103fe974350a6ecffcd4e5cc1702eb3d79d3187fe30b8872 WHIRLPOOL 08b0e8beae817ccca10f392d4bd8be1d560860a4768515e5b3023b792288680651baae2669532b66aac65c2afe1fc4d18ca0cddb9282b6f5159a31d670624810 DIST anki-2.0.43.tgz 3422113 SHA256 009b91568f944bfd14886428ca7de550158043d16438257211e0569285241a7b SHA512 e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c WHIRLPOOL 2b7ffa788d65b8fd4b489556b3a66a5e6f2bdcd1807d94a02a64995dfad1d6a8f2821cabd5bfaa760d222b5c05aa99e8a87eb6fefc72f60568136e414e3907e9 DIST anki-2.0.47.tgz 3422231 SHA256 fbb5356d642a94a2cb2fb7f949e6db7c8acbe322f38a18c0603ff88f5bd4eb18 SHA512 5e4bbaac6d60506f43adfec1c4ff83285ac423405bfba57b566e7a9d632a22cf0f9ca7fe3eff3ce56c516a6cbb0112e5251319f11ba984d74bffd2c25e04c64a WHIRLPOOL dddef926f3754c1c3686e903dee539a9d84692dc6619cea7f9a71e2256cd5dcced113ce2d7da8cecf13a9ff8c36942a1216c72c5744a496e1792e70dd4750cf8 +DIST anki-2.1.0_beta25.tgz 4117303 SHA256 f91ce359e3b0d5b186f4dd8e07056743f95a12d743d91358f1768e59d25882dc SHA512 9ddf984c575df00fe9b7974f24166a0f18d63e904b3d9bd4370de506828a251efed0fb319f06dc23c6852aae46e552994c6633880603a6e746d4d242b9e627f8 WHIRLPOOL 1b4c5c97df4f2c426d791c953c009731cbe2b6a213fb7aa5acf6d71e393867e85082ff04959d836dd9e1c6739367604fdf669ee713641750de564660de0cbeba diff --git a/app-misc/anki/anki-2.1.0_beta25.ebuild b/app-misc/anki/anki-2.1.0_beta25.ebuild new file mode 100644 index 000000000000..9abc929ee656 --- /dev/null +++ b/app-misc/anki/anki-2.1.0_beta25.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="sqlite" + +inherit eutils python-single-r1 + +DESCRIPTION="A spaced-repetition memory training program (flash cards)" +HOMEPAGE="https://apps.ankiweb.net" + +MY_P="${P/_/}" +SRC_URI="https://apps.ankiweb.net/downloads/beta/${MY_P}-source.tgz -> ${P}.tgz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="latex +recording +sound" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/PyQt5[gui,svg,webkit,${PYTHON_USEDEP}] + >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}] + dev-python/beautifulsoup[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + recording? ( + media-sound/lame + >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}] + ) + sound? ( media-video/mplayer ) + latex? ( + app-text/texlive + app-text/dvipng + )" +DEPEND="" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + sed -i -e "s/updates=True/updates=False/" \ + aqt/profiles.py || die +} + +# Nothing to configure or compile +src_configure() { + :; +} + +src_compile() { + :; +} + +src_install() { + cp tools/runanki.system tools/anki + doicon ${PN}.png + domenu ${PN}.desktop + doman ${PN}.1 + + dodoc README.md README.development + python_domodule aqt anki + python_doscript tools/anki + + # Localization files go into the anki directory: + python_moduleinto anki + python_domodule locale +} |