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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3E6313835A for ; Wed, 24 Feb 2021 07:06:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 590B6E085B; Wed, 24 Feb 2021 07:06:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C9FFE0845 for ; Wed, 24 Feb 2021 07:06:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A408A335D4B for ; Wed, 24 Feb 2021 07:06:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF7CDC3 for ; Wed, 24 Feb 2021 07:06:07 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1614150011.862f53c884a73ed5943e9458a8346c71f1c7050a.juippis@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-7.2.0.ebuild X-VCS-Directories: app-editors/retext/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 862f53c884a73ed5943e9458a8346c71f1c7050a X-VCS-Branch: master Date: Wed, 24 Feb 2021 07:06:07 +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: be9213c3-c9c4-4cf0-b71b-f8e70bdd9187 X-Archives-Hash: eba12bd82cdbd9fa5ee5053cd071c1cb commit: 862f53c884a73ed5943e9458a8346c71f1c7050a Author: Nils Freydank posteo de> AuthorDate: Sat Feb 13 08:39:19 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Feb 24 07:00:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=862f53c8 app-editors/retext: Bump to 7.2.0 This bump does not support python 3.7 anymore, as python 3.8 is already stable. Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Nils Freydank posteo.de> Signed-off-by: Joonas Niilola gentoo.org> app-editors/retext/Manifest | 1 + app-editors/retext/retext-7.2.0.ebuild | 69 ++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/app-editors/retext/Manifest b/app-editors/retext/Manifest index baff11d898b..8ce4d6df0bc 100644 --- a/app-editors/retext/Manifest +++ b/app-editors/retext/Manifest @@ -1 +1,2 @@ DIST ReText-7.1.0.tar.gz 484989 BLAKE2B 74f07218cba1d76d011e5347c65ec03ef84da29119c177f35cca206cb269ae4755fdb85448562a378d2ab610930d23b4eccb62a39807409c6e80a68102be2034 SHA512 92333f31f7a57440d642246ed30156384285bb44640a0d6e7654e82749681893eaef3cb16e41fa2d7b618aa59f1ea8cb07d431736b00f35cb9130d7294e3d105 +DIST ReText-7.2.0.tar.gz 516895 BLAKE2B e35cfa59b248135be4454359516c36f94e927cb13d60669cffde6b8b70eb5049e2083e6bd50ea1f602f7454025271599a92e34d4bc95920cb17271882f8f6d31 SHA512 ed1cb0088fcd3f1cba96bb07137766c6ae8177e8c9a91f22334ef2f949b58792e03f0b5022d9ef71bfb611b7969c651b4c7920f48ed8e1ad07caff2f69c85a35 diff --git a/app-editors/retext/retext-7.2.0.ebuild b/app-editors/retext/retext-7.2.0.ebuild new file mode 100644 index 00000000000..f2e2866b363 --- /dev/null +++ b/app-editors/retext/retext-7.2.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Please don't add pypy support before testing if it's actually supported. The +# old compat matrix is no longer accessible as of 2021-02-13 but stated back +# in 2020-07-05 that PyQt5 was explicitly not supported. +PYTHON_COMPAT=( python3_{8,9} ) + +inherit distutils-r1 optfeature virtualx xdg-utils +DISTUTILS_USE_SETUPTOOLS=rdepend + +MY_PN="ReText" +MY_P="${MY_PN}-${PV/_/~}" + +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 + SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="GPL-2+" +SLOT="0" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/markups[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/python-markdown-math[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,network,printsupport,widgets,${PYTHON_USEDEP}] + dev-python/PyQtWebEngine[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + esetup.py test +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + + optfeature "dictionary support" dev-python/pyenchant + + einfo "Starting with retext-7.0.4 the markdown-math plugin is installed." + einfo "Note that you can use different math delimiters, e.g. \(...\) for inline math." + einfo "For more details take a look at:" + einfo "https://github.com/mitya57/python-markdown-math#math-delimiters" +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}