public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/ninja/
@ 2023-10-17 13:03 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-10-17 13:03 UTC (permalink / raw
  To: gentoo-commits

commit:     6992620a5932d43344e354b2408b6f0a26c99467
Author:     Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Wed Oct  4 16:38:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 17 13:01:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6992620a

app-alternatives/ninja: new package to control ninja symlink

Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/ninja/metadata.xml   | 16 ++++++++++++++++
 app-alternatives/ninja/ninja-1.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/app-alternatives/ninja/metadata.xml b/app-alternatives/ninja/metadata.xml
new file mode 100644
index 000000000000..20bceb308997
--- /dev/null
+++ b/app-alternatives/ninja/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>base-system@gentoo.org</email>
+		<name>Gentoo Base System</name>
+	</maintainer>
+	<maintainer type="person">
+		<email>vimproved@inventati.org</email>
+		<name>Violet Purcell</name>
+	</maintainer>
+	<use>
+		<flag name="reference">Symlink to dev-util/ninja.</flag>
+		<flag name="samurai">Symlink to dev-util/samurai.</flag>
+	</use>
+</pkgmetadata>

diff --git a/app-alternatives/ninja/ninja-1.ebuild b/app-alternatives/ninja/ninja-1.ebuild
new file mode 100644
index 000000000000..bcb516b5373f
--- /dev/null
+++ b/app-alternatives/ninja/ninja-1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ALTERNATIVES=(
+	"reference:>=dev-util/ninja-1.11.1-r3"
+	samurai:dev-util/samurai
+)
+
+inherit app-alternatives
+
+DESCRIPTION="ninja symlinks"
+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"
+
+RDEPEND="!<dev-util/ninja-1.11.1-r3"
+
+src_install() {
+	local alt=$(get_alternative)
+
+	case ${alt} in
+		reference) alt=ninja-reference;;
+		samurai) alt=samu;;
+	esac
+
+	dosym "${alt}" /usr/bin/ninja
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/ninja/
@ 2023-12-15  6:52 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-12-15  6:52 UTC (permalink / raw
  To: gentoo-commits

commit:     d30da4cc69f6f2d78a9d5398a22e5bcab1989299
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 06:47:13 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 06:47:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d30da4cc

app-alternatives/ninja: Stabilize 1 hppa, #919969

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/ninja/ninja-1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-alternatives/ninja/ninja-1.ebuild b/app-alternatives/ninja/ninja-1.ebuild
index 5057c4b06774..4bbc8bec5e99 100644
--- a/app-alternatives/ninja/ninja-1.ebuild
+++ b/app-alternatives/ninja/ninja-1.ebuild
@@ -11,7 +11,7 @@ ALTERNATIVES=(
 inherit app-alternatives
 
 DESCRIPTION="ninja symlinks"
-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"
+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"
 
 RDEPEND="!<dev-util/ninja-1.11.1-r3"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/ninja/
@ 2023-12-15  6:52 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-12-15  6:52 UTC (permalink / raw
  To: gentoo-commits

commit:     1eeef740425493d2121dda1d0f9c2dce330d7306
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 06:47:07 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 06:47:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eeef740

app-alternatives/ninja: Stabilize 1 x86, #919969

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/ninja/ninja-1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-alternatives/ninja/ninja-1.ebuild b/app-alternatives/ninja/ninja-1.ebuild
index 7c1e42b50dd1..5057c4b06774 100644
--- a/app-alternatives/ninja/ninja-1.ebuild
+++ b/app-alternatives/ninja/ninja-1.ebuild
@@ -11,7 +11,7 @@ ALTERNATIVES=(
 inherit app-alternatives
 
 DESCRIPTION="ninja symlinks"
-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"
+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"
 
 RDEPEND="!<dev-util/ninja-1.11.1-r3"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/ninja/
@ 2023-12-15  6:52 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-12-15  6:52 UTC (permalink / raw
  To: gentoo-commits

commit:     d7f11c4078938139c49aace456e2010ca86c253a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 06:47:18 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 06:47:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f11c40

app-alternatives/ninja: Stabilize 1 ppc, #919969

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/ninja/ninja-1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-alternatives/ninja/ninja-1.ebuild b/app-alternatives/ninja/ninja-1.ebuild
index 4bbc8bec5e99..0a88fa8c959e 100644
--- a/app-alternatives/ninja/ninja-1.ebuild
+++ b/app-alternatives/ninja/ninja-1.ebuild
@@ -11,7 +11,7 @@ ALTERNATIVES=(
 inherit app-alternatives
 
 DESCRIPTION="ninja symlinks"
-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"
+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"
 
 RDEPEND="!<dev-util/ninja-1.11.1-r3"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/ninja/
@ 2023-12-15  6:52 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-12-15  6:52 UTC (permalink / raw
  To: gentoo-commits

commit:     b447bd77c1d4306c57fc0106b189090884625a5f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 06:47:39 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 06:47:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b447bd77

app-alternatives/ninja: Stabilize 1 arm64, #919969

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/ninja/ninja-1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-alternatives/ninja/ninja-1.ebuild b/app-alternatives/ninja/ninja-1.ebuild
index 3f3e8bb4b580..419eabab3505 100644
--- a/app-alternatives/ninja/ninja-1.ebuild
+++ b/app-alternatives/ninja/ninja-1.ebuild
@@ -11,7 +11,7 @@ ALTERNATIVES=(
 inherit app-alternatives
 
 DESCRIPTION="ninja symlinks"
-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"
+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"
 
 RDEPEND="!<dev-util/ninja-1.11.1-r3"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/ninja/
@ 2023-12-15  6:52 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-12-15  6:52 UTC (permalink / raw
  To: gentoo-commits

commit:     1b4ae7b34dfdc6f3d99684e5ce99eb8e662bc5f4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 06:47:23 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 06:47:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4ae7b3

app-alternatives/ninja: Stabilize 1 ppc64, #919969

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/ninja/ninja-1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-alternatives/ninja/ninja-1.ebuild b/app-alternatives/ninja/ninja-1.ebuild
index 0a88fa8c959e..47cfdd1f697f 100644
--- a/app-alternatives/ninja/ninja-1.ebuild
+++ b/app-alternatives/ninja/ninja-1.ebuild
@@ -11,7 +11,7 @@ ALTERNATIVES=(
 inherit app-alternatives
 
 DESCRIPTION="ninja symlinks"
-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"
+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"
 
 RDEPEND="!<dev-util/ninja-1.11.1-r3"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/ninja/
@ 2023-12-15  6:52 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-12-15  6:52 UTC (permalink / raw
  To: gentoo-commits

commit:     d3dfcf72728d44f0409e9159b7907dbf2b9fd415
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 06:47:29 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 06:47:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3dfcf72

app-alternatives/ninja: Stabilize 1 sparc, #919969

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/ninja/ninja-1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-alternatives/ninja/ninja-1.ebuild b/app-alternatives/ninja/ninja-1.ebuild
index 47cfdd1f697f..e71e0197ddd8 100644
--- a/app-alternatives/ninja/ninja-1.ebuild
+++ b/app-alternatives/ninja/ninja-1.ebuild
@@ -11,7 +11,7 @@ ALTERNATIVES=(
 inherit app-alternatives
 
 DESCRIPTION="ninja symlinks"
-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"
+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"
 
 RDEPEND="!<dev-util/ninja-1.11.1-r3"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/ninja/
@ 2023-12-15  6:52 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-12-15  6:52 UTC (permalink / raw
  To: gentoo-commits

commit:     4a5309a58a7df03d1137d1b52f9ac23376d52284
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 06:47:34 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 06:47:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a5309a5

app-alternatives/ninja: Stabilize 1 arm, #919969

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/ninja/ninja-1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-alternatives/ninja/ninja-1.ebuild b/app-alternatives/ninja/ninja-1.ebuild
index e71e0197ddd8..3f3e8bb4b580 100644
--- a/app-alternatives/ninja/ninja-1.ebuild
+++ b/app-alternatives/ninja/ninja-1.ebuild
@@ -11,7 +11,7 @@ ALTERNATIVES=(
 inherit app-alternatives
 
 DESCRIPTION="ninja symlinks"
-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"
+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"
 
 RDEPEND="!<dev-util/ninja-1.11.1-r3"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-12-15  6:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15  6:52 [gentoo-commits] repo/gentoo:master commit in: app-alternatives/ninja/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2023-12-15  6:52 Sam James
2023-12-15  6:52 Sam James
2023-12-15  6:52 Sam James
2023-12-15  6:52 Sam James
2023-12-15  6:52 Sam James
2023-12-15  6:52 Sam James
2023-10-17 13:03 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox