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 E33EC139337 for ; Thu, 29 Jul 2021 11:41:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32680E08BB; Thu, 29 Jul 2021 11:41:48 +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 8A292E08BB for ; Thu, 29 Jul 2021 11:41:47 +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 366B433BF05 for ; Thu, 29 Jul 2021 11:41:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 926745C4 for ; Thu, 29 Jul 2021 11:41:44 +0000 (UTC) From: "Shaoyu Tseng" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Shaoyu Tseng" Message-ID: <1627558881.0dfbac25955f80ee265aca894ff63f0aa1e7752a.shaoyu0209@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/anki-bin/Manifest app-misc/anki-bin/anki-bin-2.1.44.ebuild app-misc/anki-bin/metadata.xml X-VCS-Directories: app-misc/anki-bin/ X-VCS-Committer: shaoyu0209 X-VCS-Committer-Name: Shaoyu Tseng X-VCS-Revision: 0dfbac25955f80ee265aca894ff63f0aa1e7752a X-VCS-Branch: dev Date: Thu, 29 Jul 2021 11:41:44 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: df61cf65-2f59-4c55-b4ae-f22e698ce61f X-Archives-Hash: 88b72df0953d25d082981fb71dec936e commit: 0dfbac25955f80ee265aca894ff63f0aa1e7752a Author: Shaoyu Tseng tuta io> AuthorDate: Thu Jul 29 11:41:21 2021 +0000 Commit: Shaoyu Tseng tuta io> CommitDate: Thu Jul 29 11:41:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0dfbac25 app-misc/anki-bin: new package Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Shaoyu Tseng tuta.io> app-misc/anki-bin/Manifest | 3 ++ app-misc/anki-bin/anki-bin-2.1.44.ebuild | 59 ++++++++++++++++++++++++++++++++ app-misc/anki-bin/metadata.xml | 12 +++++++ 3 files changed, 74 insertions(+) diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest new file mode 100644 index 000000000..10dac22b7 --- /dev/null +++ b/app-misc/anki-bin/Manifest @@ -0,0 +1,3 @@ +DIST anki-bin-2.1.44.zip 8421027 BLAKE2B 56ac58ac7a8a10487e28124512e31687cfda98899ba3ac23152155f8a478326be23974f1efe576c973096cbe063c8143129ac4a886265cb39545f67193d2cc37 SHA512 73a3bf5760830c622914d9da76f8c772ab4ef97bfd784d726b16cdbbfd1f0ed41724f6b9611bc365b44d656269d63c0254e062ad589b13261a9d9a0553211620 +DIST anki.png 110645 BLAKE2B 77fe1612016dcb6079c5d33e0c8124c9e3a07a7297f27d0ea16923628a687f14386173721eb87c60efd3d70b442984b297794c924e019602cf1810d6079811d0 SHA512 daf63cb585a080350f6eee9c447d13cae1e576341df8843810279a3cabb442ab2d69ad409a138f8b5ace9c1485e373ed40d30230e9b8696a0e7e4e6fd43ce8dc +DIST aqt-2.1.44.zip 1609295 BLAKE2B f0930dd6dc9d7e0ecbbda8d81b13cb6f4225e867826d30ae6662dbe9491fdd2b4824a184c95ea9ac7bdc26df0004e72e627a2fce8cc5bfcd2fc7f01d828aae46 SHA512 e6e967659043d02935ead51d51c4bba8346c0855c076863ed050761a5657b1f2e19a4fe0452cec8eba9460762b001d45add50ee4facb450d2a83355ce1fc1d25 diff --git a/app-misc/anki-bin/anki-bin-2.1.44.ebuild b/app-misc/anki-bin/anki-bin-2.1.44.ebuild new file mode 100644 index 000000000..8239276ea --- /dev/null +++ b/app-misc/anki-bin/anki-bin-2.1.44.ebuild @@ -0,0 +1,59 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) +inherit python-single-r1 desktop xdg + +DESCRIPTION="A spaced-repetition memory training program (flash cards)" +HOMEPAGE="https://apps.ankiweb.net/" +SRC_URI=" + https://files.pythonhosted.org/packages/1d/da/199c378dd483bea4b38e94c2951bbb903dae8be023484577ba41b9c75ada/anki-2.1.44-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip + https://files.pythonhosted.org/packages/25/1a/7b94d38b897c942c206258b7b1c758586250ebeb4804a33a4191a047fb2a/aqt-2.1.44-py3-none-any.whl -> aqt-${PV}.zip + https://github.com/ankitects/anki/blob/2.1.44/qt/linux/anki.png +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-python/decorator + dev-python/protobuf-python + dev-python/orjson-bin + dev-python/distro + dev-python/beautifulsoup + dev-python/requests + dev-python/flask + dev-python/waitress + dev-python/send2trash + dev-python/markdown + dev-python/jsonschema + dev-python/flask-cors + dev-python/PyQt5 + dev-python/PyQtWebEngine +" +RDEPEND=" + ${DEPEND} + !appmisc/anki +" +BDEPEND="app-arch/unzip +${PYTHON_DEPS}" + +S="${WORKDIR}" + +src_unpack() { + default +} + +src_install() { + python_domodule anki + python_domodule anki-2.1.44.dist-info + python_domodule aqt + python_domodule aqt-${PV}.dist-info + printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki + python_newscript runanki anki + doicon "${DISTDIR}"/anki.png + make_desktop_entry /usr/bin/anki Anki anki Education +} diff --git a/app-misc/anki-bin/metadata.xml b/app-misc/anki-bin/metadata.xml new file mode 100644 index 000000000..a266aaf9b --- /dev/null +++ b/app-misc/anki-bin/metadata.xml @@ -0,0 +1,12 @@ + + + + + shaoyu0209@tuta.io + Shaoyu Tseng + + + anki + ankitects/anki + +