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 850D715806E for ; Sun, 21 May 2023 14:56:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80CA6E081E; Sun, 21 May 2023 14:56:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5659EE081A for ; Sun, 21 May 2023 14:56:30 +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 3A46B33BE0D for ; Sun, 21 May 2023 14:56:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 769A4A67 for ; Sun, 21 May 2023 14:56:27 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1684680985.a87eee1bf0e4a9bf25a191825ce25d4655da34c3.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/markdown-mode/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/markdown-mode/markdown-mode-2.5-r1.ebuild X-VCS-Directories: app-emacs/markdown-mode/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: a87eee1bf0e4a9bf25a191825ce25d4655da34c3 X-VCS-Branch: master Date: Sun, 21 May 2023 14:56:27 +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: 76952d13-b768-4f5d-8f1d-d66c1a6d13b9 X-Archives-Hash: d81d2094aea15506fe0f24bf156b34a0 commit: a87eee1bf0e4a9bf25a191825ce25d4655da34c3 Author: Maciej Barć gentoo org> AuthorDate: Sun May 21 14:53:23 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun May 21 14:56:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87eee1b app-emacs/markdown-mode: edit-indirect optfeature; format Signed-off-by: Maciej Barć gentoo.org> .../markdown-mode/markdown-mode-2.5-r1.ebuild | 33 ++++++++++++++++------ 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/app-emacs/markdown-mode/markdown-mode-2.5-r1.ebuild b/app-emacs/markdown-mode/markdown-mode-2.5-r1.ebuild index 82e1e0ff7742..e11c0d58dab2 100644 --- a/app-emacs/markdown-mode/markdown-mode-2.5-r1.ebuild +++ b/app-emacs/markdown-mode/markdown-mode-2.5-r1.ebuild @@ -3,11 +3,12 @@ EAPI=8 -inherit elisp +inherit elisp optfeature DESCRIPTION="Major mode for editing Markdown-formatted text files" HOMEPAGE="https://jblevins.org/projects/markdown-mode/" -SRC_URI="https://github.com/jrblevin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/jrblevin/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" @@ -15,19 +16,33 @@ KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND="|| ( +RDEPEND=" + || ( dev-python/markdown2 dev-python/markdown virtual/pandoc - )" -BDEPEND="test? ( - virtual/pandoc - || ( app-text/aspell[l10n_en] app-text/hunspell[l10n_en] ) -)" + ) +" +BDEPEND=" + test? ( + virtual/pandoc + || ( + app-text/aspell[l10n_en] + app-text/hunspell[l10n_en] + ) + ) +" PATCHES=( "${FILESDIR}"/${PN}-2.5-markdown-command.patch "${FILESDIR}"/${PN}-2.5-test.patch ) + +DOCS=( CHANGES.md CONTRIBUTING.md README.md ) SITEFILE="50${PN}-gentoo.el" -DOCS="CHANGES.md CONTRIBUTING.md README.md" + +pkg_postinst() { + elisp_pkg_postinst + + optfeature "editing Markdown source code blocks" app-emacs/edit-indirect +}