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 76C5615838C for ; Thu, 18 Jan 2024 10:27:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11E99E2B50; Thu, 18 Jan 2024 10:27:26 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7836E2B4C for ; Thu, 18 Jan 2024 10:27:25 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9F7C4343365 for ; Thu, 18 Jan 2024 10:27:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 261441454 for ; Thu, 18 Jan 2024 10:27:23 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1705573625.3b9c369f23d6a6c124c64d7e78ccbd2ad7052da9.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/neo/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/neo/neo-0.6.1.ebuild app-misc/neo/neo-9999.ebuild X-VCS-Directories: app-misc/neo/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 3b9c369f23d6a6c124c64d7e78ccbd2ad7052da9 X-VCS-Branch: dev Date: Thu, 18 Jan 2024 10:27:23 +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: 85f01ba3-8a5f-4ce8-a44e-c5d2d4372aaa X-Archives-Hash: 001c03d317ab4324540fe363d470a656 commit: 3b9c369f23d6a6c124c64d7e78ccbd2ad7052da9 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu Jan 18 10:20:08 2024 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Thu Jan 18 10:27:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b9c369f app-misc/neo: fix NonexistentDeps Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> app-misc/neo/neo-0.6.1.ebuild | 22 ++++++++++++---------- app-misc/neo/neo-9999.ebuild | 22 ++++++++++++---------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/app-misc/neo/neo-0.6.1.ebuild b/app-misc/neo/neo-0.6.1.ebuild index d81e8c60c9..b6aef0eb60 100644 --- a/app-misc/neo/neo-0.6.1.ebuild +++ b/app-misc/neo/neo-0.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,26 +6,28 @@ EAPI=8 DESCRIPTION="cmatrix clone with 32-bit color and Unicode support" HOMEPAGE="https://github.com/st3w/neo" -if [ "$PV" = 9999 ]; then +if [[ ${PV} == *9999* ]]; then inherit autotools git-r3 - EGIT_REPO_URI="https://github.com/st3w/neo/" + EGIT_REPO_URI="https://github.com/st3w/neo.git" + BDEPEND=" + dev-build/autoconf-archive + dev-build/automake + " else - SRC_URI="https://github.com/st3w/neo/releases/download/v${PV}/${P}.tar.gz" + SRC_URI="https://github.com/st3w/${PN}/releases/download/v${PV}/${P}.tar.gz" KEYWORDS="~amd64" fi LICENSE="GPL-3" SLOT="0" -IUSE="" DEPEND="sys-libs/ncurses" RDEPEND="${DEPEND}" -[ "$PV" = 9999 ] && BDEPEND=" - dev-build/automake - dev-build/automake-archive -" src_prepare() { default - [ -f ./configure ] || eautoreconf || die 'autoreconf failed' + + if [[ ! -x configure ]]; then + eautoreconf + fi } diff --git a/app-misc/neo/neo-9999.ebuild b/app-misc/neo/neo-9999.ebuild index d81e8c60c9..b6aef0eb60 100644 --- a/app-misc/neo/neo-9999.ebuild +++ b/app-misc/neo/neo-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,26 +6,28 @@ EAPI=8 DESCRIPTION="cmatrix clone with 32-bit color and Unicode support" HOMEPAGE="https://github.com/st3w/neo" -if [ "$PV" = 9999 ]; then +if [[ ${PV} == *9999* ]]; then inherit autotools git-r3 - EGIT_REPO_URI="https://github.com/st3w/neo/" + EGIT_REPO_URI="https://github.com/st3w/neo.git" + BDEPEND=" + dev-build/autoconf-archive + dev-build/automake + " else - SRC_URI="https://github.com/st3w/neo/releases/download/v${PV}/${P}.tar.gz" + SRC_URI="https://github.com/st3w/${PN}/releases/download/v${PV}/${P}.tar.gz" KEYWORDS="~amd64" fi LICENSE="GPL-3" SLOT="0" -IUSE="" DEPEND="sys-libs/ncurses" RDEPEND="${DEPEND}" -[ "$PV" = 9999 ] && BDEPEND=" - dev-build/automake - dev-build/automake-archive -" src_prepare() { default - [ -f ./configure ] || eautoreconf || die 'autoreconf failed' + + if [[ ! -x configure ]]; then + eautoreconf + fi }