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 176CC15808B for ; Fri, 25 Mar 2022 12:08:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00D40E0871; Fri, 25 Mar 2022 12:08:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B31B4E086E for ; Fri, 25 Mar 2022 12:08:27 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C8C7342D87 for ; Fri, 25 Mar 2022 12:08:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ABA6E339 for ; Fri, 25 Mar 2022 12:08:24 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1648202455.3187fd887fb66f10dfd0299efc0a819144f4ab8b.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/lokalize/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/lokalize/lokalize-22.03.80.ebuild X-VCS-Directories: kde-apps/lokalize/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 3187fd887fb66f10dfd0299efc0a819144f4ab8b X-VCS-Branch: master Date: Fri, 25 Mar 2022 12:08:24 +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: 48fe8b84-078d-4746-b0dc-19d9ca058e86 X-Archives-Hash: d6e950479f5c2d827004f0d0c2672c9c commit: 3187fd887fb66f10dfd0299efc0a819144f4ab8b Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Mar 25 10:00:55 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Mar 25 10:00:55 2022 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=3187fd88 kde-apps/lokalize: 22.03.80 version bump Signed-off-by: Andreas Sturmlechner gentoo.org> kde-apps/lokalize/lokalize-22.03.80.ebuild | 69 ++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/kde-apps/lokalize/lokalize-22.03.80.ebuild b/kde-apps/lokalize/lokalize-22.03.80.ebuild new file mode 100644 index 0000000000..7b731c3f5d --- /dev/null +++ b/kde-apps/lokalize/lokalize-22.03.80.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +PYTHON_COMPAT=( python3_{8..10} ) +KFMIN=5.92.0 +QTMIN=5.15.2 +inherit python-single-r1 ecm kde.org optfeature + +DESCRIPTION="Localization tool for KDE software and other free and open source software" +HOMEPAGE="https://apps.kde.org/lokalize/ https://l10n.kde.org/tools/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="test" # tests are broken, bug 739734 + +DEPEND="${PYTHON_DEPS} + >=app-text/hunspell-1.2.8:= + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5[sqlite] + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/sonnet-${KFMIN}:5 +" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/translate-toolkit[${PYTHON_USEDEP}] + ') +" + +pkg_setup() { + python-single-r1_pkg_setup + ecm_pkg_setup +} + +src_install() { + ecm_src_install + rm "${ED}"/usr/share/lokalize/scripts/msgmerge.{py,rc} || die + python_fix_shebang "${ED}"/usr/share/${PN} +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "autofetch kde.org translations in new project wizard" dev-vcs/subversion + optfeature "spell and grammar checking" app-text/languagetool + fi + ecm_pkg_postinst +}