Diff less-633 with a less-633-r1
/usr/portage/sys-apps/less/less-633-r1.ebuild 2023-10-09 14:52:35.384368499 +0300 | ||
---|---|---|
11 | 11 |
inherit git-r3 |
12 | 12 |
fi |
13 | 13 | |
14 |
inherit autotools |
|
14 |
inherit autotools optfeature |
|
15 | 15 | |
16 | 16 |
# Releases are usually first a beta then promoted to stable if no |
17 | 17 |
# issues were found. Upstream explicitly ask "to not generally distribute" |
... | ... | |
28 | 28 |
LICENSE="|| ( GPL-3 BSD-2 )" |
29 | 29 |
SLOT="0" |
30 | 30 |
if [[ ${PV} != 9999 && ${PV} != *_beta* ]] ; then |
31 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
31 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
32 | 32 |
fi |
33 | 33 |
IUSE="pcre" |
34 | 34 |
# As of 623_beta, lesstest is not included in dist tarballs |
... | ... | |
66 | 66 |
src_install() { |
67 | 67 |
default |
68 | 68 | |
69 |
newbin "${FILESDIR}"/lesspipe-r1.sh lesspipe |
|
69 |
newbin "${FILESDIR}"/lesspipe-r2.sh lesspipe |
|
70 | 70 |
newenvd "${FILESDIR}"/less.envd 70less |
71 | 71 |
} |
72 | 72 | |
73 | 73 |
pkg_preinst() { |
74 |
optfeature "Colorized output supprt" dev-python/pygments |
|
75 | ||
74 | 76 |
if has_version "<${CATEGORY}/${PN}-483-r1" ; then |
75 | 77 |
elog "The lesspipe.sh symlink has been dropped. If you are still setting" |
76 | 78 |
elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'." |
77 |
elog "Colorization support has been dropped. If you want that, check out" |
|
78 |
elog "the new app-text/lesspipe package." |
|
79 | 79 |
fi |
80 | 80 |
} |