summaryrefslogtreecommitdiff
path: root/dev-vcs/tig
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/tig')
-rw-r--r--dev-vcs/tig/Manifest11
-rw-r--r--dev-vcs/tig/files/tig-2.5.1-bash-completion-qa-warning.patch15
-rw-r--r--dev-vcs/tig/tig-2.3.3.ebuild4
-rw-r--r--dev-vcs/tig/tig-2.4.1.ebuild4
-rw-r--r--dev-vcs/tig/tig-2.5.0.ebuild4
-rw-r--r--dev-vcs/tig/tig-2.5.1.ebuild64
-rw-r--r--dev-vcs/tig/tig-9999.ebuild4
7 files changed, 94 insertions, 12 deletions
diff --git a/dev-vcs/tig/Manifest b/dev-vcs/tig/Manifest
index 569e21bfba34..5b4afd380148 100644
--- a/dev-vcs/tig/Manifest
+++ b/dev-vcs/tig/Manifest
@@ -1,8 +1,11 @@
+AUX tig-2.5.1-bash-completion-qa-warning.patch 431 BLAKE2B 9a636eba13852ff8ae591b97202efda7b3e2de171903ab423914c20987e42d129adbd19fa9d3297e70ad8d8a64774210424cc01c56fb6b864bbcc716e984a874 SHA512 d56c76d1cb31db29fdf756350b7933220c9312d3e80e55abe7e44505b2e844b4609ca8966e1323205682a2ec090279445da5eacc51ee1a17d39ceff2c34b0254
DIST tig-2.3.3.tar.gz 1082818 BLAKE2B 0e9bcd02726b004c233a5efd7f58e4fda478dc1d2b738a7f8c086a3d71807d319ac8bd296b0f7c7569ed69a5b2b1db18e5c957cc5ce890a67b8f6ee7ead29551 SHA512 1d1cdf7184eeb3fea301c1959023f4aa97c4f8e25fc96cd61933ca39cf7549b6c7e1d9517f7ffd45d212ae9542ea4be07370b41c623cf6d0db8d025634b1d6d1
DIST tig-2.4.1.tar.gz 1181900 BLAKE2B 85bb76008e5c10e94d97ac4cd88ac4eb2a0675ef5b45e9f21a9d2219cf0b6ed55ce52b579b831bc6c6fc530c89fb99f5dfd1f62dab3e1ab329e132707dccf908 SHA512 516114ed267a9459e356ca1af35c9eba521f9a11e9462cc5120cc7ea8fba4e54ea0a2e8e0ab96263754d6516354c296df541f8e3642392eaeb205cd88428077c
DIST tig-2.5.0.tar.gz 1143004 BLAKE2B 77ccb2e754335f2ceaf26f1885cbca093d811ca479ef21fed532e43aab710fccfab85f1b5944273f53d9ed5ab0a5917392129c5d96f2c3c20d5da5029367b308 SHA512 26736fe241dd2dac25d5133ed847a7c1dab4bfeaad83af2effc8e523f8c6d8c179fe3ff05cd4343e4b1048c3c50309908aa32e81dd0789e35afe9bd8ff8772ee
-EBUILD tig-2.3.3.ebuild 1309 BLAKE2B c0ce1fc4074b0f10e4fc4320c9112dc83c7410fab9777d39b457658cd5465c06e3b33175b7321d88e33af34c8e4fbad9d2243cca51affcca009a670c5dff0b59 SHA512 d81ecd9f350604411e9e3eba6fe14c81ab0b3c90d19d2d8983f464eeec2d416ec5fc9e00784ff32ff37a601ab7a0e54f240c7a408eae190385d1f04ceb440a06
-EBUILD tig-2.4.1.ebuild 1306 BLAKE2B 0130514b0f3bfbd24c4fc6706fafb84c9c0952bc0f2550a8cd9f199cdb3ba94a4138ad291201b1727faa01a95e8642ef150ab76a7fdf3ee99c4ea0e2e11c4857 SHA512 450b990481cc6cad4ff908cfb9e00e2755a85b93ba0bc7a3e139c342de20873354225154caf83cda82dfd57dac6bb4a77782919860a9c2343d8b51a59b10f2e2
-EBUILD tig-2.5.0.ebuild 1310 BLAKE2B ccdee9a2425a67428edec2075c2dc55eb683557d87b680425589e37879ea740635715d61f40be567b94d53d58e729b43aa0b0b1cb370e0fca960dd82bd402544 SHA512 5ddc72ce517ca195e4d92a0f2440c5805cf871b27efaa968dbf2fcf0bbcf5b048c1211b3383dbf7092d33f4ab4d46f1d8ef605632c238d64994d76d1a837cb4a
-EBUILD tig-9999.ebuild 1310 BLAKE2B ccdee9a2425a67428edec2075c2dc55eb683557d87b680425589e37879ea740635715d61f40be567b94d53d58e729b43aa0b0b1cb370e0fca960dd82bd402544 SHA512 5ddc72ce517ca195e4d92a0f2440c5805cf871b27efaa968dbf2fcf0bbcf5b048c1211b3383dbf7092d33f4ab4d46f1d8ef605632c238d64994d76d1a837cb4a
+DIST tig-2.5.1.tar.gz 1144666 BLAKE2B f8e96b1e27286ebebd3e3f374b28ed31a69b10bab1e831068341a430c36418d6a412b29caa3a44e3fafb3131d93b6d8d62ade4c92dc06fe753f040957b9e64e6 SHA512 e7c27a1e6357ce3cb4c02ff409d40c0ca67d10875eedbf467b9a280d8433cca15d16860256637041003384e7c536aca743ce971e623d3000dceeda598d6d3ae0
+EBUILD tig-2.3.3.ebuild 1302 BLAKE2B b152cfae3f3189e903484e21deaa1fc74206f4d17eee61612f15f5d3cdc0706ca6f4d952a8dd38ddd3005951d60054642a1c2633cae9e44b01744efe86699d45 SHA512 3294e1da6a32b6fe39c0f42c3b6ebae5baee8c14b7392f2011c997a16974e075f12e835a0c2e5b8f00583c90778ddcd34327ec4528f975cb372c4f49549032aa
+EBUILD tig-2.4.1.ebuild 1302 BLAKE2B b152cfae3f3189e903484e21deaa1fc74206f4d17eee61612f15f5d3cdc0706ca6f4d952a8dd38ddd3005951d60054642a1c2633cae9e44b01744efe86699d45 SHA512 3294e1da6a32b6fe39c0f42c3b6ebae5baee8c14b7392f2011c997a16974e075f12e835a0c2e5b8f00583c90778ddcd34327ec4528f975cb372c4f49549032aa
+EBUILD tig-2.5.0.ebuild 1306 BLAKE2B fe34155092cae964273fdee4ccb88c8e8f10098a34874e441ca99a6def417b1cb01ba0a4103f0cb72ce799d068996aea50e4792f4f9e4171574f5e71e54a20fc SHA512 aac678d0889cf4893aec2f3b16f8fd8a85c2d6600d58fa276672b630898a6977cc48a07cf700092d691f2000c36ff085060e00d14f30bd2219aad136c43c11b5
+EBUILD tig-2.5.1.ebuild 1377 BLAKE2B 8bbb81efefcfe75492a75ab9543580259ec7a4d2a347cf8b4514a805cb5ebc029d8b3d38b161c166a6cc43d24b9b3bd75e056e030213487ee62825dd0d493ce8 SHA512 28bd08764a36617f60206b85778728b730e29aaf828722a5cfa1a02e649f3c29a012157f100b6831e798834f1b7a0c99ea416b0e21f18c537f0685e3d94d7e5a
+EBUILD tig-9999.ebuild 1306 BLAKE2B fe34155092cae964273fdee4ccb88c8e8f10098a34874e441ca99a6def417b1cb01ba0a4103f0cb72ce799d068996aea50e4792f4f9e4171574f5e71e54a20fc SHA512 aac678d0889cf4893aec2f3b16f8fd8a85c2d6600d58fa276672b630898a6977cc48a07cf700092d691f2000c36ff085060e00d14f30bd2219aad136c43c11b5
MISC metadata.xml 716 BLAKE2B 646f183cc6cc5110a69304f5343a0f1dcc9f42c82d8e16d0a06102b8052589d92bfffee948c78d2d4ce0ae6f29f1df38ae034c6fa160471823bb4457bcfa6603 SHA512 ae1521940d81aa080326f070b79a8a0a01b2ec1406088695e1e8462cdd78ce046131f9542c878ab5f919fa75e3c91aff0739a12511d18693ae050183db10343d
diff --git a/dev-vcs/tig/files/tig-2.5.1-bash-completion-qa-warning.patch b/dev-vcs/tig/files/tig-2.5.1-bash-completion-qa-warning.patch
new file mode 100644
index 000000000000..01222ddf14c9
--- /dev/null
+++ b/dev-vcs/tig/files/tig-2.5.1-bash-completion-qa-warning.patch
@@ -0,0 +1,15 @@
+diff --git a/contrib/tig-completion.bash b/contrib/tig-completion.bash
+index 5aef3fd..cec0632 100755
+--- a/contrib/tig-completion.bash
++++ b/contrib/tig-completion.bash
+@@ -29,6 +29,10 @@
+ # at source time then all lookups will be done on demand,
+ # which may be slightly slower.
+
++if ! type -f __git_complete &>/dev/null; then
++ __git_complete() { complete "${1}"; }
++fi
++
+ __tig_options="
+ -v --version
+ -h --help
diff --git a/dev-vcs/tig/tig-2.3.3.ebuild b/dev-vcs/tig/tig-2.3.3.ebuild
index 106bf1923899..a30633ee366e 100644
--- a/dev-vcs/tig/tig-2.3.3.ebuild
+++ b/dev-vcs/tig/tig-2.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
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 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+ KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
fi
DESCRIPTION="text mode interface for git"
diff --git a/dev-vcs/tig/tig-2.4.1.ebuild b/dev-vcs/tig/tig-2.4.1.ebuild
index bf02b0fba850..a30633ee366e 100644
--- a/dev-vcs/tig/tig-2.4.1.ebuild
+++ b/dev-vcs/tig/tig-2.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
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 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+ KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
fi
DESCRIPTION="text mode interface for git"
diff --git a/dev-vcs/tig/tig-2.5.0.ebuild b/dev-vcs/tig/tig-2.5.0.ebuild
index 149399f133e2..9b2134288a37 100644
--- a/dev-vcs/tig/tig-2.5.0.ebuild
+++ b/dev-vcs/tig/tig-2.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
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 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
fi
DESCRIPTION="text mode interface for git"
diff --git a/dev-vcs/tig/tig-2.5.1.ebuild b/dev-vcs/tig/tig-2.5.1.ebuild
new file mode 100644
index 000000000000..a35315645636
--- /dev/null
+++ b/dev-vcs/tig/tig-2.5.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+fi
+
+DESCRIPTION="text mode interface for git"
+HOMEPAGE="https://jonas.github.io/tig/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test unicode"
+REQUIRED_USE="test? ( unicode )"
+
+DEPEND="
+ sys-libs/ncurses:0=[unicode?]
+ sys-libs/readline:0="
+RDEPEND="${DEPEND}
+ dev-vcs/git"
+[[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc app-text/xmlto"
+
+# encoding/env issues
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/tig-2.5.1-bash-completion-qa-warning.patch"
+)
+
+src_prepare() {
+ default
+ [[ ${PV} == "9999" ]] && eautoreconf
+}
+
+src_configure() {
+ econf $(use_with unicode ncursesw)
+}
+
+src_compile() {
+ emake V=1
+ [[ ${PV} == "9999" ]] && emake V=1 doc-man doc-html
+}
+
+src_test() {
+ # workaround parallel test failures
+ 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
+}
diff --git a/dev-vcs/tig/tig-9999.ebuild b/dev-vcs/tig/tig-9999.ebuild
index 149399f133e2..9b2134288a37 100644
--- a/dev-vcs/tig/tig-9999.ebuild
+++ b/dev-vcs/tig/tig-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
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 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
fi
DESCRIPTION="text mode interface for git"