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 B5522158003 for ; Sun, 5 Feb 2023 18:59:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8FEFE0827; Sun, 5 Feb 2023 18:59:29 +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 CBCEAE0827 for ; Sun, 5 Feb 2023 18:59:29 +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 9E0D6340AE2 for ; Sun, 5 Feb 2023 18:59:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1CC0121 for ; Sun, 5 Feb 2023 18:59:27 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1675623562.4a684fc00affc8178cb4bd8baaa1269f3945c5b5.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/tig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/tig/Manifest dev-vcs/tig/tig-2.5.8.ebuild X-VCS-Directories: dev-vcs/tig/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 4a684fc00affc8178cb4bd8baaa1269f3945c5b5 X-VCS-Branch: master Date: Sun, 5 Feb 2023 18:59: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: 59b37133-8b9a-4714-8e7d-84e117f287fe X-Archives-Hash: 48db24b800c400aea24b0c5ead29cce6 commit: 4a684fc00affc8178cb4bd8baaa1269f3945c5b5 Author: Patrick McLean gentoo org> AuthorDate: Sun Feb 5 18:58:39 2023 +0000 Commit: Patrick McLean gentoo org> CommitDate: Sun Feb 5 18:59:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a684fc0 dev-vcs/tig: add 2.5.8 Signed-off-by: Patrick McLean gentoo.org> dev-vcs/tig/Manifest | 1 + dev-vcs/tig/tig-2.5.8.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-vcs/tig/Manifest b/dev-vcs/tig/Manifest index a16b08f9cb40..6814efaf5bd2 100644 --- a/dev-vcs/tig/Manifest +++ b/dev-vcs/tig/Manifest @@ -1,3 +1,4 @@ DIST tig-2.5.5.tar.gz 1175752 BLAKE2B c77ff0990e5984df6a247cddb1729532719617178fb89143f1f78817f686cb357bc80678e8a1c245c338a40c20c69473b554d8af83381386821358495ed26f29 SHA512 63f617dfcbd89de715573caa92ca83906cefa6a5229876f1d5390b4b58442b0bec958065b798d4e81729dc87bf6dcd2a392fbbab2cd66ca16df6e2e9d6362ca3 DIST tig-2.5.6.tar.gz 1176006 BLAKE2B eda766b32022fd6d849048107d9de90cb668ac594db1f46ee94984a5487f1a01c3109e3279c2c9e2260ef04ad7687b8c5eeb52ecf0b5e9d5c4b1f649aa23d46f SHA512 4d55061db43d64be9c97589d37305f6dcd85f1e7381012a9d61d21226dad456a86b16401fffe7763808dab62f07e17b2bcd17b9a30e1349e252be85f479e3741 DIST tig-2.5.7.tar.gz 1176146 BLAKE2B e67847741469a776f5cfb9c7f51fd651c81ed2c03e4627e708481eca3a47dfdebb3ef1d827cccb01ec0b5de7514bfe4b6e9e5dcfc1d39469d21eb6297e4c3086 SHA512 26adbb8dc43ef7ec1eaf5d6def29a8b6dcf5e30825242fc489208139c8720805a265dd1ba412601df692f6d0438ee9e3171a3f8a3cc4599841d82dfc08a9ea1f +DIST tig-2.5.8.tar.gz 1179844 BLAKE2B eff20358443bd794de2985e1c76db8be25f4461ac82182a72004ab380156c15c5ed27dc1c66fb347b1f3d1ccddcead0a031638762e48f7e88a3b0593a278d3d7 SHA512 f4e7648ae7c58e936251f69071a092617368a04eabb4ae6726b2de1dbd305c559b7235f7aa70868f4ada02611196593a6e1c241062f57cd05a9c98685385053e diff --git a/dev-vcs/tig/tig-2.5.8.ebuild b/dev-vcs/tig/tig-2.5.8.ebuild new file mode 100644 index 000000000000..07d7ba5c9706 --- /dev/null +++ b/dev-vcs/tig/tig-2.5.8.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/jonas/tig.git" + inherit git-r3 autotools +else + SRC_URI="https://github.com/jonas/tig/releases/download/${P}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +fi + +DESCRIPTION="text mode interface for git" +HOMEPAGE="https://jonas.github.io/tig/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="pcre test unicode" +REQUIRED_USE="test? ( unicode )" + +DEPEND=" + sys-libs/ncurses:=[unicode(+)?] + sys-libs/readline:0= + pcre? ( dev-libs/libpcre2:= ) +" +RDEPEND=" + ${DEPEND} + dev-vcs/git +" +[[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc app-text/xmlto" + +# encoding/env issues +RESTRICT="test" + +src_prepare() { + default + [[ ${PV} == "9999" ]] && eautoreconf +} + +src_configure() { + econf \ + $(use_with pcre) \ + $(use_with unicode ncursesw) +} + +src_compile() { + emake V=1 + [[ ${PV} == "9999" ]] && emake V=1 doc-man doc-html +} + +src_test() { + # workaround parallel test failures + LC_ALL=en_US.utf8 emake -j1 test +} + +src_install() { + emake DESTDIR="${D}" install install-doc-man + dodoc doc/manual.html README.html NEWS.html + newbashcomp contrib/tig-completion.bash ${PN} + + docinto examples + dodoc contrib/*.tigrc +}