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 143671581EE for ; Tue, 25 Mar 2025 04:37:17 +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 EFE6D34342A for ; Tue, 25 Mar 2025 04:37:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 72A4C1104BA; Tue, 25 Mar 2025 04:36:53 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 bobolink.gentoo.org (Postfix) with ESMTPS id 620521104B5 for ; Tue, 25 Mar 2025 04:36:53 +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 123783432F1 for ; Tue, 25 Mar 2025 04:36:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BC2B28B3 for ; Tue, 25 Mar 2025 04:36:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1742877286.12f694c9c12b3fc548aecf77ce2babf7af2e1cc3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/retext/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/retext/Manifest app-editors/retext/retext-8.1.0.ebuild X-VCS-Directories: app-editors/retext/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 12f694c9c12b3fc548aecf77ce2babf7af2e1cc3 X-VCS-Branch: master Date: Tue, 25 Mar 2025 04:36:50 +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: dd8752da-855f-438c-a71b-0c1b0a3b375a X-Archives-Hash: 936dd20c87fbd2fbf22cc3b551fb8a44 commit: 12f694c9c12b3fc548aecf77ce2babf7af2e1cc3 Author: Philipp Rösner protonmail com> AuthorDate: Sat Mar 22 16:01:24 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 25 04:34:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f694c9 app-editors/retext: add 8.1.0 Signed-off-by: Philipp Rösner protonmail.com> Signed-off-by: Sam James gentoo.org> app-editors/retext/Manifest | 1 + app-editors/retext/retext-8.1.0.ebuild | 70 ++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/app-editors/retext/Manifest b/app-editors/retext/Manifest index acc06294e2d8..458a0668fb38 100644 --- a/app-editors/retext/Manifest +++ b/app-editors/retext/Manifest @@ -1 +1,2 @@ DIST ReText-8.0.2.tar.gz 546236 BLAKE2B 3ef28366e5884234d77b2155c3f01d7881206383aa19ccb010255eb40ea14aa2ab298fe212d2b4d0e7d65246075b426c93a8ae518b8fb5f0887f1694064e309a SHA512 c7b543d91290c007c820751f39c009c1e5fb86eb59590d0c13610c9c7f13b6023ffee3d6aebc4665addacbefad0d17937a29e8201d08457cc1641a6d5c0019b0 +DIST retext-8.1.0.tar.gz 569692 BLAKE2B 0481414eddb40c158ad9e68d4ec6d43a702a458ee43ee5441477d3dcf29f1df7fdb120b7538af4c7e47bef095e8cb685633369e44f66b6c797caefbf81673a68 SHA512 d4bdb39608b9cd74773255a95c940060b79fe578b045d00b1224d49a94f45e4ffcf8163fc3e9778b92509b7fe425a59d444054814dc2c5f70998dc865b7c7f8d diff --git a/app-editors/retext/retext-8.1.0.ebuild b/app-editors/retext/retext-8.1.0.ebuild new file mode 100644 index 000000000000..5356445353f7 --- /dev/null +++ b/app-editors/retext/retext-8.1.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517="setuptools" +DISTUTILS_SINGLE_IMPL=1 +PYPI_NO_NORMALIZE=1 +PYPI_PN="retext" + +inherit desktop distutils-r1 optfeature virtualx xdg + +DESCRIPTION="Simple editor for Markdown and reStructuredText" +HOMEPAGE="https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/retext-project/retext.git" +else + inherit pypi + KEYWORDS="~amd64 ~riscv ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + >=dev-python/markups-4.0.0[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pyqt6[dbus,gui,printsupport,widgets,${PYTHON_USEDEP}] + dev-python/python-markdown-math[${PYTHON_USEDEP}] + ') +" +# qmake6 from qtbase is used to find lrelease +BDEPEND=" + dev-qt/qtbase:6 + dev-qt/qttools:6[linguist] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/pyqt6[testlib,${PYTHON_USEDEP}] + ') + ) +" + +distutils_enable_tests unittest + +src_test() { + QT_QPA_PLATFORM=minimal virtx distutils-r1_src_test +} + +src_install() { + distutils-r1_src_install + + domenu data/me.mitya57.ReText.desktop +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "a local copy of the MathJax JavaScript library" dev-libs/mathjax + optfeature "encoding detection" dev-python/chardet + optfeature "dictionary support" dev-python/pyenchant + optfeature "JavaScript support in preview" dev-python/pyqt6-webengine +}