public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2021-12-26 19:01 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2021-12-26 19:01 UTC (permalink / raw
  To: gentoo-commits

commit:     1ff8eb84caa7000f9af2af61bfe41b98fd2f07df
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 19:00:36 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 19:00:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff8eb84

dev-ada/spawn: simple API to spawn processes

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/Manifest            |   1 +
 dev-ada/spawn/metadata.xml        |  19 +++++++
 dev-ada/spawn/spawn-22.0.0.ebuild | 107 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 127 insertions(+)

diff --git a/dev-ada/spawn/Manifest b/dev-ada/spawn/Manifest
new file mode 100644
index 000000000000..b2a11eba762d
--- /dev/null
+++ b/dev-ada/spawn/Manifest
@@ -0,0 +1 @@
+DIST spawn-22.0.0.tar.gz 49836 BLAKE2B 2283eadae1477600934cbecb67e0fa4c0640150c4d05356ec3d047fdd664e68510c99f9e495dc448c83fe0fea25523727ecb45ee6e85a4b205255a9549031110 SHA512 706c53dabe82994a809c33e984d467ff0f72a2ed9566dedc8262b2c908393f241546ce379a03ea50eb73bf2326b52fc4804d6e192810c703695fc32c9da0b530

diff --git a/dev-ada/spawn/metadata.xml b/dev-ada/spawn/metadata.xml
new file mode 100644
index 000000000000..73dd402e4ab3
--- /dev/null
+++ b/dev-ada/spawn/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>ada@gentoo.org</email>
+	</maintainer>
+	<use>
+		<flag name="glib">
+			Add support to <pkg>dev-libs/glib</pkg>-based mainloop.
+		</flag>
+		<flag name="shared">Build shared library</flag>
+		<flag name="static-pic">Build static library with pic code</flag>
+	</use>
+	<longdescription lang="en">
+		This library provides simple API to spawn processes and communicate
+		with them. We provide two implementations of the same API - the
+		integrated into Glib event loop and the independent.
+	</longdescription>
+</pkgmetadata>

diff --git a/dev-ada/spawn/spawn-22.0.0.ebuild b/dev-ada/spawn/spawn-22.0.0.ebuild
new file mode 100644
index 000000000000..9ac4af26e845
--- /dev/null
+++ b/dev-ada/spawn/spawn-22.0.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_202{0,1} )
+inherit ada multiprocessing
+
+DESCRIPTION="Simple API to spawn processes"
+HOMEPAGE="https://github.com/AdaCore/spawn"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="glib +shared static-libs static-pic"
+REQUIRED_USE="|| ( shared static-libs static-pic )
+	${ADA_REQUIRED_USE}"
+
+RDEPEND="glib? (
+	dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic?]
+	dev-libs/glib
+)"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
+
+src_compile() {
+	build () {
+		gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+			-XLIBRARY_TYPE=$1 \
+			gnat/spawn.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
+		if use glib; then
+			gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+				-XLIBRARY_TYPE=$1 \
+				gnat/spawn_glib.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+				|| die
+		fi
+	}
+	if use shared; then
+		build relocatable
+	fi
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+}
+
+src_test() {
+	build () {
+		gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+			-XLIBRARY_TYPE=$1 \
+			gnat/spawn_tests.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+			|| die
+		if use glib; then
+			gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+				-XLIBRARY_TYPE=$1 \
+				gnat/spawn_glib_tests.gpr \
+				-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
+		fi
+	}
+	if use shared; then
+		build relocatable
+	elif use static-libs; then
+		build static
+	elif use static-pic; then
+		build static-pic
+	fi
+	.obj/spawn_test/spawn_test || die
+	.obj/spawn_test/spawn_unexpected || die
+	.obj/spawn_test/spawn_kill || die
+	if use glib; then
+		.obj/spawn_test/spawn_glib_test || die
+		.obj/spawn_test/spawn_glib_args_test.exe || die
+	fi
+}
+
+src_install() {
+	build() {
+		gprinstall --prefix=/usr --sources-subdir="${D}"/usr/include/spawn \
+			-XLIBRARY_TYPE=$1 \
+			--lib-subdir="${D}"/usr/lib/spawn \
+			--project-subdir="${D}"/usr/share/gpr \
+			--link-lib-subdir="${D}"/usr/lib/ -p \
+			-P gnat/spawn.gpr || die
+		if use glib; then
+			gprinstall --prefix=/usr \
+				-XLIBRARY_TYPE=$1 \
+				--sources-subdir="${D}"/usr/include/spawn_glib \
+				--lib-subdir="${D}"/usr/lib/spawn_glib \
+				--project-subdir="${D}"/usr/share/gpr \
+				--link-lib-subdir="${D}"/usr/lib/ -p \
+				-P gnat/spawn_glib.gpr || die
+		fi
+	}
+	if use shared; then
+		build relocatable
+	fi
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2021-12-27 15:38 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2021-12-27 15:38 UTC (permalink / raw
  To: gentoo-commits

commit:     d2eb4aceb10196996a710077a448932272ff10e8
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 27 15:38:02 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Dec 27 15:38:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2eb4ace

dev-ada/spawn: fix dependency

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/spawn-22.0.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-ada/spawn/spawn-22.0.0.ebuild b/dev-ada/spawn/spawn-22.0.0.ebuild
index 9ac4af26e845..2d8433b46e3a 100644
--- a/dev-ada/spawn/spawn-22.0.0.ebuild
+++ b/dev-ada/spawn/spawn-22.0.0.ebuild
@@ -18,7 +18,8 @@ IUSE="glib +shared static-libs static-pic"
 REQUIRED_USE="|| ( shared static-libs static-pic )
 	${ADA_REQUIRED_USE}"
 
-RDEPEND="glib? (
+RDEPEND="${ADA_DEPS}
+	glib? (
 	dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic?]
 	dev-libs/glib
 )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2022-02-02 20:01 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2022-02-02 20:01 UTC (permalink / raw
  To: gentoo-commits

commit:     7a5895c5b526f682afd76fb976e331810b0c2099
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  2 20:00:53 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Feb  2 20:00:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5895c5

dev-ada/spawn: MissingUseDepDefault

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/spawn-22.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ada/spawn/spawn-22.0.0.ebuild b/dev-ada/spawn/spawn-22.0.0.ebuild
index 2d8433b46e3a..8dadaafbd2ee 100644
--- a/dev-ada/spawn/spawn-22.0.0.ebuild
+++ b/dev-ada/spawn/spawn-22.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -20,7 +20,7 @@ REQUIRED_USE="|| ( shared static-libs static-pic )
 
 RDEPEND="${ADA_DEPS}
 	glib? (
-	dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic?]
+	dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic(-)?]
 	dev-libs/glib
 )"
 DEPEND="${RDEPEND}"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2022-09-27  7:08 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2022-09-27  7:08 UTC (permalink / raw
  To: gentoo-commits

commit:     37a587b29c096d9c02f542d90a9e596c8bf52e61
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 27 07:07:04 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Sep 27 07:08:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37a587b2

dev-ada/spawn: enable gcc_12_2_0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/spawn-22.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ada/spawn/spawn-22.0.0.ebuild b/dev-ada/spawn/spawn-22.0.0.ebuild
index 8dadaafbd2ee..63c4c7b41e75 100644
--- a/dev-ada/spawn/spawn-22.0.0.ebuild
+++ b/dev-ada/spawn/spawn-22.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-ADA_COMPAT=( gnat_202{0,1} )
+ADA_COMPAT=( gnat_202{0,1} gcc_12_2_0 )
 inherit ada multiprocessing
 
 DESCRIPTION="Simple API to spawn processes"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2022-11-21 17:37 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2022-11-21 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     bad83b8978dce11715a6d39cc905e356c6fa2ef0
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 17:33:26 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 17:37:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad83b89

dev-ada/spawn: drop support for gnat_2020

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/spawn-22.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ada/spawn/spawn-22.0.0.ebuild b/dev-ada/spawn/spawn-22.0.0.ebuild
index 63c4c7b41e75..810600f83734 100644
--- a/dev-ada/spawn/spawn-22.0.0.ebuild
+++ b/dev-ada/spawn/spawn-22.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-ADA_COMPAT=( gnat_202{0,1} gcc_12_2_0 )
+ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
 inherit ada multiprocessing
 
 DESCRIPTION="Simple API to spawn processes"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2022-12-05 13:23 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2022-12-05 13:23 UTC (permalink / raw
  To: gentoo-commits

commit:     3922733b61f81bc4aaaaa4125164465407657ab1
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 13:22:27 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 13:23:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3922733b

dev-ada/spawn: add github upstream metadata

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-ada/spawn/metadata.xml b/dev-ada/spawn/metadata.xml
index 73dd402e4ab3..ce11c27621b4 100644
--- a/dev-ada/spawn/metadata.xml
+++ b/dev-ada/spawn/metadata.xml
@@ -16,4 +16,7 @@
 		with them. We provide two implementations of the same API - the
 		integrated into Glib event loop and the independent.
 	</longdescription>
+	<upstream>
+		<remote-id type="github">AdaCore/spawn</remote-id>
+	</upstream>
 </pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2022-12-07  7:15 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2022-12-07  7:15 UTC (permalink / raw
  To: gentoo-commits

commit:     e20c753de43798910fedb5f83d66e0775f51ca30
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  7 07:14:25 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Dec  7 07:15:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e20c753d

dev-ada/spawn: add 23.0.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/Manifest            |   1 +
 dev-ada/spawn/spawn-23.0.0.ebuild | 108 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/dev-ada/spawn/Manifest b/dev-ada/spawn/Manifest
index b2a11eba762d..0ded39f8ca04 100644
--- a/dev-ada/spawn/Manifest
+++ b/dev-ada/spawn/Manifest
@@ -1 +1,2 @@
 DIST spawn-22.0.0.tar.gz 49836 BLAKE2B 2283eadae1477600934cbecb67e0fa4c0640150c4d05356ec3d047fdd664e68510c99f9e495dc448c83fe0fea25523727ecb45ee6e85a4b205255a9549031110 SHA512 706c53dabe82994a809c33e984d467ff0f72a2ed9566dedc8262b2c908393f241546ce379a03ea50eb73bf2326b52fc4804d6e192810c703695fc32c9da0b530
+DIST spawn-23.0.0.tar.gz 43449 BLAKE2B b4a025784d7fb1248696081c128d415101cffca59f03edae3e3ca05c286390ca93a34c1284d1e4b23f8e57bfff274b87d977e5b7840c74049f6f66be89c9b9ac SHA512 440f8b8a45b7a322a5715a195f7e37e6f2641af8190166229e89a11ce6ab60511eb058432f4c3ffcdd670ec71b2509d5e23a80ac2e8dd6b7960bc42385bab86e

diff --git a/dev-ada/spawn/spawn-23.0.0.ebuild b/dev-ada/spawn/spawn-23.0.0.ebuild
new file mode 100644
index 000000000000..810600f83734
--- /dev/null
+++ b/dev-ada/spawn/spawn-23.0.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
+inherit ada multiprocessing
+
+DESCRIPTION="Simple API to spawn processes"
+HOMEPAGE="https://github.com/AdaCore/spawn"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="glib +shared static-libs static-pic"
+REQUIRED_USE="|| ( shared static-libs static-pic )
+	${ADA_REQUIRED_USE}"
+
+RDEPEND="${ADA_DEPS}
+	glib? (
+	dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic(-)?]
+	dev-libs/glib
+)"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
+
+src_compile() {
+	build () {
+		gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+			-XLIBRARY_TYPE=$1 \
+			gnat/spawn.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
+		if use glib; then
+			gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+				-XLIBRARY_TYPE=$1 \
+				gnat/spawn_glib.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+				|| die
+		fi
+	}
+	if use shared; then
+		build relocatable
+	fi
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+}
+
+src_test() {
+	build () {
+		gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+			-XLIBRARY_TYPE=$1 \
+			gnat/spawn_tests.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+			|| die
+		if use glib; then
+			gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+				-XLIBRARY_TYPE=$1 \
+				gnat/spawn_glib_tests.gpr \
+				-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
+		fi
+	}
+	if use shared; then
+		build relocatable
+	elif use static-libs; then
+		build static
+	elif use static-pic; then
+		build static-pic
+	fi
+	.obj/spawn_test/spawn_test || die
+	.obj/spawn_test/spawn_unexpected || die
+	.obj/spawn_test/spawn_kill || die
+	if use glib; then
+		.obj/spawn_test/spawn_glib_test || die
+		.obj/spawn_test/spawn_glib_args_test.exe || die
+	fi
+}
+
+src_install() {
+	build() {
+		gprinstall --prefix=/usr --sources-subdir="${D}"/usr/include/spawn \
+			-XLIBRARY_TYPE=$1 \
+			--lib-subdir="${D}"/usr/lib/spawn \
+			--project-subdir="${D}"/usr/share/gpr \
+			--link-lib-subdir="${D}"/usr/lib/ -p \
+			-P gnat/spawn.gpr || die
+		if use glib; then
+			gprinstall --prefix=/usr \
+				-XLIBRARY_TYPE=$1 \
+				--sources-subdir="${D}"/usr/include/spawn_glib \
+				--lib-subdir="${D}"/usr/lib/spawn_glib \
+				--project-subdir="${D}"/usr/share/gpr \
+				--link-lib-subdir="${D}"/usr/lib/ -p \
+				-P gnat/spawn_glib.gpr || die
+		fi
+	}
+	if use shared; then
+		build relocatable
+	fi
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2023-02-06 20:17 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2023-02-06 20:17 UTC (permalink / raw
  To: gentoo-commits

commit:     d53eaf05a5a50d1b0460813b28b537603c6ad717
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  6 20:16:52 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Feb  6 20:16:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d53eaf05

dev-ada/spawn: EAPI 8

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/{spawn-23.0.0.ebuild => spawn-23.0.0-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ada/spawn/spawn-23.0.0.ebuild b/dev-ada/spawn/spawn-23.0.0-r1.ebuild
similarity index 98%
rename from dev-ada/spawn/spawn-23.0.0.ebuild
rename to dev-ada/spawn/spawn-23.0.0-r1.ebuild
index 810600f83734..bd3c6bcdcd39 100644
--- a/dev-ada/spawn/spawn-23.0.0.ebuild
+++ b/dev-ada/spawn/spawn-23.0.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
 inherit ada multiprocessing


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2023-02-06 20:17 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2023-02-06 20:17 UTC (permalink / raw
  To: gentoo-commits

commit:     2957eab35f0d44f6a54c4f713b43d61e220e05e1
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  6 20:15:53 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Feb  6 20:15:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2957eab3

dev-ada/spawn: drop 22.0.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/Manifest            |   1 -
 dev-ada/spawn/spawn-22.0.0.ebuild | 108 --------------------------------------
 2 files changed, 109 deletions(-)

diff --git a/dev-ada/spawn/Manifest b/dev-ada/spawn/Manifest
index 0ded39f8ca04..c4acdd193d29 100644
--- a/dev-ada/spawn/Manifest
+++ b/dev-ada/spawn/Manifest
@@ -1,2 +1 @@
-DIST spawn-22.0.0.tar.gz 49836 BLAKE2B 2283eadae1477600934cbecb67e0fa4c0640150c4d05356ec3d047fdd664e68510c99f9e495dc448c83fe0fea25523727ecb45ee6e85a4b205255a9549031110 SHA512 706c53dabe82994a809c33e984d467ff0f72a2ed9566dedc8262b2c908393f241546ce379a03ea50eb73bf2326b52fc4804d6e192810c703695fc32c9da0b530
 DIST spawn-23.0.0.tar.gz 43449 BLAKE2B b4a025784d7fb1248696081c128d415101cffca59f03edae3e3ca05c286390ca93a34c1284d1e4b23f8e57bfff274b87d977e5b7840c74049f6f66be89c9b9ac SHA512 440f8b8a45b7a322a5715a195f7e37e6f2641af8190166229e89a11ce6ab60511eb058432f4c3ffcdd670ec71b2509d5e23a80ac2e8dd6b7960bc42385bab86e

diff --git a/dev-ada/spawn/spawn-22.0.0.ebuild b/dev-ada/spawn/spawn-22.0.0.ebuild
deleted file mode 100644
index 810600f83734..000000000000
--- a/dev-ada/spawn/spawn-22.0.0.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
-inherit ada multiprocessing
-
-DESCRIPTION="Simple API to spawn processes"
-HOMEPAGE="https://github.com/AdaCore/spawn"
-SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
-	-> ${P}.tar.gz"
-
-LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="glib +shared static-libs static-pic"
-REQUIRED_USE="|| ( shared static-libs static-pic )
-	${ADA_REQUIRED_USE}"
-
-RDEPEND="${ADA_DEPS}
-	glib? (
-	dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic(-)?]
-	dev-libs/glib
-)"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
-
-src_compile() {
-	build () {
-		gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
-			-XLIBRARY_TYPE=$1 \
-			gnat/spawn.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
-		if use glib; then
-			gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
-				-XLIBRARY_TYPE=$1 \
-				gnat/spawn_glib.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
-				|| die
-		fi
-	}
-	if use shared; then
-		build relocatable
-	fi
-	if use static-libs; then
-		build static
-	fi
-	if use static-pic; then
-		build static-pic
-	fi
-}
-
-src_test() {
-	build () {
-		gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
-			-XLIBRARY_TYPE=$1 \
-			gnat/spawn_tests.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
-			|| die
-		if use glib; then
-			gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
-				-XLIBRARY_TYPE=$1 \
-				gnat/spawn_glib_tests.gpr \
-				-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
-		fi
-	}
-	if use shared; then
-		build relocatable
-	elif use static-libs; then
-		build static
-	elif use static-pic; then
-		build static-pic
-	fi
-	.obj/spawn_test/spawn_test || die
-	.obj/spawn_test/spawn_unexpected || die
-	.obj/spawn_test/spawn_kill || die
-	if use glib; then
-		.obj/spawn_test/spawn_glib_test || die
-		.obj/spawn_test/spawn_glib_args_test.exe || die
-	fi
-}
-
-src_install() {
-	build() {
-		gprinstall --prefix=/usr --sources-subdir="${D}"/usr/include/spawn \
-			-XLIBRARY_TYPE=$1 \
-			--lib-subdir="${D}"/usr/lib/spawn \
-			--project-subdir="${D}"/usr/share/gpr \
-			--link-lib-subdir="${D}"/usr/lib/ -p \
-			-P gnat/spawn.gpr || die
-		if use glib; then
-			gprinstall --prefix=/usr \
-				-XLIBRARY_TYPE=$1 \
-				--sources-subdir="${D}"/usr/include/spawn_glib \
-				--lib-subdir="${D}"/usr/lib/spawn_glib \
-				--project-subdir="${D}"/usr/share/gpr \
-				--link-lib-subdir="${D}"/usr/lib/ -p \
-				-P gnat/spawn_glib.gpr || die
-		fi
-	}
-	if use shared; then
-		build relocatable
-	fi
-	if use static-libs; then
-		build static
-	fi
-	if use static-pic; then
-		build static-pic
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2023-03-21  7:25 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2023-03-21  7:25 UTC (permalink / raw
  To: gentoo-commits

commit:     018e9cc9f524513e6e722e834a693d6a1cb80f70
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 07:24:37 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 07:24:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=018e9cc9

dev-ada/spawn: gcc_12

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/{spawn-23.0.0-r1.ebuild => spawn-23.0.0-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ada/spawn/spawn-23.0.0-r1.ebuild b/dev-ada/spawn/spawn-23.0.0-r2.ebuild
similarity index 98%
rename from dev-ada/spawn/spawn-23.0.0-r1.ebuild
rename to dev-ada/spawn/spawn-23.0.0-r2.ebuild
index bd3c6bcdcd39..427e8b54fe95 100644
--- a/dev-ada/spawn/spawn-23.0.0-r1.ebuild
+++ b/dev-ada/spawn/spawn-23.0.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
+ADA_COMPAT=( gnat_2021 gcc_12_2_0 gcc_12 )
 inherit ada multiprocessing
 
 DESCRIPTION="Simple API to spawn processes"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2023-03-21 21:02 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2023-03-21 21:02 UTC (permalink / raw
  To: gentoo-commits

commit:     2b6b246caa6098c4e2e3c534915e68e2346e0d73
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 20:53:36 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 21:00:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6b246c

dev-ada/spawn: drop gcc_12_2_0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/spawn-23.0.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ada/spawn/spawn-23.0.0-r2.ebuild b/dev-ada/spawn/spawn-23.0.0-r2.ebuild
index 427e8b54fe95..2757a073cda5 100644
--- a/dev-ada/spawn/spawn-23.0.0-r2.ebuild
+++ b/dev-ada/spawn/spawn-23.0.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-ADA_COMPAT=( gnat_2021 gcc_12_2_0 gcc_12 )
+ADA_COMPAT=( gnat_2021 gcc_12 )
 inherit ada multiprocessing
 
 DESCRIPTION="Simple API to spawn processes"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2023-12-18  8:02 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2023-12-18  8:02 UTC (permalink / raw
  To: gentoo-commits

commit:     d4db5d5d5c44a435fd5952cef47ff4e3dfc7f728
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 08:01:07 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 08:01:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4db5d5d

dev-ada/spawn: enable gcc:13

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/{spawn-23.0.0-r2.ebuild => spawn-23.0.0-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ada/spawn/spawn-23.0.0-r2.ebuild b/dev-ada/spawn/spawn-23.0.0-r3.ebuild
similarity index 98%
rename from dev-ada/spawn/spawn-23.0.0-r2.ebuild
rename to dev-ada/spawn/spawn-23.0.0-r3.ebuild
index 2757a073cda5..deeae8222886 100644
--- a/dev-ada/spawn/spawn-23.0.0-r2.ebuild
+++ b/dev-ada/spawn/spawn-23.0.0-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-ADA_COMPAT=( gnat_2021 gcc_12 )
+ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 )
 inherit ada multiprocessing
 
 DESCRIPTION="Simple API to spawn processes"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/
@ 2024-03-18 17:42 Alfredo Tupone
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone @ 2024-03-18 17:42 UTC (permalink / raw
  To: gentoo-commits

commit:     8b50cad5b90927a289d0ec5d25865f3415dac73f
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 17:41:23 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 17:41:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b50cad5

dev-ada/spawn: add 24.0.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/spawn/Manifest            |   1 +
 dev-ada/spawn/spawn-24.0.0.ebuild | 108 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/dev-ada/spawn/Manifest b/dev-ada/spawn/Manifest
index c4acdd193d29..947c53d6e918 100644
--- a/dev-ada/spawn/Manifest
+++ b/dev-ada/spawn/Manifest
@@ -1 +1,2 @@
 DIST spawn-23.0.0.tar.gz 43449 BLAKE2B b4a025784d7fb1248696081c128d415101cffca59f03edae3e3ca05c286390ca93a34c1284d1e4b23f8e57bfff274b87d977e5b7840c74049f6f66be89c9b9ac SHA512 440f8b8a45b7a322a5715a195f7e37e6f2641af8190166229e89a11ce6ab60511eb058432f4c3ffcdd670ec71b2509d5e23a80ac2e8dd6b7960bc42385bab86e
+DIST spawn-24.0.0.tar.gz 66727 BLAKE2B 12da7485b27ff75ce75efbbe4e9c71542faf2c283f843cc903530b9e8829f86e3ea1aff73f8f9efb80fd9924c695039456f3b63ff6d635161ed8b33daeb2da88 SHA512 948bcaa7963d79f7a42fe05c80586bce669b7ff01bb756c087f237b35892956d2ababc274e594e9bda82a8c70fbb62c9ca199161176c87ed3ff42f9e7bc78ea9

diff --git a/dev-ada/spawn/spawn-24.0.0.ebuild b/dev-ada/spawn/spawn-24.0.0.ebuild
new file mode 100644
index 000000000000..7e42f15053ad
--- /dev/null
+++ b/dev-ada/spawn/spawn-24.0.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 )
+inherit ada multiprocessing
+
+DESCRIPTION="Simple API to spawn processes"
+HOMEPAGE="https://github.com/AdaCore/spawn"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="glib +shared static-libs static-pic"
+REQUIRED_USE="|| ( shared static-libs static-pic )
+	${ADA_REQUIRED_USE}"
+
+RDEPEND="${ADA_DEPS}
+	glib? (
+	dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic(-)?]
+	dev-libs/glib
+)"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
+
+src_compile() {
+	build () {
+		gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+			-XLIBRARY_TYPE=$1 \
+			gnat/spawn.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
+		if use glib; then
+			gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+				-XLIBRARY_TYPE=$1 \
+				gnat/spawn_glib.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+				|| die
+		fi
+	}
+	if use shared; then
+		build relocatable
+	fi
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+}
+
+src_test() {
+	build () {
+		gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+			-XLIBRARY_TYPE=$1 \
+			gnat/spawn_tests.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+			|| die
+		if use glib; then
+			gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
+				-XLIBRARY_TYPE=$1 \
+				gnat/spawn_glib_tests.gpr \
+				-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
+		fi
+	}
+	if use shared; then
+		build relocatable
+	elif use static-libs; then
+		build static
+	elif use static-pic; then
+		build static-pic
+	fi
+	.obj/spawn_test/spawn_test || die
+	.obj/spawn_test/spawn_unexpected || die
+	.obj/spawn_test/spawn_kill || die
+	if use glib; then
+		.obj/spawn_test/spawn_glib_test || die
+		.obj/spawn_test/spawn_glib_args_test.exe || die
+	fi
+}
+
+src_install() {
+	build() {
+		gprinstall --prefix=/usr --sources-subdir="${D}"/usr/include/spawn \
+			-XLIBRARY_TYPE=$1 \
+			--lib-subdir="${D}"/usr/lib/spawn \
+			--project-subdir="${D}"/usr/share/gpr \
+			--link-lib-subdir="${D}"/usr/lib/ -p \
+			-P gnat/spawn.gpr || die
+		if use glib; then
+			gprinstall --prefix=/usr \
+				-XLIBRARY_TYPE=$1 \
+				--sources-subdir="${D}"/usr/include/spawn_glib \
+				--lib-subdir="${D}"/usr/lib/spawn_glib \
+				--project-subdir="${D}"/usr/share/gpr \
+				--link-lib-subdir="${D}"/usr/lib/ -p \
+				-P gnat/spawn_glib.gpr || die
+		fi
+	}
+	if use shared; then
+		build relocatable
+	fi
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+}


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

end of thread, other threads:[~2024-03-18 17:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-27  7:08 [gentoo-commits] repo/gentoo:master commit in: dev-ada/spawn/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2024-03-18 17:42 Alfredo Tupone
2023-12-18  8:02 Alfredo Tupone
2023-03-21 21:02 Alfredo Tupone
2023-03-21  7:25 Alfredo Tupone
2023-02-06 20:17 Alfredo Tupone
2023-02-06 20:17 Alfredo Tupone
2022-12-07  7:15 Alfredo Tupone
2022-12-05 13:23 Alfredo Tupone
2022-11-21 17:37 Alfredo Tupone
2022-02-02 20:01 Alfredo Tupone
2021-12-27 15:38 Alfredo Tupone
2021-12-26 19:01 Alfredo Tupone

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