public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/neo/
Date: Thu, 18 Jan 2024 10:27:23 +0000 (UTC)	[thread overview]
Message-ID: <1705573625.3b9c369f23d6a6c124c64d7e78ccbd2ad7052da9.cybertailor@gentoo> (raw)

commit:     3b9c369f23d6a6c124c64d7e78ccbd2ad7052da9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Jan 18 10:20:08 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> 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 <cyber+gentoo <AT> 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
 }


             reply	other threads:[~2024-01-18 10:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-18 10:27 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-08 13:39 [gentoo-commits] repo/proj/guru:master commit in: app-misc/neo/ Andrew Ammerlaan
2022-03-08 13:34 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-02-22 21:24 Carlos Eduardo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1705573625.3b9c369f23d6a6c124c64d7e78ccbd2ad7052da9.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox