From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 298A81581D3 for ; Sun, 26 May 2024 21:31:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C24EE29E9; Sun, 26 May 2024 21:31:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2BFA2E29E9 for ; Sun, 26 May 2024 21:31:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3004342F94 for ; Sun, 26 May 2024 21:31:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17E04E9F for ; Sun, 26 May 2024 21:31:45 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1716758932.27d0dd9e6972de0b2547e1be4fefbf3aa94eea14.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/devtodo/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/devtodo/devtodo-0.1.20-r4.ebuild X-VCS-Directories: app-misc/devtodo/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 27d0dd9e6972de0b2547e1be4fefbf3aa94eea14 X-VCS-Branch: master Date: Sun, 26 May 2024 21:31:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d295527b-a611-4e04-8ab4-8a5beca9db3c X-Archives-Hash: 1566315847248258428bd5313c2a130f commit: 27d0dd9e6972de0b2547e1be4fefbf3aa94eea14 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sun May 26 10:06:03 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun May 26 21:28:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d0dd9e app-misc/devtodo: EAPI8 bump, fix IndirectInherits Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/36823 Signed-off-by: Conrad Kostecki gentoo.org> app-misc/devtodo/devtodo-0.1.20-r4.ebuild | 72 +++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/app-misc/devtodo/devtodo-0.1.20-r4.ebuild b/app-misc/devtodo/devtodo-0.1.20-r4.ebuild new file mode 100644 index 000000000000..9a089f102981 --- /dev/null +++ b/app-misc/devtodo/devtodo-0.1.20-r4.ebuild @@ -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." +}