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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BDBA21581C1 for ; Sun, 14 Jul 2024 00:34:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A61062BC08D; Sun, 14 Jul 2024 00:34:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7FF0E2BC08E for ; Sun, 14 Jul 2024 00:34:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CA45342F93 for ; Sun, 14 Jul 2024 00:34:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D02AC1E34 for ; Sun, 14 Jul 2024 00:34:44 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1720875314.1b1b51902367f7004075f121c8eb3480bcf3674a.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/komikku/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-text/komikku/Manifest app-text/komikku/komikku-1.51.1.ebuild X-VCS-Directories: app-text/komikku/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 1b1b51902367f7004075f121c8eb3480bcf3674a X-VCS-Branch: master Date: Sun, 14 Jul 2024 00:34: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: 0b38172a-0809-4d2c-bcfb-6eb50e2362d4 X-Archives-Hash: 2736c5ab30ba7a990f2ff85a8e5bc05a commit: 1b1b51902367f7004075f121c8eb3480bcf3674a Author: Takuya Wakazono gmail com> AuthorDate: Sat Jul 13 12:17:43 2024 +0000 Commit: David Roman gmail com> CommitDate: Sat Jul 13 12:55:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b1b5190 app-text/komikku: add 1.51.1 Signed-off-by: Takuya Wakazono gmail.com> app-text/komikku/Manifest | 1 + app-text/komikku/komikku-1.51.1.ebuild | 94 ++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/app-text/komikku/Manifest b/app-text/komikku/Manifest index 5020e36b2..988d55cee 100644 --- a/app-text/komikku/Manifest +++ b/app-text/komikku/Manifest @@ -1 +1,2 @@ DIST komikku-1.50.0.tar.gz 4923523 BLAKE2B 5e39e9edc1f47054863c10c39fa7c953cfeca05d115f43600ec2d46f54b1d3b03b8fa9283c00a9a8096e3b32ad82ca5049c29ea7a6eff480e2e44ba7e83488ac SHA512 b62f93798f24b5e57709d4662d9ef7d3efb685ca1ff4c288bec99b8b57d5e20fdd7421d5f637d08cba395bcd6c8457f0e73233afb245e356ba525057b7e9c384 +DIST komikku-1.51.1.tar.gz 4937165 BLAKE2B 7819b176a6f6db2625a5cbfb7a487f58b79b43dab5e1bb24bdb95c7cd809ad1e5310b63cb21205125745d7d5286ebbdc35ecb9be80f59d3b5015b941e79fe7c1 SHA512 be91cf6b48f10063c027d6079a9addde87dea436215fc786cba9eb8e59aa11788485f2a3a1b5910a036e3b428d181892d81fa4c718ce79699a6a60b99d320778 diff --git a/app-text/komikku/komikku-1.51.1.ebuild b/app-text/komikku/komikku-1.51.1.ebuild new file mode 100644 index 000000000..7af66f6f1 --- /dev/null +++ b/app-text/komikku/komikku-1.51.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="sqlite(+),ssl(+)" +DISTUTILS_USE_PEP517=no +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 meson gnome2-utils xdg + +DESCRIPTION="Manga reader for GNOME" +HOMEPAGE="https://apps.gnome.org/Komikku/" +SRC_URI="https://codeberg.org/valos/Komikku/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RESTRICT="test" +# Depend on a random server that may or may not be accessible. +#PROPERTIES="test_network" + +DEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + >=gui-libs/gtk-4.12:4 + >=gui-libs/libadwaita-1.5:1[introspection] + net-libs/webkit-gtk:6[introspection] +" +RDEPEND=" + ${DEPEND} + x11-libs/libnotify[introspection] + $(python_gen_cond_dep ' + app-arch/brotli[python,${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/colorthief[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/dateparser[${PYTHON_USEDEP}] + dev-python/emoji[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/natsort[${PYTHON_USEDEP}] + dev-python/piexif[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pillow-heif[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/rarfile[compressed,${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + dev-util/blueprint-compiler + sys-devel/gettext + test? ( + $(python_gen_cond_dep ' + dev-python/pytest-steps[${PYTHON_USEDEP}] + ') + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # fix broken shebang + sed "s|py_installation.full_path()|'${PYTHON}'|" -i bin/meson.build || die +} + +src_test() { + emake setup + emake develop + emake test +} + +src_install() { + meson_src_install + python_optimize +} + +pkg_postinst() { + gnome2_schemas_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_schemas_update + xdg_pkg_postrm +}