From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E0091396D9 for ; Sat, 18 Nov 2017 14:01:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C83B3E0BFD; Sat, 18 Nov 2017 14:01:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 991E0E0BFD for ; Sat, 18 Nov 2017 14:01:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2088933BF24 for ; Sat, 18 Nov 2017 14:01:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB2079F0A for ; Sat, 18 Nov 2017 14:01:39 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1511013696.18e445dada057fe50a902fe6c9d4e7075fd4a595.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/anki/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/anki/Manifest app-misc/anki/anki-2.1.0_beta25.ebuild X-VCS-Directories: app-misc/anki/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 18e445dada057fe50a902fe6c9d4e7075fd4a595 X-VCS-Branch: master Date: Sat, 18 Nov 2017 14:01:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 22e64dbf-7fb4-4c28-9084-7d5b6924a975 X-Archives-Hash: 00cfb8811d0a33e4e4ae065e6aa68937 commit: 18e445dada057fe50a902fe6c9d4e7075fd4a595 Author: Patrick Lauer gentoo org> AuthorDate: Sat Nov 18 14:01:22 2017 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Sat Nov 18 14:01:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18e445da 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 app-misc/anki/Manifest | 1 + app-misc/anki/anki-2.1.0_beta25.ebuild | 71 ++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest index e5c07888f06..33c94dd6f67 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 00000000000..9abc929ee65 --- /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 +}