mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-misc/devtodo: EAPI8 bump, fix IndirectInherits
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/36823 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
01eb78b375
commit
27d0dd9e69
72
app-misc/devtodo/devtodo-0.1.20-r4.ebuild
Normal file
72
app-misc/devtodo/devtodo-0.1.20-r4.ebuild
Normal file
@@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools bash-completion-r1 flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Hierarchical command-line task manager"
|
||||
HOMEPAGE="https://swapoff.org/devtodo1.html"
|
||||
SRC_URI="https://swapoff.org/files/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND="
|
||||
>=sys-libs/ncurses-5.2:0=
|
||||
>=sys-libs/readline-4.1:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog QuickStart README doc/scripts.sh doc/scripts.tcsh doc/todorc.example )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gentoo.patch
|
||||
"${FILESDIR}"/${P}-gcc43.patch
|
||||
"${FILESDIR}"/${P}-bashcom_spaces.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
|
||||
# fix regex.h issue on case-insensitive file-systems #332235
|
||||
sed \
|
||||
-e 's/Regex.h/DTRegex.h/' \
|
||||
-i util/Lexer.h util/Makefile.{am,in} util/Regex.cc || die
|
||||
mv util/{,DT}Regex.h || die
|
||||
|
||||
sed \
|
||||
-e "/^LIBS/s:$: $($(tc-getPKG_CONFIG) --libs ncurses):g" \
|
||||
-i src/Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
replace-flags -O[23] -O1
|
||||
|
||||
local myeconfargs=(
|
||||
--sysconfdir="${EPREFIX}/etc/devtodo"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newbashcomp contrib/${PN}.bash-completion ${PN}
|
||||
rm contrib/${PN}.bash-completion || die 'rm failed'
|
||||
|
||||
bashcomp_alias devtodo tda tdd tde tdr todo
|
||||
|
||||
dodoc -r contrib
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Because of a conflict with app-misc/tdl, the tdl symbolic link"
|
||||
elog "and manual page have been removed."
|
||||
}
|
||||
Reference in New Issue
Block a user