public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/, dev-python/stringcase/
@ 2023-05-06  1:02 Amano Kenji
  0 siblings, 0 replies; only message in thread
From: Amano Kenji @ 2023-05-06  1:02 UTC (permalink / raw
  To: gentoo-commits

commit:     819f5ae932c0306da5f0f88a1b98762963a8199b
Author:     amano.kenji <amano.kenji <AT> proton <DOT> me>
AuthorDate: Sat May  6 01:01:25 2023 +0000
Commit:     Amano Kenji <amano.kenji <AT> proton <DOT> me>
CommitDate: Sat May  6 01:01:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=819f5ae9

app-misc/anki-bin: 2.1.62 for python 3.11

Signed-off-by: amano.kenji <amano.kenji <AT> proton.me>

 app-misc/anki-bin/Manifest                         |  5 ++
 app-misc/anki-bin/anki-bin-2.1.62.ebuild           | 64 ++++++++++++++++++++++
 ...ase-1.2.0.ebuild => stringcase-1.2.0-r1.ebuild} |  2 +-
 3 files changed, 70 insertions(+), 1 deletion(-)

diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 823681d21..d1bb28c97 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,4 +1,5 @@
 DIST anki-2.1.61-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12895470 BLAKE2B a2bcc4b7f60a9ea9dd9957a2a526472e3eff838b0dc9613bd14c830dc6ed248eb27946b4221987f5100a2811f5e8c13e249c0a38dd52e41abd5812d48bcd6a0b SHA512 55e11440efb9953aa5c1dacb721508adaf191076ea05c8cc0154dfe84cbe1e7b88fa5572fe9297346b13df7bbe41348f53acd2ed2c1ec066795226d31f98677c
+DIST anki-2.1.62-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13016717 BLAKE2B f7c8fd7a4de8c7ea9099b35aa4d7576ebcc0dcba3d32ec409a8a16e4b4f926ae5d1a8e0a57cbb3c892353b33fe49aee935eebe3ce14a848256c1baaade509456 SHA512 2e33eabd3797c1b9a5c81a9d6b05a3733b57fe5ffbaae7771233c23469f5b9ba11b79c723f0fdef03343bcfab5e24c88a920d52938905b028d62add1127653e7
 DIST anki-bin-2.1.60.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
 DIST anki-bin-2.1.60.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
 DIST anki-bin-2.1.60.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
@@ -6,5 +7,9 @@ DIST anki-bin-2.1.60.zip 12847675 BLAKE2B 5373f317ea6b7687063308556c7eff8d99746e
 DIST anki-bin-2.1.61.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
 DIST anki-bin-2.1.61.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
 DIST anki-bin-2.1.61.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-2.1.62.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.62.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.62.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
 DIST aqt-2.1.60.zip 6277087 BLAKE2B 9183b9a0ada043ba2d2c762772d872afc4aa49dfb4dc79931818c26c51be9741fcba5706f6a4e8e591a3ec8a68bb7c98e858793ba1e6aab8172e0aaaa90da5f9 SHA512 51db34d6dc8aef7e466826e8f67df41558379011abc8a20c17a991dc583681952e8769141d81563bfa960f08347ad91e262a0f67c57e03ae1b584d1600cab269
 DIST aqt-2.1.61-py3-none-any.whl.zip 6526466 BLAKE2B e497aaaf2c546a687252371459e9b8a604742e9435d56cbd901121515b2aaca1010abf5d750a085da5ba681e35aa2bb9cd3a1eee9b9ce5e5657b024715100505 SHA512 bc1a055d2a4450e0030f2bccf3981fb2ef9b92a24c4b62cc5dcedf36265fd639026f5430f0b1e29d6bb0cba66c99334e612b5f7e3d2928d826caa0d82c08cede
+DIST aqt-2.1.62-py3-none-any.whl.zip 6530752 BLAKE2B d67c1b30515104e4b8a7ef704a93d00a98d30c1b142f436de0a38df39ca8390017e1c36562f00350461f136ea870c6a4cb53465b65cd26ef207e9ab33b205af4 SHA512 2287fb29c9e06f44ea9ca4bd2e3f5cc2279ece67a876c0ae254e342054735110f63656dbebbff8fec11cf48daf52bd8809c2d8fd7510c02ea82adb843be3e073

diff --git a/app-misc/anki-bin/anki-bin-2.1.62.ebuild b/app-misc/anki-bin/anki-bin-2.1.62.ebuild
new file mode 100644
index 000000000..278790c5b
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.62.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+### A NOTE REGARDING PYTHON COMPATABILITY ###
+# Anki-bin downloads a python 3.9 wheel. However the wheel used has only one native library _rsbridge.so
+# that is not linked against libpython.
+# The configuration with Python 3.10 was tested on a limited number of machines and is not guaranteed to work.
+
+PYTHON_COMPAT=( python3_{10..11} )
+inherit desktop python-single-r1 pypi xdg
+
+MY_PN=${PN%-bin}
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/"
+SRC_URI="
+	$(pypi_wheel_url --unpack ${MY_PN} ${PV} cp39 abi3-manylinux_2_28_x86_64)
+	$(pypi_wheel_url --unpack aqt ${PV})
+	https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.desktop -> ${P}.desktop
+	https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.png -> ${P}.png
+	https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.1 -> ${P}.1
+"
+
+LICENSE="AGPL-3+ Apache-2.0 BSD CC-BY-3.0 GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+QA_PREBUILT="usr/lib/*"
+DEPEND="
+$(python_gen_cond_dep '
+	dev-python/decorator[${PYTHON_USEDEP}]
+	dev-python/protobuf-python[${PYTHON_USEDEP}]
+	dev-python/distro[${PYTHON_USEDEP}]
+	dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}]
+	dev-python/flask[${PYTHON_USEDEP}]
+	dev-python/waitress[${PYTHON_USEDEP}]
+	dev-python/send2trash[${PYTHON_USEDEP}]
+	dev-python/markdown[${PYTHON_USEDEP}]
+	dev-python/jsonschema[${PYTHON_USEDEP}]
+	dev-python/flask-cors[${PYTHON_USEDEP}]
+	dev-python/PyQt5[${PYTHON_USEDEP}]
+	dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+	dev-python/stringcase[${PYTHON_USEDEP}]
+	')
+"
+RDEPEND="${DEPEND}
+	${PYTHON_DEPS}
+	!app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_install() {
+	python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.dist-info
+	printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki
+	python_newscript runanki anki
+	newicon "${DISTDIR}"/${P}.png ${MY_PN}.png
+	newmenu "${DISTDIR}"/${P}.desktop ${MY_PN}.desktop
+	newman "${DISTDIR}"/${P}.1 ${MY_PN}.1
+}

diff --git a/dev-python/stringcase/stringcase-1.2.0.ebuild b/dev-python/stringcase/stringcase-1.2.0-r1.ebuild
similarity index 91%
rename from dev-python/stringcase/stringcase-1.2.0.ebuild
rename to dev-python/stringcase/stringcase-1.2.0-r1.ebuild
index 6ad381f8b..3910056d8 100644
--- a/dev-python/stringcase/stringcase-1.2.0.ebuild
+++ b/dev-python/stringcase/stringcase-1.2.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 
 DISTUTILS_USE_SETUPTOOLS=no
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-06  1:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-06  1:02 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/, dev-python/stringcase/ Amano Kenji

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox