summaryrefslogtreecommitdiff
path: root/app-text/lesspipe
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-10 18:21:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-10 18:21:11 +0000
commit1fe49f5b3e13481832866b6b1600741bf3a1f024 (patch)
tree798fe4fb7ef373a92cfafe1a9c5a7954181c7213 /app-text/lesspipe
parent79e2fe7ce5d8192f7ddc9f57d4fb11bd1231f041 (diff)
gentoo auto-resync : 10:01:2023 - 18:21:10
Diffstat (limited to 'app-text/lesspipe')
-rw-r--r--app-text/lesspipe/Manifest2
-rw-r--r--app-text/lesspipe/lesspipe-2.07.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest
index 2616fa41ed5e..d6846f62d4fb 100644
--- a/app-text/lesspipe/Manifest
+++ b/app-text/lesspipe/Manifest
@@ -1,3 +1,5 @@
DIST lesspipe-2.06.tar.gz 168100 BLAKE2B a7447efa85cd422343f9dbb06001e85fa7b33c92db752f8248e4b4a0d9ecce4ef0241240d6993c5a71157c44da2f4ffc3efd41ac5e0a31e89ed5b80ac99f71fe SHA512 b2411c5e6b287fb67e1ea9b6d10377fe19b58e8c0f54587f825d1ee4c1a85f9a8ed3244a7cf339bcba960094e95821d9a56929951d862eb697f1d12fe55ef20d
+DIST lesspipe-2.07.tar.gz 168973 BLAKE2B b9be5968d808dc57caa00551cdf663be75dff1c9662b585ddd2e1891f6f66fce0b71a468d9b9172af2833bd6ee255ad9b5fb917dac527eeb8b57427c568cd620 SHA512 6fa5debfa5b72fa5826294eca158a935a0b49dc431bd27eb7dc598315592d575ad302bb94fcdb86409dce1cb7055242ff10eb09cbf3708e472b8dbe8286d5511
EBUILD lesspipe-2.06.ebuild 1316 BLAKE2B b99b541d48f1e922523adb46433756503d93d2c6060f47c4a056be59820a520f0a7bfc45fc93ac9dde7a32ac75dd7ebe624bfa87190c6e452ac2957a8b179fd3 SHA512 ebedbad0bed5cf740f3cdcf908de5246a4143d5d030a9915cf08729c25dc2ceb2dfee14c711bdb08920e7c18206ec824b607aafb5f69f5f9a29717e26e73bc9c
+EBUILD lesspipe-2.07.ebuild 1355 BLAKE2B 6960fc4fba3435bdb722d27b98e39de4c7c8e21b7826e662364f35e71f41053ce60b97c37c1347ade7171aca893a275484cb8216877bdb683b85700465b80865 SHA512 c58572c709d55c9c3eb7161cd345def0dc06d32fb856370cc1ddd28fbb645ae4ab05f7018e4390902849952c42b842382c0d148924d119259cc555e70bb9af7f
MISC metadata.xml 304 BLAKE2B bb5be96b5fd22ce82d800f6bd5ed3ceb04b955182eaadc1f34b6f4b633c21efd6148013fc29b5567f7ada4da5de6efd7e0e420fa63a2976a5cf6bcf719c34f2e SHA512 2c217e67c6c487f7f7f98588a50086daf434bc25ad229b68d37bc12f7ecc4f904b5bc4a3b7b6db4a1daa0267c7e13fde8538de1c16d11e95be6b8071ee675105
diff --git a/app-text/lesspipe/lesspipe-2.07.ebuild b/app-text/lesspipe/lesspipe-2.07.ebuild
new file mode 100644
index 000000000000..c5b6bcf91763
--- /dev/null
+++ b/app-text/lesspipe/lesspipe-2.07.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo bash-completion-r1
+
+DESCRIPTION="A preprocessor for less"
+HOMEPAGE="https://github.com/wofr06/lesspipe"
+SRC_URI="https://github.com/wofr06/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+# Please check again on bumps!
+# bug #734896
+RESTRICT="!test? ( test ) test"
+
+RDEPEND="dev-lang/perl"
+BDEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ test? ( app-editors/vim )
+"
+
+src_configure() {
+ # Not an autoconf script.
+ edo ./configure --prefix="${EPREFIX}"/usr
+}
+
+src_compile() {
+ # Nothing to build (avoids the "all" target)
+ :
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
+ einstalldocs
+
+ rm "${ED}"/usr/share/bash-completion/less_completion || die
+ newbashcomp less_completion less
+}
+
+pkg_preinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ elog "This package installs 'lesspipe.sh' which is distinct from 'lesspipe'."
+ elog "The latter is the Gentoo-specific version. Make sure to update your"
+ elog "LESSOPEN environment variable if you wish to use this copy."
+ fi
+}