diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-26 08:51:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-26 08:51:46 +0100 |
commit | cf91c70bb5a537972156006c46756b9ac75bdb7b (patch) | |
tree | 6e7b518033e978a6ca81757578a07bed4cc59bb8 /dev-vcs/tig | |
parent | ea6ec22f536553dcd417bc8b577418d3ebe5ce4c (diff) |
gentoo auto-resync : 26:08:2022 - 08:51:46
Diffstat (limited to 'dev-vcs/tig')
-rw-r--r-- | dev-vcs/tig/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/tig/tig-2.5.7.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-vcs/tig/Manifest b/dev-vcs/tig/Manifest index 71a690fd93a4..a0d7ee6e07b3 100644 --- a/dev-vcs/tig/Manifest +++ b/dev-vcs/tig/Manifest @@ -1,6 +1,8 @@ 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 EBUILD tig-2.5.5.ebuild 1382 BLAKE2B dab6a6b793b4dc5194d6cd8522f36bb4f4aa75408f41d008dfaa50ced3b3479410420245da630c3a4203e27debaaff665fe4c4ea2024198cd7943f396c6b1dd3 SHA512 a9e8b466b38808e7c5cf5acc3a7d4a0b13b17ef595d6b5016e3a86d7eb0bfde98be64f9f4b8cb217cc0891a1b70c4ab67b80657dc382a16ef784da981fab6981 EBUILD tig-2.5.6.ebuild 1387 BLAKE2B d6c8b816650720fec8b55378b82efa8b902f7bfcb956e494042ed1e966bcb8176f67251f374f006fb22b21d294ac6e9952500dad647e35c66b8ebb923afb4299 SHA512 90da86dc0394df0b870e942677a83480c157f798e463dddc63e1ff70d464ffd9632f75d0b509b36eca85ecb89559e3a3159aa09d16c58884ecdd68c2c7c746da +EBUILD tig-2.5.7.ebuild 1387 BLAKE2B d6c8b816650720fec8b55378b82efa8b902f7bfcb956e494042ed1e966bcb8176f67251f374f006fb22b21d294ac6e9952500dad647e35c66b8ebb923afb4299 SHA512 90da86dc0394df0b870e942677a83480c157f798e463dddc63e1ff70d464ffd9632f75d0b509b36eca85ecb89559e3a3159aa09d16c58884ecdd68c2c7c746da EBUILD tig-9999.ebuild 1387 BLAKE2B d6c8b816650720fec8b55378b82efa8b902f7bfcb956e494042ed1e966bcb8176f67251f374f006fb22b21d294ac6e9952500dad647e35c66b8ebb923afb4299 SHA512 90da86dc0394df0b870e942677a83480c157f798e463dddc63e1ff70d464ffd9632f75d0b509b36eca85ecb89559e3a3159aa09d16c58884ecdd68c2c7c746da MISC metadata.xml 717 BLAKE2B c92a0b14d4fd37479475e347e4157da9c6a6d81e7d0ee6c3cf389745eacf8c3cffb32ea696e89aad73f8fd46ce64f26500c2dc26ca8b1414e76019f1268db6f5 SHA512 b0a832d79a25f6d9d8161967a4b659b32f322c7bdc2a0c0d1001d48505c516c4802f941fb433abf9a027292cf5b0dedce2dd60e5ac68a0992eb309b66cc5db39 diff --git a/dev-vcs/tig/tig-2.5.7.ebuild b/dev-vcs/tig/tig-2.5.7.ebuild new file mode 100644 index 000000000000..656ca0a2e20b --- /dev/null +++ b/dev-vcs/tig/tig-2.5.7.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 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 +} |