public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/anki/
Date: Mon, 18 Dec 2017 12:37:51 +0000 (UTC)	[thread overview]
Message-ID: <1513600658.ad529e3c9365ea33c83d1d6812a235b97475c2ee.xmw@gentoo> (raw)

commit:     ad529e3c9365ea33c83d1d6812a235b97475c2ee
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 12:37:38 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 12:37:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad529e3c

app-misc/anki: Version bump, rekeyword adm64 and x86.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-misc/anki/Manifest                 |  1 +
 app-misc/anki/anki-2.1.0_beta27.ebuild | 86 ++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 0ae3257b74c..8d8a7f5f6ae 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -7,3 +7,4 @@ DIST anki-2.0.41.tgz 3422038 BLAKE2B 43f816b47ec17381de192f71680b3df8a0dade74379
 DIST anki-2.0.43.tgz 3422113 BLAKE2B 04bd8c028122dfd74fdeb92297da7bd7af04fc093e87bd156bc61558a328a8249115baf14a666eeb7a7ce7b29e2276d1ef03e028a916d178fa88080ad229aea2 SHA512 e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c
 DIST anki-2.0.47.tgz 3422231 BLAKE2B 192803df52a97cfe31f58914453836aa8dfd341572f812855e551faf9345506acce0176c0966c08e6b8ffac4f5ff36eb5eb76eac9ebc397ebe27e1fec0233e62 SHA512 5e4bbaac6d60506f43adfec1c4ff83285ac423405bfba57b566e7a9d632a22cf0f9ca7fe3eff3ce56c516a6cbb0112e5251319f11ba984d74bffd2c25e04c64a
 DIST anki-2.1.0_beta25.tgz 4117303 BLAKE2B 0f7021c4da4efa918c285fa6bf85242e52999d0f340d4a882651cf1e2857ac015f6f99967d4a7fee6df92a2b3c4849eb838707b08abd04d534f4d21ce28eb749 SHA512 9ddf984c575df00fe9b7974f24166a0f18d63e904b3d9bd4370de506828a251efed0fb319f06dc23c6852aae46e552994c6633880603a6e746d4d242b9e627f8
+DIST anki-2.1.0_beta27.tgz 4127906 BLAKE2B b4f83cc30dc3e89f3ca17c03ba8dcfc9a487de43d8ac564d5dc83488e286c302816c8a8140aa764b596404194c5f3727218deec303ef201ccaef38b945d8b32d SHA512 50b4ece1361ecafdfe08dad04e9b622b1e8ba2224bfef7e4660c95f81cb8f525d892170548d741ff53bc19ff4c13863f488a71c31c8328511fea3203d2c345f1

diff --git a/app-misc/anki/anki-2.1.0_beta27.ebuild b/app-misc/anki/anki-2.1.0_beta27.ebuild
new file mode 100644
index 00000000000..470db2ae7ad
--- /dev/null
+++ b/app-misc/anki/anki-2.1.0_beta27.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_6 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1 xdg
+
+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="~amd64 ~x86"
+IUSE="latex +recording +sound test"
+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:4[${PYTHON_USEDEP}]
+	dev-python/decorator[${PYTHON_USEDEP}]
+	dev-python/markdown[${PYTHON_USEDEP}]
+	dev-python/requests[${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="${RDEPEND}
+	test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch )
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+	sed -i -e "s/updates=True/updates=False/" \
+		aqt/profiles.py || die
+}
+
+src_compile() {
+	:;
+}
+
+src_test() {
+	sed -e "s:nosetests:${EPYTHON} ${EROOT}usr/bin/nosetests:" \
+		-i tools/tests.sh || die
+	./tools/tests.sh || die
+}
+
+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
+
+	# not sure if this is correct, but
+	# site-packages/aqt/mediasrv.py wants the directory
+	insinto /usr/share/anki
+	doins -r web
+}


             reply	other threads:[~2017-12-18 12:37 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 12:37 Michael Weber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-11  3:29 [gentoo-commits] repo/gentoo:master commit in: app-misc/anki/ Sam James
2025-07-23  2:32 Sam James
2025-07-08 20:28 Sam James
2025-06-02 21:41 Sam James
2025-06-02 21:41 Sam James
2025-05-21 21:03 Sam James
2025-05-21 21:03 Sam James
2025-05-04  6:08 Sam James
2025-05-04  6:08 Sam James
2025-04-29 19:45 Sam James
2025-03-10  3:58 Sam James
2025-03-10  3:56 Sam James
2025-02-19 20:22 Michał Górny
2025-02-15  9:29 Ulrich Müller
2024-12-27 12:08 Sam James
2024-12-01  6:47 Sam James
2024-12-01  6:47 Sam James
2024-10-25 11:52 Joonas Niilola
2024-08-19 19:04 Joonas Niilola
2024-08-19 19:04 Joonas Niilola
2024-08-19 19:04 Joonas Niilola
2024-05-15  9:56 Florian Schmaus
2024-05-15  9:56 Florian Schmaus
2024-05-15  9:56 Florian Schmaus
2024-03-21  2:50 Sam James
2024-01-21 10:00 Sam James
2022-06-02  7:52 Michał Górny
2021-06-01  0:04 Sam James
2021-04-12 22:50 Sam James
2021-02-02 22:08 Sam James
2021-01-01  0:47 Michał Górny
2020-02-16 22:13 Andreas Sturmlechner
2020-02-09 16:11 Michał Górny
2019-11-17 18:51 Davide Pesavento
2019-06-20 13:26 罗百科
2018-03-01 12:55 Andreas Sturmlechner
2017-12-19  0:20 Andreas Sturmlechner
2017-12-14 15:32 Michael Weber
2017-11-18 14:01 Patrick Lauer
2017-09-23  6:31 Patrick Lauer
2017-04-22 13:52 Michał Górny
2017-04-20  7:59 David Seifert
2017-03-08  1:23 Mike Frysinger
2017-01-29 17:07 Patrick Lauer
2016-04-19 10:06 Patrick Lauer
2016-04-11 10:13 Patrick Lauer
2016-03-31  6:18 Patrick Lauer
2016-01-02 18:53 Agostino Sarubbo
2015-12-12  5:15 Thomas Kahle
2015-12-12  5:15 Thomas Kahle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513600658.ad529e3c9365ea33c83d1d6812a235b97475c2ee.xmw@gentoo \
    --to=xmw@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox