From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 3F5DF1580EB for ; Thu, 22 May 2025 19:41:31 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 99E5F3431EA for ; Thu, 22 May 2025 19:40:13 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id CF5C711047D; Thu, 22 May 2025 19:40:10 +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 bobolink.gentoo.org (Postfix) with ESMTPS id CA73F11047D for ; Thu, 22 May 2025 19:40:10 +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 7C7F6342FF0 for ; Thu, 22 May 2025 19:40:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB009198A for ; Thu, 22 May 2025 19:40:08 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1747942803.c87a281a46fa68076a1e14b6dcbaa282fda2c0df.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/sigil/Manifest app-text/sigil/sigil-2.5.0.ebuild X-VCS-Directories: app-text/sigil/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: c87a281a46fa68076a1e14b6dcbaa282fda2c0df X-VCS-Branch: master Date: Thu, 22 May 2025 19:40:08 +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: 6e0a0d45-f0f3-4340-8454-9ded8c685ec8 X-Archives-Hash: 3233887c21edea9d1485d9d9a193c6ab commit: c87a281a46fa68076a1e14b6dcbaa282fda2c0df Author: Arthur Zamarin gentoo org> AuthorDate: Thu May 22 19:39:48 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu May 22 19:40:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c87a281a app-text/sigil: add 2.5.0 Signed-off-by: Arthur Zamarin gentoo.org> app-text/sigil/Manifest | 1 + app-text/sigil/sigil-2.5.0.ebuild | 86 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest index f6fc40d05892..948303c352e3 100644 --- a/app-text/sigil/Manifest +++ b/app-text/sigil/Manifest @@ -1,2 +1,3 @@ DIST Sigil_User_Guide_2024.08.15.epub 12641984 BLAKE2B feaa8a4f6b64786d5cbf494a61c8726a5dd3e169ca8902348e2fee9f890ab7496b5ad018d49d6cecd65cb3d3d4a9b4a6bda019ac52c324fa92fad3e7b5dbc680 SHA512 10199c037a57f4b9ed913a8c726a58e376dcd34300a98cdd4cf934fd3a2f9a26d2f92bd85131af7ee1084824d7b082f7becdec9b0731a62f9cde712bfada5a09 DIST sigil-2.4.2.tar.gz 19144897 BLAKE2B 517d25626fcb6c33bc8176098085c749e4c41e5186363bbc030b3be552a798647aa334a740302fd5c3db8cdfcab7f9ea8c110f6c3f312d751cbfb8d7d87b6f84 SHA512 22355b0c2fe16d2759c1948d8288936575108931a264f6859ea0f0fd52ca34870a1a4b7d7934c649970f7439f30c19192a33237b417debb0a8b7b1db6b900aa7 +DIST sigil-2.5.0.tar.gz 19346255 BLAKE2B 8ab6c543fb3950043cd0894b9865056646408a9b533d249e04cc4205292ae9cceff6d1658096a99f260b2ccb4047a0e5641c124e5cf52ae8374dafa070205717 SHA512 60fbd5f4334866c1430f5e6414433bdc808079fe4d654465d9819409ce52467009cf5295b94ee78697871928fe806a54ca2ad21a91f306ada4c641459096f191 diff --git a/app-text/sigil/sigil-2.5.0.ebuild b/app-text/sigil/sigil-2.5.0.ebuild new file mode 100644 index 000000000000..9b426a808381 --- /dev/null +++ b/app-text/sigil/sigil-2.5.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) + +inherit xdg cmake python-single-r1 + +DOC_VERSION="2024.08.15" +DOC_FILE="Sigil_User_Guide_${DOC_VERSION}.epub" + +DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format" +HOMEPAGE="https://sigil-ebook.com/ https://github.com/Sigil-Ebook/Sigil" +SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://github.com/Sigil-Ebook/sigil-user-guide/releases/download/${DOC_VERSION}/${DOC_FILE} )" +S=${WORKDIR}/${P^} + +LICENSE="GPL-3+ Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc +plugins +system-mathjax" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + app-text/hunspell:= + dev-libs/libpcre2:=[pcre16] + dev-qt/qtbase:6[concurrent,cups,network,widgets,xml] + dev-qt/qtwebengine:6[widgets] + dev-qt/qtsvg:6 + sys-libs/zlib[minizip] + $(python_gen_cond_dep ' + dev-python/css-parser[${PYTHON_USEDEP}] + dev-python/dulwich[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ') + plugins? ( + $(python_gen_cond_dep ' + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-python/pyqt6[${PYTHON_USEDEP}] + dev-python/pyqt6-webengine[${PYTHON_USEDEP}] + ') + $(python_gen_impl_dep 'tk') + ) + system-mathjax? ( >=dev-libs/mathjax-3 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + dev-qt/qttools:6[linguist] +" + +DOCS=( ChangeLog.txt README.md ) + +src_configure() { + local mycmakeargs=( + -DPython3_INCLUDE_DIR="$(python_get_includedir)" + -DPython3_LIBRARY="$(python_get_library_path)" + -DPython3_EXECUTABLE="${PYTHON}" + + -DUSE_VIRT_PY=0 + -DINSTALL_BUNDLED_DICTS=0 + -DSYSTEM_LIBS_REQUIRED=1 + -DUSE_SYSTEM_LIBS=1 + ) + use system-mathjax && mycmakeargs+=( -DMATHJAX3_DIR="${EPREFIX}"/usr/share/mathjax ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + python_fix_shebang "${ED}"/usr/share/sigil/ + python_optimize "${ED}"/usr/share/sigil/ + + if use doc; then + dodoc "${DISTDIR}/${DOC_FILE}" + docompress -x /usr/share/doc/${PF}/${DOC_FILE} + fi +}