public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2017-12-24 11:20 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2017-12-24 11:20 UTC (permalink / raw
  To: gentoo-commits

commit:     d6392db2ac39df0dfc0175b388f603e1889040ac
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 24 11:19:56 2017 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 11:19:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6392db2

dev-ada/langkit: Needs dev-ada/gnatcoll built with shared library

Package-Manager: Portage-2.3.13, Repoman-2.3.3

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

diff --git a/dev-ada/langkit/langkit-2017.ebuild b/dev-ada/langkit/langkit-2017.ebuild
index 1d2558ae90d..90b59dbad41 100644
--- a/dev-ada/langkit/langkit-2017.ebuild
+++ b/dev-ada/langkit/langkit-2017.ebuild
@@ -21,7 +21,7 @@ IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="${PYTHON_DEPS}
-	dev-ada/gnatcoll[gnat_2017,iconv]
+	dev-ada/gnatcoll[gnat_2017,iconv,shared]
 	dev-python/mako
 	dev-python/pyyaml
 	dev-python/enum34


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2018-03-11 16:36 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2018-03-11 16:36 UTC (permalink / raw
  To: gentoo-commits

commit:     fe1ad8abd0b14aaf80b8ac83570f35d386664c37
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 11 16:35:40 2018 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Mar 11 16:35:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1ad8ab

dev-ada/langkit: Add ~x86

Package-Manager: Portage-2.3.19, Repoman-2.3.6

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

diff --git a/dev-ada/langkit/langkit-2017.ebuild b/dev-ada/langkit/langkit-2017.ebuild
index 90b59dbad41..01cac92bcd4 100644
--- a/dev-ada/langkit/langkit-2017.ebuild
+++ b/dev-ada/langkit/langkit-2017.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed044
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2018-04-22  7:46 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2018-04-22  7:46 UTC (permalink / raw
  To: gentoo-commits

commit:     98caf760adc810b6759bdca714a13a7f4f4e5925
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 22 07:46:27 2018 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Apr 22 07:46:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98caf760

dev-ada/langkit: amd64 and x86 stable

Package-Manager: Portage-2.3.24, Repoman-2.3.6

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

diff --git a/dev-ada/langkit/langkit-2017.ebuild b/dev-ada/langkit/langkit-2017.ebuild
index 01cac92bcd4..df6770a0d6b 100644
--- a/dev-ada/langkit/langkit-2017.ebuild
+++ b/dev-ada/langkit/langkit-2017.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed044
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2018-11-11 20:33 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2018-11-11 20:33 UTC (permalink / raw
  To: gentoo-commits

commit:     6571da18b3550a5f028a2c53122c7bba77939651
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 11 20:33:18 2018 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Nov 11 20:33:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6571da18

dev-ada/langkit: work with gnat_2016 too

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

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

diff --git a/dev-ada/langkit/langkit-2017.ebuild b/dev-ada/langkit/langkit-2017.ebuild
index df6770a0d6b..57790df219e 100644
--- a/dev-ada/langkit/langkit-2017.ebuild
+++ b/dev-ada/langkit/langkit-2017.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,7 @@ IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="${PYTHON_DEPS}
-	dev-ada/gnatcoll[gnat_2017,iconv,shared]
+	dev-ada/gnatcoll[iconv,shared]
 	dev-python/mako
 	dev-python/pyyaml
 	dev-python/enum34


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2019-06-18  6:07 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2019-06-18  6:07 UTC (permalink / raw
  To: gentoo-commits

commit:     4aa16f974062664dd4ff05c14e0bfb10f93c8e3d
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 18 06:07:34 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 06:07:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa16f97

dev-ada/langkit: more log for test phase

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

 dev-ada/langkit/langkit-2018.ebuild | 5 +++--
 dev-ada/langkit/langkit-2019.ebuild | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-ada/langkit/langkit-2018.ebuild b/dev-ada/langkit/langkit-2018.ebuild
index 3eeaca02add..6fe74a78bc9 100644
--- a/dev-ada/langkit/langkit-2018.ebuild
+++ b/dev-ada/langkit/langkit-2018.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -35,7 +35,8 @@ S="${WORKDIR}"/${MYP}-src
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
 src_test() {
-	testsuite/testsuite.py | grep FAILED && die "Test failed"
+	testsuite/testsuite.py --show-error-output | tee testsuite.log
+	grep -q FAILED testsuite.log && die "Test failed"
 }
 
 src_install() {

diff --git a/dev-ada/langkit/langkit-2019.ebuild b/dev-ada/langkit/langkit-2019.ebuild
index a3dcb795c06..1cc699ee20a 100644
--- a/dev-ada/langkit/langkit-2019.ebuild
+++ b/dev-ada/langkit/langkit-2019.ebuild
@@ -36,7 +36,7 @@ S="${WORKDIR}"/${MYP}-src
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
 src_test() {
-	testsuite/testsuite.py --show-error-output misc | tee testsuite.log
+	testsuite/testsuite.py --show-error-output | tee testsuite.log
 	grep -q FAILED testsuite.log && die "Test failed"
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2019-07-07 19:57 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2019-07-07 19:57 UTC (permalink / raw
  To: gentoo-commits

commit:     6d2d3967e7bebe1a6408a43c27306830e15a8d5b
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  7 19:57:09 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 19:57:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2d3967

dev-ada/langkit: fix dependency and try to respect -j1

Bug: https://bugs.gentoo.org/677816
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 dev-ada/langkit/langkit-2018.ebuild | 5 +++--
 dev-ada/langkit/langkit-2019.ebuild | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-ada/langkit/langkit-2018.ebuild b/dev-ada/langkit/langkit-2018.ebuild
index 6fe74a78bc9..348ef449845 100644
--- a/dev-ada/langkit/langkit-2018.ebuild
+++ b/dev-ada/langkit/langkit-2018.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit python-single-r1
+inherit python-single-r1 multiprocessing
 
 MYP=${PN}-gpl-${PV}
 
@@ -24,6 +24,7 @@ DEPEND="${PYTHON_DEPS}
 	dev-ada/gnatcoll-bindings[iconv,shared]
 	dev-python/mako
 	dev-python/pyyaml
+	<dev-python/pyyaml-5
 	dev-python/enum34
 	dev-python/funcy
 	dev-python/docutils
@@ -35,7 +36,7 @@ S="${WORKDIR}"/${MYP}-src
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
 src_test() {
-	testsuite/testsuite.py --show-error-output | tee testsuite.log
+	testsuite/testsuite.py -j $(makeopts_jobs) --show-error-output | tee testsuite.log
 	grep -q FAILED testsuite.log && die "Test failed"
 }
 

diff --git a/dev-ada/langkit/langkit-2019.ebuild b/dev-ada/langkit/langkit-2019.ebuild
index 1cc699ee20a..72bcd4d3adb 100644
--- a/dev-ada/langkit/langkit-2019.ebuild
+++ b/dev-ada/langkit/langkit-2019.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit python-single-r1
+inherit python-single-r1 multiprocessing
 
 MYP=${P}-20190510-19B8C
 
@@ -36,7 +36,7 @@ S="${WORKDIR}"/${MYP}-src
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
 src_test() {
-	testsuite/testsuite.py --show-error-output | tee testsuite.log
+	testsuite/testsuite.py -j $(makeopts_jobs) --show-error-output | tee testsuite.log
 	grep -q FAILED testsuite.log && die "Test failed"
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2019-10-18 17:14 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2019-10-18 17:14 UTC (permalink / raw
  To: gentoo-commits

commit:     0a35416afa79b90dd6127f857400078484ee2833
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 17:14:19 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 17:14:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a35416a

dev-ada/langkit: stable

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

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

diff --git a/dev-ada/langkit/langkit-2019.ebuild b/dev-ada/langkit/langkit-2019.ebuild
index 72bcd4d3adb..07c0444b168 100644
--- a/dev-ada/langkit/langkit-2019.ebuild
+++ b/dev-ada/langkit/langkit-2019.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8f8a31e87a8f1c967d31
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2019-11-15  7:24 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2019-11-15  7:24 UTC (permalink / raw
  To: gentoo-commits

commit:     bfde10116608a0d05a55b29a783ebe1a688595fa
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 15 07:24:03 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Nov 15 07:24:03 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfde1011

dev-ada/langkit: fix MissingTestRestrict

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

 dev-ada/langkit/langkit-2019.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-ada/langkit/langkit-2019.ebuild b/dev-ada/langkit/langkit-2019.ebuild
index 07c0444b168..229fdd526dc 100644
--- a/dev-ada/langkit/langkit-2019.ebuild
+++ b/dev-ada/langkit/langkit-2019.ebuild
@@ -18,6 +18,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="test"
+RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2021-12-14  7:19 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2021-12-14  7:19 UTC (permalink / raw
  To: gentoo-commits

commit:     6c8d8a66b233b67c58ce94f91175061ee6d9bd70
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 14 07:18:58 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Dec 14 07:18:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c8d8a66

dev-ada/langkit: add USE static-libs & static-pic

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

 dev-ada/langkit/langkit-22.0.0-r2.ebuild | 84 ++++++++++++++++++++++++++++++++
 dev-ada/langkit/metadata.xml             |  4 ++
 2 files changed, 88 insertions(+)

diff --git a/dev-ada/langkit/langkit-22.0.0-r2.ebuild b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
new file mode 100644
index 000000000000..ac883ef76f9f
--- /dev/null
+++ b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+
+DISTUTILS_USE_SETUPTOOLS=no
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="A Python framework to generate language parsers"
+HOMEPAGE="https://www.adacore.com/community"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+shared static-libs static-pic"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-ada/gnatcoll-bindings[iconv,shared?,static-libs?,static-pic?]
+	dev-python/mako[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	dev-python/funcy[${PYTHON_USEDEP}]
+	dev-python/docutils[${PYTHON_USEDEP}]
+	dev-ada/e3-core[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}"
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+	cd testsuite/tests
+
+	# missing gprbuild option to build libraries static/relocatable
+	rm -r {langkit_support,adalog,misc/link_two_libs} || die
+
+	# require railroad-diagrams
+	rm -r contrib/svg_railroad_diagrams || die
+}
+
+python_compile_all() {
+	build () {
+		gprbuild -j$(makeopts_jobs) -p -v \
+			-XLIBRARY_TYPE=$1 -P support/langkit_support.gpr -XBUILD_MODE=dev \
+			-cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed"
+	}
+	if use shared; then
+		build relocatable
+	fi
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+}
+
+python_test_all() {
+	${EPYTHON} ./manage.py make --no-langkit-support || die
+	eval $(./manage.py setenv)
+	${EPYTHON} ./manage.py test --verbose |& tee langkit.testOut
+	grep -qw FAIL langkit.testOut && die
+}
+
+python_install_all() {
+	build () {
+		gprinstall -v -P support/langkit_support.gpr -p -XBUILD_MODE=dev \
+			--prefix="${D}"/usr --build-var=LIBRARY_TYPE \
+			--build-var=LANGKIT_SUPPORT_LIBRARY_TYPE \
+			--sources-subdir=include/langkit_support \
+			-XLIBRARY_TYPE=$1 --build-name=$1 || die
+	}
+	if use shared; then
+		build relocatable
+	fi
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+}

diff --git a/dev-ada/langkit/metadata.xml b/dev-ada/langkit/metadata.xml
index 1d15b41d3ff8..09df5e8fc04c 100644
--- a/dev-ada/langkit/metadata.xml
+++ b/dev-ada/langkit/metadata.xml
@@ -4,6 +4,10 @@
 	<maintainer type="project">
 		<email>ada@gentoo.org</email>
 	</maintainer>
+	<use>
+		<flag name="shared">Build shared library</flag>
+		<flag name="static-pic">Build static library with pic code</flag>
+	</use>
 	<longdescription lang="en">
 		Langkit (nickname for language kit) is a tool whose purpose is to make
 		it easy to create syntactic and semantic analysis engines. Write a


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2021-12-19 10:24 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2021-12-19 10:24 UTC (permalink / raw
  To: gentoo-commits

commit:     7a9f89e7d1d46ad1347220438f537cc6dea3199e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 19 10:24:25 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 19 10:24:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a9f89e7

dev-ada/langkit: build something

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

 dev-ada/langkit/langkit-22.0.0-r1.ebuild | 67 --------------------------------
 dev-ada/langkit/langkit-22.0.0-r2.ebuild |  6 +--
 2 files changed, 3 insertions(+), 70 deletions(-)

diff --git a/dev-ada/langkit/langkit-22.0.0-r1.ebuild b/dev-ada/langkit/langkit-22.0.0-r1.ebuild
deleted file mode 100644
index 60713a0d90b8..000000000000
--- a/dev-ada/langkit/langkit-22.0.0-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="A Python framework to generate language parsers"
-HOMEPAGE="https://www.adacore.com/community"
-SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
-	-> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-	dev-ada/gnatcoll-bindings[iconv,shared,static-libs]
-	dev-python/mako[${PYTHON_USEDEP}]
-	dev-python/pyyaml[${PYTHON_USEDEP}]
-	dev-python/funcy[${PYTHON_USEDEP}]
-	dev-python/docutils[${PYTHON_USEDEP}]
-	dev-ada/e3-core[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-gnarl.patch
-)
-
-src_prepare() {
-	default
-	cd testsuite/tests
-
-	# missing gprbuild option to build libraries static/relocatable
-	rm -r {langkit_support,adalog,misc/link_two_libs} || die
-
-	# require railroad-diagrams
-	rm -r contrib/svg_railroad_diagrams || die
-}
-
-src_compile() {
-	gprbuild -v -P support/langkit_support.gpr -p -j$(makeopts_jobs) \
-		-XBUILD_MODE=dev -XLIBRARY_TYPE=relocatable -cargs:Ada ${ADAFLAGS} \
-		|| die
-	distutils-r1_src_compile
-}
-
-src_test() {
-	${EPYTHON} ./manage.py make --no-langkit-support || die
-	eval $(./manage.py setenv)
-	${EPYTHON} ./manage.py test --verbose |& tee langkit.testOut
-	grep -qw FAIL langkit.testOut && die
-}
-
-src_install() {
-	gprinstall -v -P support/langkit_support.gpr -p -XBUILD_MODE=dev \
-		--prefix="${D}"/usr --build-var=LIBRARY_TYPE \
-		--build-var=LANGKIT_SUPPORT_LIBRARY_TYPE \
-		--sources-subdir=include/langkit_support \
-		-XLIBRARY_TYPE=relocatable --build-name=relocatable || die
-	distutils-r1_src_install
-}

diff --git a/dev-ada/langkit/langkit-22.0.0-r2.ebuild b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
index ac883ef76f9f..4393f8601a43 100644
--- a/dev-ada/langkit/langkit-22.0.0-r2.ebuild
+++ b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
@@ -14,11 +14,11 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
 	-> ${P}.tar.gz"
 
 LICENSE="GPL-3"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="+shared static-libs static-pic"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+	|| ( shared static-libs static-pic )"
 
 RDEPEND="${PYTHON_DEPS}
 	dev-ada/gnatcoll-bindings[iconv,shared?,static-libs?,static-pic?]


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2021-12-20 20:42 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2021-12-20 20:42 UTC (permalink / raw
  To: gentoo-commits

commit:     895f47a7fd1f933960c82443bdf6827c01d35ee8
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 20:41:55 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 20:41:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=895f47a7

dev-ada/langkit: fix failing test

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

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

diff --git a/dev-ada/langkit/langkit-22.0.0-r2.ebuild b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
index 4393f8601a43..4e998a1d09a8 100644
--- a/dev-ada/langkit/langkit-22.0.0-r2.ebuild
+++ b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
@@ -21,7 +21,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
 	|| ( shared static-libs static-pic )"
 
 RDEPEND="${PYTHON_DEPS}
-	dev-ada/gnatcoll-bindings[iconv,shared?,static-libs?,static-pic?]
+	dev-ada/gnatcoll-bindings[gmp,iconv,shared?,static-libs?,static-pic?]
 	dev-python/mako[${PYTHON_USEDEP}]
 	dev-python/pyyaml[${PYTHON_USEDEP}]
 	dev-python/funcy[${PYTHON_USEDEP}]
@@ -58,6 +58,7 @@ python_compile_all() {
 }
 
 python_test_all() {
+	export GPR_PROJECT_PATH="${S}"/support
 	${EPYTHON} ./manage.py make --no-langkit-support || die
 	eval $(./manage.py setenv)
 	${EPYTHON} ./manage.py test --verbose |& tee langkit.testOut


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2021-12-22 19:10 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2021-12-22 19:10 UTC (permalink / raw
  To: gentoo-commits

commit:     f5772478513aa157eec5705b6d56aa8a56c991ff
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 22 19:10:12 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Dec 22 19:10:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5772478

dev-ada/langkit: add ada dependency

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

 dev-ada/langkit/langkit-22.0.0-r2.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-ada/langkit/langkit-22.0.0-r2.ebuild b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
index 4e998a1d09a8..ba69bb3b62b6 100644
--- a/dev-ada/langkit/langkit-22.0.0-r2.ebuild
+++ b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
@@ -4,9 +4,10 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8,9} )
+ADA_COMPAT=( gnat_202{0,1} )
 
 DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1 multiprocessing
+inherit distutils-r1 ada multiprocessing
 
 DESCRIPTION="A Python framework to generate language parsers"
 HOMEPAGE="https://www.adacore.com/community"
@@ -18,10 +19,12 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="+shared static-libs static-pic"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
+	${ADA_REQUIRED_USE}
 	|| ( shared static-libs static-pic )"
 
 RDEPEND="${PYTHON_DEPS}
-	dev-ada/gnatcoll-bindings[gmp,iconv,shared?,static-libs?,static-pic?]
+	${ADA_DEPS}
+	dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?]
 	dev-python/mako[${PYTHON_USEDEP}]
 	dev-python/pyyaml[${PYTHON_USEDEP}]
 	dev-python/funcy[${PYTHON_USEDEP}]


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2022-02-03 16:42 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2022-02-03 16:42 UTC (permalink / raw
  To: gentoo-commits

commit:     c47d7b08221451c141066170b157d3c45ae20f23
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  3 16:42:25 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Feb  3 16:42:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c47d7b08

dev-ada/langkit: ~x86 and python3.10

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

 dev-ada/langkit/langkit-22.0.0-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ada/langkit/langkit-22.0.0-r2.ebuild b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
index ba69bb3b62b6..041b256514f9 100644
--- a/dev-ada/langkit/langkit-22.0.0-r2.ebuild
+++ b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 ADA_COMPAT=( gnat_202{0,1} )
 
 DISTUTILS_USE_SETUPTOOLS=no
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="+shared static-libs static-pic"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
 	${ADA_REQUIRED_USE}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2022-09-29 18:54 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2022-09-29 18:54 UTC (permalink / raw
  To: gentoo-commits

commit:     6639a00f2dffc84ca83990fc6641b292dce69c15
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 18:53:52 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 18:53:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6639a00f

dev-ada/langkit: add gcc_12_2_0

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

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

diff --git a/dev-ada/langkit/langkit-22.0.0-r2.ebuild b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
index 041b256514f9..d9620aaca448 100644
--- a/dev-ada/langkit/langkit-22.0.0-r2.ebuild
+++ b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8,9,10} )
-ADA_COMPAT=( gnat_202{0,1} )
+ADA_COMPAT=( gnat_202{0,1} gcc_12_2_0 )
 
 DISTUTILS_USE_SETUPTOOLS=no
 inherit distutils-r1 ada multiprocessing


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

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

commit:     f1a7cee6324bdda24a8af33cf9875506a0d614b3
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 17:59:20 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 17:59:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a7cee6

dev-ada/langkit: drop gnat_2020 support

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

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

diff --git a/dev-ada/langkit/langkit-22.0.0-r3.ebuild b/dev-ada/langkit/langkit-22.0.0-r3.ebuild
index 23c1cec4ad52..9e5afe2cc7e0 100644
--- a/dev-ada/langkit/langkit-22.0.0-r3.ebuild
+++ b/dev-ada/langkit/langkit-22.0.0-r3.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8,9,10} )
-ADA_COMPAT=( gnat_202{0,1} gcc_12_2_0 )
+ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
 
 DISTUTILS_USE_SETUPTOOLS=no
 inherit distutils-r1 ada multiprocessing


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

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

commit:     1b09425a9d1598c749629a4f794bb411d5966344
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 13:17:36 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 13:23:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b09425a

dev-ada/langkit: add github upstream metadata

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

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

diff --git a/dev-ada/langkit/metadata.xml b/dev-ada/langkit/metadata.xml
index affd1ad935dc..6da3e84f2af3 100644
--- a/dev-ada/langkit/metadata.xml
+++ b/dev-ada/langkit/metadata.xml
@@ -18,4 +18,7 @@
 		including tools working on potentially changing and incorrect code,
 		such as IDEs.
 	</longdescription>
+	<upstream>
+		<remote-id type="github">AdaCore/langkit</remote-id>
+	</upstream>
 </pkgmetadata>


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

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

commit:     ab3a06e9c849c21c2e6e07d102bb583b14af2ba3
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 21:00:51 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 21:07:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3a06e9

dev-ada/langkit: install liblangkit_sigsegv_handler.so

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

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

diff --git a/dev-ada/langkit/langkit-23.0.0.ebuild b/dev-ada/langkit/langkit-23.0.0-r1.ebuild
similarity index 96%
rename from dev-ada/langkit/langkit-23.0.0.ebuild
rename to dev-ada/langkit/langkit-23.0.0-r1.ebuild
index d384194e8cee..35be6b6a98d1 100644
--- a/dev-ada/langkit/langkit-23.0.0.ebuild
+++ b/dev-ada/langkit/langkit-23.0.0-r1.ebuild
@@ -101,4 +101,6 @@ python_install_all() {
 	if use shared; then
 		build relocatable
 	fi
+	gprinstall -v -P sigsegv_handler/langkit_sigsegv_handler.gpr -p -XBUILD_MODE=dev \
+		--prefix="${D}"/usr || die
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2023-01-10 14:31 Michał Górny
  0 siblings, 0 replies; 22+ messages in thread
From: Michał Górny @ 2023-01-10 14:31 UTC (permalink / raw
  To: gentoo-commits

commit:     f1b8ed2c4e9dec1925a91ee824be0fe0c437d877
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 10 14:28:19 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 10 14:30:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b8ed2c

dev-ada/langkit: Remove Python < 3.10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-ada/langkit/langkit-22.0.0-r3.ebuild | 4 ++--
 dev-ada/langkit/langkit-23.0.0-r1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-ada/langkit/langkit-22.0.0-r3.ebuild b/dev-ada/langkit/langkit-22.0.0-r3.ebuild
index 9e5afe2cc7e0..a5c90c452b7b 100644
--- a/dev-ada/langkit/langkit-22.0.0-r3.ebuild
+++ b/dev-ada/langkit/langkit-22.0.0-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_10 )
 ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
 
 DISTUTILS_USE_SETUPTOOLS=no

diff --git a/dev-ada/langkit/langkit-23.0.0-r1.ebuild b/dev-ada/langkit/langkit-23.0.0-r1.ebuild
index 35be6b6a98d1..f0cf67a22fdb 100644
--- a/dev-ada/langkit/langkit-23.0.0-r1.ebuild
+++ b/dev-ada/langkit/langkit-23.0.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_10 )
 ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
 
 DISTUTILS_USE_SETUPTOOLS=no


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

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

commit:     5c87bb19f2c15af9aefd73defa102d06cb61df7b
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 20:53:08 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 21:00:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c87bb19

dev-ada/langkit: drop gcc_12_2_0

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

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

diff --git a/dev-ada/langkit/langkit-23.0.0-r1.ebuild b/dev-ada/langkit/langkit-23.0.0-r1.ebuild
index dcae44ffc718..26dee3b78532 100644
--- a/dev-ada/langkit/langkit-23.0.0-r1.ebuild
+++ b/dev-ada/langkit/langkit-23.0.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
-ADA_COMPAT=( gnat_2021 gcc_12 gcc_12_2_0 )
+ADA_COMPAT=( gnat_2021 gcc_12 )
 
 DISTUTILS_USE_SETUPTOOLS=no
 inherit distutils-r1 ada multiprocessing


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2023-12-10  9:39 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2023-12-10  9:39 UTC (permalink / raw
  To: gentoo-commits

commit:     604e8025d76df9b0176d1a0ed54e37c78ab18f65
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 10 09:37:42 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 10 09:38:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604e8025

dev-ada/langkit: support gcc_13

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

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

diff --git a/dev-ada/langkit/langkit-23.0.0-r1.ebuild b/dev-ada/langkit/langkit-23.0.0-r2.ebuild
similarity index 98%
rename from dev-ada/langkit/langkit-23.0.0-r1.ebuild
rename to dev-ada/langkit/langkit-23.0.0-r2.ebuild
index 26dee3b78532..0048c09c5589 100644
--- a/dev-ada/langkit/langkit-23.0.0-r1.ebuild
+++ b/dev-ada/langkit/langkit-23.0.0-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
-ADA_COMPAT=( gnat_2021 gcc_12 )
+ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 )
 
 DISTUTILS_USE_SETUPTOOLS=no
 inherit distutils-r1 ada multiprocessing
@@ -21,6 +21,7 @@ IUSE="+shared static-libs static-pic"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
 	${ADA_REQUIRED_USE}
 	|| ( shared static-libs static-pic )"
+RESTRICT="test"
 
 RDEPEND="${PYTHON_DEPS}
 	${ADA_DEPS}


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

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

commit:     0c16cfc98c7c595f47b90731a2da8e1969b73720
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 18:36:13 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 18:36:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c16cfc9

dev-ada/langkit: DistutilsNonPEP517Build

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

 .../langkit/{langkit-23.0.0-r2.ebuild => langkit-23.0.0-r3.ebuild}   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-ada/langkit/langkit-23.0.0-r2.ebuild b/dev-ada/langkit/langkit-23.0.0-r3.ebuild
similarity index 96%
rename from dev-ada/langkit/langkit-23.0.0-r2.ebuild
rename to dev-ada/langkit/langkit-23.0.0-r3.ebuild
index 0048c09c5589..ba2c97a21b70 100644
--- a/dev-ada/langkit/langkit-23.0.0-r2.ebuild
+++ b/dev-ada/langkit/langkit-23.0.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10..11} )
 ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 )
 
-DISTUTILS_USE_SETUPTOOLS=no
+DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1 ada multiprocessing
 
 DESCRIPTION="A Python framework to generate language parsers"
@@ -25,6 +25,7 @@ RESTRICT="test"
 
 RDEPEND="${PYTHON_DEPS}
 	${ADA_DEPS}
+	dev-ada/gnatcoll-core:=
 	dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?]
 	dev-python/mako[${PYTHON_USEDEP}]
 	dev-python/pyyaml[${PYTHON_USEDEP}]


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

* [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
@ 2024-03-15 20:55 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2024-03-15 20:55 UTC (permalink / raw
  To: gentoo-commits

commit:     bb090ee89faf8a9e25f7376906bfea9b84eaa5a6
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 20:51:59 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 20:52:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb090ee8

dev-ada/langkit: add 24.0.0

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

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

diff --git a/dev-ada/langkit/Manifest b/dev-ada/langkit/Manifest
index 9a010d224369..e1505522fde0 100644
--- a/dev-ada/langkit/Manifest
+++ b/dev-ada/langkit/Manifest
@@ -1 +1,2 @@
 DIST langkit-23.0.0.tar.gz 1178557 BLAKE2B c3b81cafea3afcfd90a87192dca5abd0f19c5ff4e195515dd7c4df70824bf328c24855a6761264b89bf44a56afc8dd77b78fbf322c6f92299082507aa65d61e5 SHA512 6cc6adacb157a47ebc8da46591e45a4ff212fba2cd5ac80c12adb2e84f4508735d98dc68ffce86aa5e5e8d873e6f51efb4f88f4d76a190b9eb0024bf69deefc1
+DIST langkit-24.0.0.tar.gz 1282265 BLAKE2B 63aa3eb05be6ea590c3f4d0478cdfa0ee217606607c73b4c172c5b89d8a2a5d815efbf2bcd23b84548ececd11ffa1f89ebcbc5d411845b7a3834d6f7e16aa0b1 SHA512 b26a83cd7e57d8821d09e5e1aeaa2fa5837ab2f3901a006cfd49b059a3cfc98d7ea236dc39a2e24365196bd45c2124396795fd46fdaf4d7cb41aabb45ff85326

diff --git a/dev-ada/langkit/langkit-24.0.0.ebuild b/dev-ada/langkit/langkit-24.0.0.ebuild
new file mode 100644
index 000000000000..a819cb00aaa7
--- /dev/null
+++ b/dev-ada/langkit/langkit-24.0.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+ADA_COMPAT=( gcc_12 gcc_13 )
+
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 ada multiprocessing
+
+DESCRIPTION="A Python framework to generate language parsers"
+HOMEPAGE="https://www.adacore.com/community"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+shared static-libs static-pic"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+	${ADA_REQUIRED_USE}
+	|| ( shared static-libs static-pic )"
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+	${ADA_DEPS}
+	dev-ada/gnatcoll-core:=
+	dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?]
+	dev-ada/AdaSAT[${ADA_USEDEP},shared?,static-libs?,static-pic?]
+	dev-python/mako[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	dev-python/funcy[${PYTHON_USEDEP}]
+	dev-python/docutils[${PYTHON_USEDEP}]
+	dev-python/mypy[${PYTHON_USEDEP}]
+	dev-python/types-gdb[${PYTHON_USEDEP}]
+	dev-python/types-docutils[${PYTHON_USEDEP}]
+	dev-ada/e3-core[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}"
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+	cd testsuite/tests
+
+	# missing gprbuild option to build libraries static/relocatable
+	rm -r {langkit_support,adalog,misc/link_two_libs} || die
+	rm -r misc/standalone || die
+
+	# other failures
+	rm -r misc/docstrings_lkt_roles || die
+}
+
+python_compile_all() {
+	build () {
+		rm -f langkit/support/obj/dev/*lexch
+		gprbuild -j$(makeopts_jobs) -p -v \
+			-XLIBRARY_TYPE=$1 -P langkit/support/langkit_support.gpr -XBUILD_MODE=dev \
+			-cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed"
+	}
+	if use shared; then
+		build relocatable
+	fi
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+	gprbuild -j$(makeopts_jobs) -p -v \
+		-P sigsegv_handler/langkit_sigsegv_handler.gpr -XBUILD_MODE=dev \
+		-cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed"
+}
+
+python_test_all() {
+	export GPR_PROJECT_PATH="${S}"/langkit/support
+	${EPYTHON} ./manage.py make --no-langkit-support || die
+	eval $(./manage.py setenv)
+	${EPYTHON} ./manage.py test -v \
+		--disable-ocaml \
+		--disable-gdb \
+		--disable-tear-up-builds \
+		--restricted-env \
+		--jobs $(makeopts_jobs) \
+		|& tee langkit.testOut
+	grep -qw FAIL langkit.testOut && die
+}
+
+python_install_all() {
+	build () {
+		gprinstall -v -P langkit/support/langkit_support.gpr -p -XBUILD_MODE=dev \
+			--prefix="${D}"/usr --build-var=LIBRARY_TYPE \
+			--build-var=LANGKIT_SUPPORT_LIBRARY_TYPE \
+			--sources-subdir=include/langkit_support \
+			-XLIBRARY_TYPE=$1 --build-name=$1 || die
+	}
+	if use static-libs; then
+		build static
+	fi
+	if use static-pic; then
+		build static-pic
+	fi
+	if use shared; then
+		build relocatable
+	fi
+	gprinstall -v -P sigsegv_handler/langkit_sigsegv_handler.gpr -p -XBUILD_MODE=dev \
+		--prefix="${D}"/usr || die
+}


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

end of thread, other threads:[~2024-03-15 20:55 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-11 20:33 [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2024-03-15 20:55 Alfredo Tupone
2024-03-06 18:37 Alfredo Tupone
2023-12-10  9:39 Alfredo Tupone
2023-03-21 21:02 Alfredo Tupone
2023-01-10 14:31 Michał Górny
2022-12-11 21:10 Alfredo Tupone
2022-12-05 13:23 Alfredo Tupone
2022-11-21 17:59 Alfredo Tupone
2022-09-29 18:54 Alfredo Tupone
2022-02-03 16:42 Alfredo Tupone
2021-12-22 19:10 Alfredo Tupone
2021-12-20 20:42 Alfredo Tupone
2021-12-19 10:24 Alfredo Tupone
2021-12-14  7:19 Alfredo Tupone
2019-11-15  7:24 Alfredo Tupone
2019-10-18 17:14 Alfredo Tupone
2019-07-07 19:57 Alfredo Tupone
2019-06-18  6:07 Alfredo Tupone
2018-04-22  7:46 Alfredo Tupone
2018-03-11 16:36 Alfredo Tupone
2017-12-24 11:20 Alfredo Tupone

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