public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/gpr-unit-provider/
@ 2022-12-17 21:11 Alfredo Tupone
  0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2022-12-17 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     6cb4527f631bc9fa68e45a5dc9db81507fd1cb1a
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 17 21:10:44 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Dec 17 21:10:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb4527f

dev-ada/gpr-unit-provider: new package, add 23.0.0

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

 dev-ada/gpr-unit-provider/Manifest                 |  1 +
 .../gpr-unit-provider-23.0.0.ebuild                | 39 ++++++++++++++++++++++
 dev-ada/gpr-unit-provider/metadata.xml             | 13 ++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-ada/gpr-unit-provider/Manifest b/dev-ada/gpr-unit-provider/Manifest
new file mode 100644
index 000000000000..67a13de44e36
--- /dev/null
+++ b/dev-ada/gpr-unit-provider/Manifest
@@ -0,0 +1 @@
+DIST gpr-unit-provider-23.0.0.tar.gz 29171 BLAKE2B 11e6311cde8ef12174a90e2ba3063734903e367bd027c6b3edb5f43f5d498e90ba97c89634a9b1f176f15e4ed97f5962f1b786d7f86f9afaa19a4d5688194649 SHA512 b67f922e8460be69357da046d8c74bf580efa05498d4aee190d0a0ac1f69a5d111e85ca2f52562fbdd27c7a343d2cac777d86fb8b38b3fbd627e3b42afca36f9

diff --git a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0.ebuild b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0.ebuild
new file mode 100644
index 000000000000..f87d5cb7242e
--- /dev/null
+++ b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 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="GPR Unit Provider"
+HOMEPAGE="https://github.com/AdaCore/gpr-unit-provider"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${ADA_DEPS}
+	dev-ada/gpr[${ADA_USEDEP},shared?]
+	dev-ada/libadalang[${ADA_USEDEP},static-libs]
+	shared? ( dev-ada/libadalang[static-pic] )"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+IUSE="+shared"
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+src_compile() {
+	emake PROCESSORS=$(makeopts_jobs) \
+		ENABLE_SHARED=$(usex shared) \
+		GPRBUILD_OPTIONS=-v
+}
+
+src_install() {
+	emake ENABLE_SHARED=$(usex shared) \
+		prefix="${D}"/usr \
+		install
+	einstalldocs
+}

diff --git a/dev-ada/gpr-unit-provider/metadata.xml b/dev-ada/gpr-unit-provider/metadata.xml
new file mode 100644
index 000000000000..650d892ed260
--- /dev/null
+++ b/dev-ada/gpr-unit-provider/metadata.xml
@@ -0,0 +1,13 @@
+<?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="shared">Build shared library</flag>
+	</use>
+	<upstream>
+		<remote-id type="github">AdaCore/gpr-unit-provider</remote-id>
+	</upstream>
+</pkgmetadata>


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

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

commit:     65c1424da96d3ad0eb21209018f3c49044c2aacd
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 07:22:16 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 07:22:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c1424d

dev-ada/gpr-unit-provider: EAPI 8 gcc_12

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

 ...it-provider-23.0.0.ebuild => gpr-unit-provider-23.0.0-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0.ebuild b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild
similarity index 90%
rename from dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0.ebuild
rename to dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild
index f87d5cb7242e..084362e47160 100644
--- a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0.ebuild
+++ b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 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 )
+ADA_COMPAT=( gnat_2021 gcc_12_2_0 gcc_12 )
 inherit ada multiprocessing
 
 DESCRIPTION="GPR Unit Provider"


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

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

commit:     67ea46e4371fdc2bd280d51b11deb2bb13755ef8
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 20:57:22 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 21:00:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ea46e4

dev-ada/gpr-unit-provider: drop gcc_12_2_0

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

 dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild
index 084362e47160..4219750d6ce5 100644
--- a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild
+++ b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.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="GPR Unit Provider"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/gpr-unit-provider/
@ 2023-04-15 19:31 Alfredo Tupone
  0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2023-04-15 19:31 UTC (permalink / raw
  To: gentoo-commits

commit:     c349f06163666467c10543b7f3d1e25fbf6ff468
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 15 19:28:28 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Apr 15 19:31:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c349f061

dev-ada/gpr-unit-provider: static libraries under static-libs flag

Closes: https://bugs.gentoo.org/902539
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../gpr-unit-provider-23.0.0-r1.ebuild             | 39 --------------
 .../gpr-unit-provider-23.0.0-r2.ebuild             | 59 ++++++++++++++++++++++
 dev-ada/gpr-unit-provider/metadata.xml             |  1 +
 3 files changed, 60 insertions(+), 39 deletions(-)

diff --git a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild
deleted file mode 100644
index 4219750d6ce5..000000000000
--- a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ADA_COMPAT=( gnat_2021 gcc_12 )
-inherit ada multiprocessing
-
-DESCRIPTION="GPR Unit Provider"
-HOMEPAGE="https://github.com/AdaCore/gpr-unit-provider"
-SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
-	-> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="${ADA_DEPS}
-	dev-ada/gpr[${ADA_USEDEP},shared?]
-	dev-ada/libadalang[${ADA_USEDEP},static-libs]
-	shared? ( dev-ada/libadalang[static-pic] )"
-DEPEND="${RDEPEND}"
-BDEPEND=""
-
-IUSE="+shared"
-REQUIRED_USE="${ADA_REQUIRED_USE}"
-
-src_compile() {
-	emake PROCESSORS=$(makeopts_jobs) \
-		ENABLE_SHARED=$(usex shared) \
-		GPRBUILD_OPTIONS=-v
-}
-
-src_install() {
-	emake ENABLE_SHARED=$(usex shared) \
-		prefix="${D}"/usr \
-		install
-	einstalldocs
-}

diff --git a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild
new file mode 100644
index 000000000000..2e1af4e2ac0d
--- /dev/null
+++ b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ADA_COMPAT=( gnat_2021 gcc_12 )
+inherit ada multiprocessing
+
+DESCRIPTION="GPR Unit Provider"
+HOMEPAGE="https://github.com/AdaCore/gpr-unit-provider"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+shared static-libs static-pic"
+
+RDEPEND="${ADA_DEPS}
+	dev-ada/gpr:=[${ADA_USEDEP},shared?]
+	dev-ada/libadalang:=[${ADA_USEDEP},static-libs?,static-pic?]"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
+REQUIRED_USE="${ADA_REQUIRED_USE}
+	|| ( shared static-libs static-pic )"
+
+src_compile() {
+	if use static-libs; then
+		emake PROCESSORS=$(makeopts_jobs) \
+			GPRBUILD_OPTIONS=-v \
+			build-static
+	fi
+	if use shared; then
+		emake PROCESSORS=$(makeopts_jobs) \
+			GPRBUILD_OPTIONS=-v \
+			build-relocatable
+	fi
+	if use static-pic; then
+		emake PROCESSORS=$(makeopts_jobs) \
+			GPRBUILD_OPTIONS=-v \
+			build-static-pic
+	fi
+}
+
+src_install() {
+	if use static-libs; then
+		emake prefix="${D}"/usr \
+			install-static
+	fi
+	if use shared; then
+		emake prefix="${D}"/usr \
+			install-relocatable
+	fi
+	if use static-pic; then
+		emake prefix="${D}"/usr \
+			install-static-pic
+	fi
+	einstalldocs
+}

diff --git a/dev-ada/gpr-unit-provider/metadata.xml b/dev-ada/gpr-unit-provider/metadata.xml
index 650d892ed260..cc5ba27bd909 100644
--- a/dev-ada/gpr-unit-provider/metadata.xml
+++ b/dev-ada/gpr-unit-provider/metadata.xml
@@ -6,6 +6,7 @@
 	</maintainer>
 	<use>
 		<flag name="shared">Build shared library</flag>
+		<flag name="static-pic">Build static library with pic code</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">AdaCore/gpr-unit-provider</remote-id>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/gpr-unit-provider/
@ 2023-04-24  9:17 Alfredo Tupone
  0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2023-04-24  9:17 UTC (permalink / raw
  To: gentoo-commits

commit:     547cde6897aabd5b93d974dc6529eaea1585daeb
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 24 09:16:45 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Apr 24 09:16:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547cde68

dev-ada/gpr-unit-provider: respect ADAFLAGS

Closes: https://bugs.gentoo.org/902537
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 ...2.ebuild => gpr-unit-provider-23.0.0-r3.ebuild} | 25 +++++++++-------------
 1 file changed, 10 insertions(+), 15 deletions(-)

diff --git a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild
similarity index 74%
rename from dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild
rename to dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild
index 2e1af4e2ac0d..409b5d59236e 100644
--- a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild
+++ b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild
@@ -25,21 +25,16 @@ REQUIRED_USE="${ADA_REQUIRED_USE}
 	|| ( shared static-libs static-pic )"
 
 src_compile() {
-	if use static-libs; then
-		emake PROCESSORS=$(makeopts_jobs) \
-			GPRBUILD_OPTIONS=-v \
-			build-static
-	fi
-	if use shared; then
-		emake PROCESSORS=$(makeopts_jobs) \
-			GPRBUILD_OPTIONS=-v \
-			build-relocatable
-	fi
-	if use static-pic; then
-		emake PROCESSORS=$(makeopts_jobs) \
-			GPRBUILD_OPTIONS=-v \
-			build-static-pic
-	fi
+	build () {
+		gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \
+		-XGPR_UNIT_PROVIDER_BUILD=release -XXMLADA_BUILD=$1 \
+		-P gpr_unit_provider.gpr \
+		-largs ${LDFLAGS} \
+		-cargs ${ADAFLAGS} || die "gprbuild failed"
+	}
+	use static-libs && build static
+	use shared && build relocatable
+	use static-pic && build static-pic
 }
 
 src_install() {


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/gpr-unit-provider/
@ 2023-12-12 21:20 Alfredo Tupone
  0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2023-12-12 21:20 UTC (permalink / raw
  To: gentoo-commits

commit:     497f0f0820dce516824e3f3e0f0d7872cdedb305
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 12 21:19:34 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 21:19:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=497f0f08

dev-ada/gpr-unit-provider: build with gcc_13

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

 ...nit-provider-23.0.0-r3.ebuild => gpr-unit-provider-23.0.0-r4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r4.ebuild
similarity index 97%
rename from dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild
rename to dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r4.ebuild
index 409b5d59236e..660dd6483bce 100644
--- a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild
+++ b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r4.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="GPR Unit Provider"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/gpr-unit-provider/
@ 2024-10-19 19:49 Alfredo Tupone
  0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2024-10-19 19:49 UTC (permalink / raw
  To: gentoo-commits

commit:     9b5bb8771cf6bf4167539f15d5a36202194433b6
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 19:49:10 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 19:49:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5bb877

dev-ada/gpr-unit-provider: gcc_14

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

 ...t-provider-23.0.0-r4.ebuild => gpr-unit-provider-23.0.0-r5.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r4.ebuild b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r5.ebuild
similarity index 93%
rename from dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r4.ebuild
rename to dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r5.ebuild
index 660dd6483bce..720fe23875a7 100644
--- a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r4.ebuild
+++ b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 )
+ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 gcc_14 )
 inherit ada multiprocessing
 
 DESCRIPTION="GPR Unit Provider"


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

end of thread, other threads:[~2024-10-19 19:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-21  7:25 [gentoo-commits] repo/gentoo:master commit in: dev-ada/gpr-unit-provider/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2024-10-19 19:49 Alfredo Tupone
2023-12-12 21:20 Alfredo Tupone
2023-04-24  9:17 Alfredo Tupone
2023-04-15 19:31 Alfredo Tupone
2023-03-21 21:02 Alfredo Tupone
2022-12-17 21:11 Alfredo Tupone

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