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 D2AC2158015 for ; Thu, 28 Dec 2023 02:19:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 310512BC029; Thu, 28 Dec 2023 02:19:14 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 0E0412BC029 for ; Thu, 28 Dec 2023 02:19:14 +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 1EF7C335DEB for ; Thu, 28 Dec 2023 02:19:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87EA414C5 for ; Thu, 28 Dec 2023 02:19:10 +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: <1703729904.efd05b82186b83e293242463a683385ebdee4f08.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/source-highlight/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild X-VCS-Directories: dev-util/source-highlight/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: efd05b82186b83e293242463a683385ebdee4f08 X-VCS-Branch: master Date: Thu, 28 Dec 2023 02:19:10 +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: fbf48a4c-fca9-41b4-ac49-52a0663255e8 X-Archives-Hash: e7e8aadc9e22b8957479ae95747f4a6f commit: efd05b82186b83e293242463a683385ebdee4f08 Author: Eli Schwartz gmail com> AuthorDate: Thu Dec 28 01:50:58 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Dec 28 02:18:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd05b82 dev-util/source-highlight: fix some old formatting quirks src_* functions should be defined according to order of execution for the aid of the reader. The test phase was defined out of order. Global variables were inconsistently delineated in a huge chunk. Separate them a bit. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> .../source-highlight/source-highlight-3.1.9-r2.ebuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild b/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild index 3a9b22fd5680..055fbbbd12ae 100644 --- a/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild +++ b/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild @@ -8,6 +8,7 @@ inherit bash-completion-r1 flag-o-matic libtool optfeature DESCRIPTION="Generate highlighted source code as an (x)html document" HOMEPAGE="https://www.gnu.org/software/src-highlite/source-highlight.html" SRC_URI="mirror://gnu/src-highlite/${P}.tar.gz" + LICENSE="GPL-3" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" @@ -45,6 +46,13 @@ src_configure() { $(use_enable static-libs static) } +src_test() { + export LD_LIBRARY_PATH="${S}/lib/srchilite/.libs/" + # upstream uses the same temporary filenames in numerous places + # see https://bugs.gentoo.org/635100 + emake -j1 check +} + src_install() { use doc && local HTML_DOCS=( doc/*.{html,css,java} ) default @@ -58,13 +66,6 @@ src_install() { dobashcomp completion/source-highlight } -src_test() { - export LD_LIBRARY_PATH="${S}/lib/srchilite/.libs/" - # upstream uses the same temporary filenames in numerous places - # see https://bugs.gentoo.org/635100 - emake -j1 check -} - pkg_postinst() { optfeature "ctags support" dev-util/ctags }