* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-12-12 19:55 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-12-12 19:55 UTC (permalink / raw
To: gentoo-commits
commit: 5060f87263e93aeade7da16844451c166421906b
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 12 19:54:05 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Dec 12 19:55:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5060f872
dev-ada/libadalang: despite versioning dev-ada/*-2021 are older
Closes: https://bugs.gentoo.org/885641
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-23.0.0.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-ada/libadalang/libadalang-23.0.0.ebuild b/dev-ada/libadalang/libadalang-23.0.0.ebuild
index 553b5ecb1985..679d49bbfa20 100644
--- a/dev-ada/libadalang/libadalang-23.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-23.0.0.ebuild
@@ -22,6 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml
+ <dev-ada/gnatcoll-bindings-2021
>=dev-ada/gnatcoll-bindings-23.0.0[${ADA_USEDEP},gmp,iconv]
dev-ada/gnatcoll-bindings[shared,static-libs?,static-pic?]
${ADA_DEPS}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2024-03-18 8:10 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2024-03-18 8:10 UTC (permalink / raw
To: gentoo-commits
commit: c08e843ad52f7ead77e05f605b7391cc685dab39
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 08:09:35 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 08:10:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c08e843a
dev-ada/libadalang: drop java directory
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../libadalang/{libadalang-24.0.0.ebuild => libadalang-24.0.0-r1.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-ada/libadalang/libadalang-24.0.0.ebuild b/dev-ada/libadalang/libadalang-24.0.0-r1.ebuild
similarity index 98%
rename from dev-ada/libadalang/libadalang-24.0.0.ebuild
rename to dev-ada/libadalang/libadalang-24.0.0-r1.ebuild
index 9635eb6d6899..3e591acfd999 100644
--- a/dev-ada/libadalang/libadalang-24.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-24.0.0-r1.ebuild
@@ -107,4 +107,5 @@ src_install() {
rm -r "${D}"/usr/python || die
python_domodule build/python/libadalang
rm -r "${D}"/usr/ocaml || die
+ rm -r "${D}"/usr/java || die
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2024-03-17 21:26 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2024-03-17 21:26 UTC (permalink / raw
To: gentoo-commits
commit: a059a23f2c8f104f2d3f3f824ebf83b30ec0e434
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 17 21:25:57 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 21:26:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a059a23f
dev-ada/libadalang: add 24.0.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/Manifest | 1 +
dev-ada/libadalang/libadalang-24.0.0.ebuild | 110 ++++++++++++++++++++++++++++
2 files changed, 111 insertions(+)
diff --git a/dev-ada/libadalang/Manifest b/dev-ada/libadalang/Manifest
index 1bbb55f0ff69..04ebe7a163b8 100644
--- a/dev-ada/libadalang/Manifest
+++ b/dev-ada/libadalang/Manifest
@@ -1 +1,2 @@
DIST libadalang-23.0.0.tar.gz 2604724 BLAKE2B 0e415c92fdd150e19288cee87a011c448962531b629b7f77be3b22a7e6662017a6cfd5132a5895c68ffee4b28b7ac35e4b5abc07f015a84638ecb1843976e3e5 SHA512 ed80d751d3a2e07b0d612bda24c0f1d753d15237cde3d9e3bbb6c79c8c98d6af050151c499d161e619282ed8cb742968bbfb5423008aa593a6673fcf0375c7d3
+DIST libadalang-24.0.0.tar.gz 2783238 BLAKE2B 6d3b3df1dbb645ea8cba8f8088c7cdd40e9114ce2a5100bf93fefe8089d944f185fe343f5fefc35e17f64f5bf4f3dde358a398614db7d1a1b62dd136efdbb334 SHA512 fb2ed8aee075ef5dd66527a099acb5eef9103a8bf244ed437ff9fa38360d7de1712e6375ed98b691a745fa27ef841eb5daa6651641c552c5146986c5ed977131
diff --git a/dev-ada/libadalang/libadalang-24.0.0.ebuild b/dev-ada/libadalang/libadalang-24.0.0.ebuild
new file mode 100644
index 000000000000..9635eb6d6899
--- /dev/null
+++ b/dev-ada/libadalang/libadalang-24.0.0.ebuild
@@ -0,0 +1,110 @@
+# 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=( gnat_2021 gcc_12 gcc_13 )
+
+inherit ada python-single-r1 multiprocessing
+
+DESCRIPTION="high performance semantic engine for the Ada programming language"
+HOMEPAGE="https://libre.adacore.com/"
+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="test +static-libs static-pic"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ${ADA_REQUIRED_USE}"
+# Need java
+RESTRICT="test"
+
+RDEPEND="dev-python/pyyaml
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv]
+ dev-ada/gnatcoll-bindings[shared,static-libs?,static-pic?]
+ ${ADA_DEPS}
+ ${PYTHON_DEPS}
+ >=dev-ada/gpr-24.0.0[${ADA_USEDEP},shared,static-libs?,static-pic?]
+ >=dev-ada/langkit-24.0.0[${ADA_USEDEP},shared,static-libs?,static-pic?]
+ $(python_gen_cond_dep '
+ dev-ada/langkit[${PYTHON_USEDEP}]
+ ')"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[${ADA_USEDEP}]
+"
+BDEPEND="test? (
+ dev-ml/dune
+ dev-ml/zarith
+ dev-ml/camomile
+ dev-ml/ocaml-ctypes
+ dev-ada/e3-testsuite
+ <dev-lang/ocaml-4.14
+ )"
+
+PATCHES=( "${FILESDIR}"/${PN}-23.0.0-test.patch )
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ada_pkg_setup
+ libType=''
+ if use static-libs; then
+ libType+=',static'
+ fi
+ if use static-pic; then
+ libType+=',static-pic'
+ fi
+ libType+=',relocatable'
+ libType=${libType:1}
+}
+
+src_prepare() {
+ default
+ rm -r testsuite/tests/misc/copyright || die
+ rm -r testsuite/tests/name_resolution/field_hiding_2 || die
+ rm -r testsuite/tests/ocaml_api/auto_provider || die
+ rm -r testsuite/tests/ocaml_api/project_unit_provider || die
+}
+
+src_configure() {
+ ${EPYTHON} manage.py generate -v debug || die
+}
+
+src_compile() {
+ ${EPYTHON} manage.py build -v \
+ --build-mode "prod" \
+ -j$(makeopts_jobs) \
+ --disable-java \
+ --gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} -largs ${LDFLAGS}" \
+ --library-types=${libType} || die
+ GPR_PROJECT_PATH="${S}"/build \
+ gprbuild -P contrib/highlight/highlight.gpr \
+ -j$(makeopts_jobs) -v \
+ -XBUILD_MODE=prod \
+ -XLIBRARY_TYPE=relocatable \
+ -XXMLADA_BUILD=relocatable \
+ -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+ -largs ${LDFLAGS} \
+ || die
+}
+
+src_test() {
+ BUILD_MODE=prod \
+ ${EPYTHON} manage.py test \
+ --build-mode "prod" \
+ --restricted-env -j 1 \
+ |& tee libadalang.testOut
+ grep -qw FAIL libadalang.testOut && die
+}
+
+src_install() {
+ ${EPYTHON} manage.py \
+ install "${D}"/usr \
+ --build-mode "prod" \
+ --library-types=${libType} || die
+ rm -r "${D}"/usr/python || die
+ python_domodule build/python/libadalang
+ rm -r "${D}"/usr/ocaml || die
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2023-12-10 16:14 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2023-12-10 16:14 UTC (permalink / raw
To: gentoo-commits
commit: 263cb715808dee161c21f1216b055b9ae1624533
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 10 16:13:29 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 10 16:13:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=263cb715
dev-ada/libadalang: support gcc_13
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{libadalang-23.0.0-r2.ebuild => libadalang-23.0.0-r3.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-23.0.0-r2.ebuild b/dev-ada/libadalang/libadalang-23.0.0-r3.ebuild
similarity index 98%
rename from dev-ada/libadalang/libadalang-23.0.0-r2.ebuild
rename to dev-ada/libadalang/libadalang-23.0.0-r3.ebuild
index 6df90bc5aae2..8fd7fea69d3d 100644
--- a/dev-ada/libadalang/libadalang-23.0.0-r2.ebuild
+++ b/dev-ada/libadalang/libadalang-23.0.0-r3.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 )
inherit ada python-single-r1 multiprocessing
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2023-03-21 21:02 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2023-03-21 21:02 UTC (permalink / raw
To: gentoo-commits
commit: 64f22758cd7b17a499cbc55bb0dc652ca5f5d2c6
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 20:55:14 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 21:00:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64f22758
dev-ada/libadalang: drop gcc_12_2_0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-23.0.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-23.0.0-r2.ebuild b/dev-ada/libadalang/libadalang-23.0.0-r2.ebuild
index b01004d4fb5f..6df90bc5aae2 100644
--- a/dev-ada/libadalang/libadalang-23.0.0-r2.ebuild
+++ b/dev-ada/libadalang/libadalang-23.0.0-r2.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 )
inherit ada python-single-r1 multiprocessing
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2023-03-19 19:48 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2023-03-19 19:48 UTC (permalink / raw
To: gentoo-commits
commit: 8aad4529656bdb868a71bcb7de8abd26167a1423
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 19:48:10 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 19:48:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aad4529
dev-ada/libadalang: drop 22.0.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/Manifest | 1 -
dev-ada/libadalang/libadalang-22.0.0.ebuild | 100 ----------------------------
2 files changed, 101 deletions(-)
diff --git a/dev-ada/libadalang/Manifest b/dev-ada/libadalang/Manifest
index 074a7836d48b..1bbb55f0ff69 100644
--- a/dev-ada/libadalang/Manifest
+++ b/dev-ada/libadalang/Manifest
@@ -1,2 +1 @@
-DIST libadalang-22.0.0.tar.gz 2364531 BLAKE2B 3992baa7180dce696b2c8aa0d451117a12b90072e83274d96a8d971b627c82bc66c5c21fa1eb6dbdd7ce95e0264852c5702b3d7c90f7bdf093915178e0a4a659 SHA512 b874feb102fe221595ad4b9b95b3ea4c6593686f96097ace17ad3c57534dc801000819de0cf898489e3407fd201eb003dd75f4f743a53dfb76cadfa6c727d789
DIST libadalang-23.0.0.tar.gz 2604724 BLAKE2B 0e415c92fdd150e19288cee87a011c448962531b629b7f77be3b22a7e6662017a6cfd5132a5895c68ffee4b28b7ac35e4b5abc07f015a84638ecb1843976e3e5 SHA512 ed80d751d3a2e07b0d612bda24c0f1d753d15237cde3d9e3bbb6c79c8c98d6af050151c499d161e619282ed8cb742968bbfb5423008aa593a6673fcf0375c7d3
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
deleted file mode 100644
index 08e8d1ec59bb..000000000000
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_10 )
-ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
-
-inherit ada python-single-r1 multiprocessing
-
-DESCRIPTION="high performance semantic engine for the Ada programming language"
-HOMEPAGE="https://libre.adacore.com/"
-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="test +static-libs static-pic"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- ${ADA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared,static-libs?,static-pic?]
- ${ADA_DEPS}
- ${PYTHON_DEPS}
- ~dev-ada/langkit-${PV}[${ADA_USEDEP},shared,static-libs?,static-pic?]
- $(python_gen_cond_dep '
- dev-ada/langkit[${PYTHON_USEDEP}]
- ')"
-DEPEND="${RDEPEND}
- dev-ada/gprbuild[${ADA_USEDEP}]
-"
-BDEPEND="test? (
- dev-ml/dune
- dev-ml/zarith
- dev-ml/camomile
- dev-ml/ocaml-ctypes
- dev-ada/e3-testsuite
- <dev-lang/ocaml-4.14
- )"
-
-pkg_setup() {
- python-single-r1_pkg_setup
- ada_pkg_setup
- libType=''
- if use static-libs; then
- libType+=',static'
- fi
- if use static-pic; then
- libType+=',static-pic'
- fi
- libType+=',relocatable'
- libType=${libType:1}
-}
-
-src_prepare() {
- default
- rm -r testsuite/tests/misc/copyright || die
-}
-
-src_configure() {
- ${EPYTHON} manage.py generate -v debug || die
-}
-
-src_compile() {
- ${EPYTHON} manage.py build -v \
- --build-mode "prod" \
- -j$(makeopts_jobs) \
- --gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} -largs ${LDFLAGS}" \
- --library-types=${libType} || die
- GPR_PROJECT_PATH="${S}"/build \
- gprbuild -P contrib/highlight/highlight.gpr \
- -j$(makeopts_jobs) -v \
- -XBUILD_MODE=prod \
- -XLIBRARY_TYPE=relocatable \
- -XXMLADA_BUILD=relocatable \
- -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
- -largs ${LDFLAGS} \
- || die
-}
-
-src_test() {
- ${EPYTHON} manage.py test \
- --build-mode "prod" \
- --restricted-env -j 1 \
- |& tee libadalang.testOut
- grep -qw FAIL libadalang.testOut && die
-}
-
-src_install() {
- ${EPYTHON} manage.py \
- install "${D}"/usr \
- --build-mode "prod" \
- --library-types=${libType} || die
- rm -r "${D}"/usr/python || die
- python_domodule build/python/libadalang
- rm -r "${D}"/usr/ocaml || die
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2023-03-19 19:45 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2023-03-19 19:45 UTC (permalink / raw
To: gentoo-commits
commit: 48bb7cc70c5b82e204f688b5dfd56eb93b4d3342
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 19:42:00 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 19:44:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48bb7cc7
dev-ada/libadalang: remove obs DEPS
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{libadalang-23.0.0-r1.ebuild => libadalang-23.0.0-r2.ebuild} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-23.0.0-r1.ebuild b/dev-ada/libadalang/libadalang-23.0.0-r2.ebuild
similarity index 96%
rename from dev-ada/libadalang/libadalang-23.0.0-r1.ebuild
rename to dev-ada/libadalang/libadalang-23.0.0-r2.ebuild
index 6df305d7916c..b01004d4fb5f 100644
--- a/dev-ada/libadalang/libadalang-23.0.0-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-23.0.0-r2.ebuild
@@ -22,8 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml
- <dev-ada/gnatcoll-bindings-2021
- >=dev-ada/gnatcoll-bindings-23.0.0[${ADA_USEDEP},gmp,iconv]
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv]
dev-ada/gnatcoll-bindings[shared,static-libs?,static-pic?]
${ADA_DEPS}
${PYTHON_DEPS}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2023-01-10 14:31 Michał Górny
0 siblings, 0 replies; 51+ messages in thread
From: Michał Górny @ 2023-01-10 14:31 UTC (permalink / raw
To: gentoo-commits
commit: 3ffd422ca335dadbf11d4ddd60aa962a356a2558
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 10 14:28:09 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 10 14:29:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ffd422c
dev-ada/libadalang: Remove Python < 3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 4 ++--
dev-ada/libadalang/libadalang-23.0.0.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index cdbc8d0852a0..08e8d1ec59bb 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.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 )
inherit ada python-single-r1 multiprocessing
diff --git a/dev-ada/libadalang/libadalang-23.0.0.ebuild b/dev-ada/libadalang/libadalang-23.0.0.ebuild
index 679d49bbfa20..7ebaec865511 100644
--- a/dev-ada/libadalang/libadalang-23.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-23.0.0.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 )
inherit ada python-single-r1 multiprocessing
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-12-13 18:32 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-12-13 18:32 UTC (permalink / raw
To: gentoo-commits
commit: 4117407ec34e1592254029f8f5e78787a649f2bc
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 13 18:30:55 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Dec 13 18:31:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4117407e
dev-ada/libadalang: fix deps
Closes: https://bugs.gentoo.org/885667
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index cfbc97eb638a..cdbc8d0852a0 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -25,7 +25,7 @@ RDEPEND="dev-python/pyyaml
dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared,static-libs?,static-pic?]
${ADA_DEPS}
${PYTHON_DEPS}
- dev-ada/langkit[${ADA_USEDEP},shared,static-libs?,static-pic?]
+ ~dev-ada/langkit-${PV}[${ADA_USEDEP},shared,static-libs?,static-pic?]
$(python_gen_cond_dep '
dev-ada/langkit[${PYTHON_USEDEP}]
')"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-12-12 18:19 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-12-12 18:19 UTC (permalink / raw
To: gentoo-commits
commit: deb7f3cf590b10453bcbe5c46824187216f6efd5
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 12 18:18:32 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Dec 12 18:19:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb7f3cf
dev-ada/libadalang: require newer gnatcoll-bindings
Closes: https://bugs.gentoo.org/885519
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-23.0.0.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-23.0.0.ebuild b/dev-ada/libadalang/libadalang-23.0.0.ebuild
index 6e89a8154873..553b5ecb1985 100644
--- a/dev-ada/libadalang/libadalang-23.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-23.0.0.ebuild
@@ -22,7 +22,8 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared,static-libs?,static-pic?]
+ >=dev-ada/gnatcoll-bindings-23.0.0[${ADA_USEDEP},gmp,iconv]
+ dev-ada/gnatcoll-bindings[shared,static-libs?,static-pic?]
${ADA_DEPS}
${PYTHON_DEPS}
dev-ada/langkit[${ADA_USEDEP},shared,static-libs?,static-pic?]
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-12-11 21:10 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-12-11 21:10 UTC (permalink / raw
To: gentoo-commits
commit: 32009e493e0a8328458d0730a4468cee34d04ac8
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 21:07:32 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 21:08:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32009e49
dev-ada/libadalang: add 23.0.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/Manifest | 1 +
dev-ada/libadalang/libadalang-23.0.0.ebuild | 104 ++++++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/dev-ada/libadalang/Manifest b/dev-ada/libadalang/Manifest
index 694152577400..074a7836d48b 100644
--- a/dev-ada/libadalang/Manifest
+++ b/dev-ada/libadalang/Manifest
@@ -1 +1,2 @@
DIST libadalang-22.0.0.tar.gz 2364531 BLAKE2B 3992baa7180dce696b2c8aa0d451117a12b90072e83274d96a8d971b627c82bc66c5c21fa1eb6dbdd7ce95e0264852c5702b3d7c90f7bdf093915178e0a4a659 SHA512 b874feb102fe221595ad4b9b95b3ea4c6593686f96097ace17ad3c57534dc801000819de0cf898489e3407fd201eb003dd75f4f743a53dfb76cadfa6c727d789
+DIST libadalang-23.0.0.tar.gz 2604724 BLAKE2B 0e415c92fdd150e19288cee87a011c448962531b629b7f77be3b22a7e6662017a6cfd5132a5895c68ffee4b28b7ac35e4b5abc07f015a84638ecb1843976e3e5 SHA512 ed80d751d3a2e07b0d612bda24c0f1d753d15237cde3d9e3bbb6c79c8c98d6af050151c499d161e619282ed8cb742968bbfb5423008aa593a6673fcf0375c7d3
diff --git a/dev-ada/libadalang/libadalang-23.0.0.ebuild b/dev-ada/libadalang/libadalang-23.0.0.ebuild
new file mode 100644
index 000000000000..6e89a8154873
--- /dev/null
+++ b/dev-ada/libadalang/libadalang-23.0.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9,10} )
+ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
+
+inherit ada python-single-r1 multiprocessing
+
+DESCRIPTION="high performance semantic engine for the Ada programming language"
+HOMEPAGE="https://libre.adacore.com/"
+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="test +static-libs static-pic"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ${ADA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/pyyaml
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared,static-libs?,static-pic?]
+ ${ADA_DEPS}
+ ${PYTHON_DEPS}
+ dev-ada/langkit[${ADA_USEDEP},shared,static-libs?,static-pic?]
+ $(python_gen_cond_dep '
+ dev-ada/langkit[${PYTHON_USEDEP}]
+ ')"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[${ADA_USEDEP}]
+"
+BDEPEND="test? (
+ dev-ml/dune
+ dev-ml/zarith
+ dev-ml/camomile
+ dev-ml/ocaml-ctypes
+ dev-ada/e3-testsuite
+ <dev-lang/ocaml-4.14
+ )"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ada_pkg_setup
+ libType=''
+ if use static-libs; then
+ libType+=',static'
+ fi
+ if use static-pic; then
+ libType+=',static-pic'
+ fi
+ libType+=',relocatable'
+ libType=${libType:1}
+}
+
+src_prepare() {
+ default
+ rm -r testsuite/tests/misc/copyright || die
+ rm -r testsuite/tests/name_resolution/field_hiding_2 || die
+ rm -r testsuite/tests/ocaml_api/auto_provider || die
+ rm -r testsuite/tests/ocaml_api/project_unit_provider || die
+}
+
+src_configure() {
+ ${EPYTHON} manage.py generate -v debug || die
+}
+
+src_compile() {
+ ${EPYTHON} manage.py build -v \
+ --build-mode "prod" \
+ -j$(makeopts_jobs) \
+ --gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} -largs ${LDFLAGS}" \
+ --library-types=${libType} || die
+ GPR_PROJECT_PATH="${S}"/build \
+ gprbuild -P contrib/highlight/highlight.gpr \
+ -j$(makeopts_jobs) -v \
+ -XBUILD_MODE=prod \
+ -XLIBRARY_TYPE=relocatable \
+ -XXMLADA_BUILD=relocatable \
+ -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+ -largs ${LDFLAGS} \
+ || die
+}
+
+src_test() {
+ BUILD_MODE=prod \
+ ${EPYTHON} manage.py test \
+ --build-mode "prod" \
+ --restricted-env -j 1 \
+ |& tee libadalang.testOut
+ grep -qw FAIL libadalang.testOut && die
+}
+
+src_install() {
+ ${EPYTHON} manage.py \
+ install "${D}"/usr \
+ --build-mode "prod" \
+ --library-types=${libType} || die
+ rm -r "${D}"/usr/python || die
+ python_domodule build/python/libadalang
+ rm -r "${D}"/usr/ocaml || die
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-12-05 13:23 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-12-05 13:23 UTC (permalink / raw
To: gentoo-commits
commit: 3d7533431148cea182dd57763e31d209d8a70f48
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 5 13:19:26 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Dec 5 13:23:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d753343
dev-ada/libadalang: add github upstream metadata
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/metadata.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-ada/libadalang/metadata.xml b/dev-ada/libadalang/metadata.xml
index e349fb2a4d63..4923219d7667 100644
--- a/dev-ada/libadalang/metadata.xml
+++ b/dev-ada/libadalang/metadata.xml
@@ -13,4 +13,7 @@
Ada tooling, including tools working on potentially changing and
incorrect code, such as IDEs.
</longdescription>
+ <upstream>
+ <remote-id type="github">AdaCore/libadalang</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-11-21 17:57 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-11-21 17:57 UTC (permalink / raw
To: gentoo-commits
commit: 741d192911604d0460224d149620af4b3a871224
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 17:57:01 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 17:57:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=741d1929
dev-ada/libadalang: drop gnat_2020 support
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index a1987a48dfed..cfbc97eb638a 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.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 )
inherit ada python-single-r1 multiprocessing
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-10-08 21:50 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-10-08 21:50 UTC (permalink / raw
To: gentoo-commits
commit: 7aca1d862a618357d39cde57075845c5d891b0d0
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 8 21:49:53 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Oct 8 21:50:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aca1d86
dev-ada/libadalang: fix build
Closes: https://bugs.gentoo.org/832668
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index f3aacee30406..a1987a48dfed 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -68,7 +68,7 @@ src_compile() {
${EPYTHON} manage.py build -v \
--build-mode "prod" \
-j$(makeopts_jobs) \
- --gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} -largs:C ${LDFLAGS}" \
+ --gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} -largs ${LDFLAGS}" \
--library-types=${libType} || die
GPR_PROJECT_PATH="${S}"/build \
gprbuild -P contrib/highlight/highlight.gpr \
@@ -77,7 +77,7 @@ src_compile() {
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable \
-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
- -largs:C ${LDFLAGS} \
+ -largs ${LDFLAGS} \
|| die
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-10-02 17:52 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-10-02 17:52 UTC (permalink / raw
To: gentoo-commits
commit: 32a73f9cda9054b16e7eb9d76885596361935839
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 2 17:51:42 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Oct 2 17:51:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a73f9c
dev-ada/libadalang: avoid dev-lang/ocaml-4.14 - test are failing
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index 1e0e48db6236..f3aacee30406 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -38,6 +38,7 @@ BDEPEND="test? (
dev-ml/camomile
dev-ml/ocaml-ctypes
dev-ada/e3-testsuite
+ <dev-lang/ocaml-4.14
)"
pkg_setup() {
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-09-30 20:38 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-09-30 20:38 UTC (permalink / raw
To: gentoo-commits
commit: cc14f8393ee0f497ee35d6a7911243987d2279f9
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 20:37:08 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 20:38:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc14f839
dev-ada/libadalang: disable py3.7 and add gcc_12_2_0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index 0dc44b7cc031..1e0e48db6236 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -3,8 +3,8 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-ADA_COMPAT=( gnat_202{0,1} )
+PYTHON_COMPAT=( python3_{8,9,10} )
+ADA_COMPAT=( gnat_202{0,1} gcc_12_2_0 )
inherit ada python-single-r1 multiprocessing
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2022-02-03 20:03 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2022-02-03 20:03 UTC (permalink / raw
To: gentoo-commits
commit: a0bca55b5e56e63b161e855defdaa0b33da72db6
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 3 20:02:44 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Feb 3 20:03:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0bca55b
dev-ada/libadalang: ~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/libadalang/libadalang-22.0.0.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index fb13c72f8afe..0dc44b7cc031 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.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_{7,8,9} )
+PYTHON_COMPAT=( python3_{7,8,9,10} )
ADA_COMPAT=( gnat_202{0,1} )
inherit ada python-single-r1 multiprocessing
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0/${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE="test +static-libs static-pic"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
${ADA_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-24 22:12 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-24 22:12 UTC (permalink / raw
To: gentoo-commits
commit: 8ba0d090dedc66de57363af399b287494aa9253d
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 24 22:12:36 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Dec 24 22:12:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba0d090
dev-ada/libadalang: use LDFLAGS
Closes: https://bugs.gentoo.org/829869
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index 5cdedddef0be..fb13c72f8afe 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -67,7 +67,7 @@ src_compile() {
${EPYTHON} manage.py build -v \
--build-mode "prod" \
-j$(makeopts_jobs) \
- --gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}" \
+ --gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} -largs:C ${LDFLAGS}" \
--library-types=${libType} || die
GPR_PROJECT_PATH="${S}"/build \
gprbuild -P contrib/highlight/highlight.gpr \
@@ -76,6 +76,7 @@ src_compile() {
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable \
-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+ -largs:C ${LDFLAGS} \
|| die
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-24 21:46 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-24 21:46 UTC (permalink / raw
To: gentoo-commits
commit: 85ec0821667f4c9b44fab0b3b60dd8c481f3a159
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 24 21:46:01 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Dec 24 21:46:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ec0821
dev-ada/libadalang: build examples
Closes: https://bugs.gentoo.org/829871
Closes: https://bugs.gentoo.org/829870
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 32 ++++++++++++++++++++---------
dev-ada/libadalang/metadata.xml | 1 -
2 files changed, 22 insertions(+), 11 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index 9e708b92291c..5cdedddef0be 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -16,17 +16,16 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0/${PV}"
KEYWORDS="~amd64"
-IUSE="test shared +static-libs static-pic"
-REQUIRED_USE="|| ( shared static-libs static-pic )
- ${PYTHON_REQUIRED_USE}
+IUSE="test +static-libs static-pic"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
${ADA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?]
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared,static-libs?,static-pic?]
${ADA_DEPS}
${PYTHON_DEPS}
- dev-ada/langkit[${ADA_USEDEP},shared?,static-libs?,static-pic?]
+ dev-ada/langkit[${ADA_USEDEP},shared,static-libs?,static-pic?]
$(python_gen_cond_dep '
dev-ada/langkit[${PYTHON_USEDEP}]
')"
@@ -51,12 +50,15 @@ pkg_setup() {
if use static-pic; then
libType+=',static-pic'
fi
- if use shared; then
- libType+=',relocatable'
- fi
+ libType+=',relocatable'
libType=${libType:1}
}
+src_prepare() {
+ default
+ rm -r testsuite/tests/misc/copyright || die
+}
+
src_configure() {
${EPYTHON} manage.py generate -v debug || die
}
@@ -67,11 +69,21 @@ src_compile() {
-j$(makeopts_jobs) \
--gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}" \
--library-types=${libType} || die
+ GPR_PROJECT_PATH="${S}"/build \
+ gprbuild -P contrib/highlight/highlight.gpr \
+ -j$(makeopts_jobs) -v \
+ -XBUILD_MODE=prod \
+ -XLIBRARY_TYPE=relocatable \
+ -XXMLADA_BUILD=relocatable \
+ -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+ || die
}
src_test() {
- ${EPYTHON} manage.py test --restricted-env -j 1
- ${EPYTHON} manage.py test --restricted-env -j 1 |& tee libadalang.testOut
+ ${EPYTHON} manage.py test \
+ --build-mode "prod" \
+ --restricted-env -j 1 \
+ |& tee libadalang.testOut
grep -qw FAIL libadalang.testOut && die
}
diff --git a/dev-ada/libadalang/metadata.xml b/dev-ada/libadalang/metadata.xml
index 217288dff7b1..7752dcfa6bda 100644
--- a/dev-ada/libadalang/metadata.xml
+++ b/dev-ada/libadalang/metadata.xml
@@ -5,7 +5,6 @@
<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">
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-23 21:03 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-23 21:03 UTC (permalink / raw
To: gentoo-commits
commit: b6a49cf2686103ea29a22976ee15573e0e88d71c
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 21:03:31 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 21:03:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a49cf2
dev-ada/libadalang: respect MAKEOPTS
Closes: https://bugs.gentoo.org/829758
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index a449ba67a5f7..9e708b92291c 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
ADA_COMPAT=( gnat_202{0,1} )
-inherit ada python-single-r1
+inherit ada python-single-r1 multiprocessing
DESCRIPTION="high performance semantic engine for the Ada programming language"
HOMEPAGE="https://libre.adacore.com/"
@@ -64,6 +64,7 @@ src_configure() {
src_compile() {
${EPYTHON} manage.py build -v \
--build-mode "prod" \
+ -j$(makeopts_jobs) \
--gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}" \
--library-types=${libType} || die
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-23 13:10 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-23 13:10 UTC (permalink / raw
To: gentoo-commits
commit: bb83903370ffc8bfdd18362fea489db4b1d406d2
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 13:10:08 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 13:10:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb839033
dev-ada/libadalang: more verbose during test
Closes: https://bugs.gentoo.org/829864
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index fb0dc2d5de88..a449ba67a5f7 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -69,7 +69,7 @@ src_compile() {
}
src_test() {
- ${EPYTHON} manage.py test --restricted-env -j 1 |& > /dev/null
+ ${EPYTHON} manage.py test --restricted-env -j 1
${EPYTHON} manage.py test --restricted-env -j 1 |& tee libadalang.testOut
grep -qw FAIL libadalang.testOut && die
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-23 9:40 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-23 9:40 UTC (permalink / raw
To: gentoo-commits
commit: 2b0a6176dcfe162759b8ed41cf20ed58d72ae394
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 09:40:31 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 09:40:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b0a6176
dev-ada/libadalang: fix install
Closes: https://bugs.gentoo.org/829848
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index b4210f4ddee7..fb0dc2d5de88 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -77,6 +77,7 @@ src_test() {
src_install() {
${EPYTHON} manage.py \
install "${D}"/usr \
+ --build-mode "prod" \
--library-types=${libType} || die
rm -r "${D}"/usr/python || die
python_domodule build/python/libadalang
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-23 8:14 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-23 8:14 UTC (permalink / raw
To: gentoo-commits
commit: 8599e97913ef2f4dbe42d54f0b0af45a7e965c3e
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 08:13:54 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 08:14:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8599e979
dev-ada/libadalang: fix test dependency
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index f04b8d93fa0a..b4210f4ddee7 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -38,6 +38,7 @@ BDEPEND="test? (
dev-ml/zarith
dev-ml/camomile
dev-ml/ocaml-ctypes
+ dev-ada/e3-testsuite
)"
pkg_setup() {
@@ -68,7 +69,6 @@ src_compile() {
}
src_test() {
- #eval $(${EPYTHON} ./manage.py setenv)
${EPYTHON} manage.py test --restricted-env -j 1 |& > /dev/null
${EPYTHON} manage.py test --restricted-env -j 1 |& tee libadalang.testOut
grep -qw FAIL libadalang.testOut && die
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-22 20:56 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-22 20:56 UTC (permalink / raw
To: gentoo-commits
commit: 65b067b8fd7854b6ae7523b3d0d53ebf534df0aa
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 22 20:56:18 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Dec 22 20:56:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65b067b8
dev-ada/libadalang: fix building with gnat-gpl-2020
Closes: https://bugs.gentoo.org/829757
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index 0af159f8bff5..f04b8d93fa0a 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -26,8 +26,9 @@ RDEPEND="dev-python/pyyaml
dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?]
${ADA_DEPS}
${PYTHON_DEPS}
+ dev-ada/langkit[${ADA_USEDEP},shared?,static-libs?,static-pic?]
$(python_gen_cond_dep '
- dev-ada/langkit[${PYTHON_USEDEP},shared?,static-libs?,static-pic?]
+ dev-ada/langkit[${PYTHON_USEDEP}]
')"
DEPEND="${RDEPEND}
dev-ada/gprbuild[${ADA_USEDEP}]
@@ -61,6 +62,7 @@ src_configure() {
src_compile() {
${EPYTHON} manage.py build -v \
+ --build-mode "prod" \
--gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}" \
--library-types=${libType} || die
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-21 7:15 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-21 7:15 UTC (permalink / raw
To: gentoo-commits
commit: 6f1eff480b6dca193e3e3e333d3afc7c4d8ae035
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 21 07:14:49 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Dec 21 07:14:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1eff48
dev-ada/libadalang: fix DEP
Closes: https://bugs.gentoo.org/829654
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index d20482a4ff18..0af159f8bff5 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -25,12 +25,12 @@ RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml
dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?]
${ADA_DEPS}
- ${PYTHON_DEPS}"
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-ada/langkit[${PYTHON_USEDEP},shared?,static-libs?,static-pic?]
+ ')"
DEPEND="${RDEPEND}
dev-ada/gprbuild[${ADA_USEDEP}]
- $(python_gen_cond_dep '
- dev-ada/langkit[${PYTHON_USEDEP}]
- ')
"
BDEPEND="test? (
dev-ml/dune
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-19 10:13 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-19 10:13 UTC (permalink / raw
To: gentoo-commits
commit: cee083380013a5008a006e104ed9540d45d1b274
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 19 10:13:01 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 19 10:13:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee08338
dev-ada/libadalang: use subslot
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-22.0.0.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index ea1c91a57864..d20482a4ff18 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -14,10 +14,11 @@ 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"
+SLOT="0/${PV}"
KEYWORDS="~amd64"
-IUSE="test shared static-libs static-pic"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
+IUSE="test shared +static-libs static-pic"
+REQUIRED_USE="|| ( shared static-libs static-pic )
+ ${PYTHON_REQUIRED_USE}
${ADA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2021-12-15 22:00 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2021-12-15 22:00 UTC (permalink / raw
To: gentoo-commits
commit: 4f51c320df1f60967235ce6b2e231b1ca163795a
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 15 22:00:12 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Dec 15 22:00:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f51c320
dev-ada/libadalang: semantic engine for the Ada
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/Manifest | 1 +
dev-ada/libadalang/libadalang-22.0.0.ebuild | 81 +++++++++++++++++++++++++++++
dev-ada/libadalang/metadata.xml | 17 ++++++
3 files changed, 99 insertions(+)
diff --git a/dev-ada/libadalang/Manifest b/dev-ada/libadalang/Manifest
new file mode 100644
index 000000000000..694152577400
--- /dev/null
+++ b/dev-ada/libadalang/Manifest
@@ -0,0 +1 @@
+DIST libadalang-22.0.0.tar.gz 2364531 BLAKE2B 3992baa7180dce696b2c8aa0d451117a12b90072e83274d96a8d971b627c82bc66c5c21fa1eb6dbdd7ce95e0264852c5702b3d7c90f7bdf093915178e0a4a659 SHA512 b874feb102fe221595ad4b9b95b3ea4c6593686f96097ace17ad3c57534dc801000819de0cf898489e3407fd201eb003dd75f4f743a53dfb76cadfa6c727d789
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
new file mode 100644
index 000000000000..ea1c91a57864
--- /dev/null
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+ADA_COMPAT=( gnat_202{0,1} )
+
+inherit ada python-single-r1
+
+DESCRIPTION="high performance semantic engine for the Ada programming language"
+HOMEPAGE="https://libre.adacore.com/"
+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"
+KEYWORDS="~amd64"
+IUSE="test shared static-libs static-pic"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ${ADA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/pyyaml
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?]
+ ${ADA_DEPS}
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[${ADA_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-ada/langkit[${PYTHON_USEDEP}]
+ ')
+"
+BDEPEND="test? (
+ dev-ml/dune
+ dev-ml/zarith
+ dev-ml/camomile
+ dev-ml/ocaml-ctypes
+ )"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ada_pkg_setup
+ libType=''
+ if use static-libs; then
+ libType+=',static'
+ fi
+ if use static-pic; then
+ libType+=',static-pic'
+ fi
+ if use shared; then
+ libType+=',relocatable'
+ fi
+ libType=${libType:1}
+}
+
+src_configure() {
+ ${EPYTHON} manage.py generate -v debug || die
+}
+
+src_compile() {
+ ${EPYTHON} manage.py build -v \
+ --gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}" \
+ --library-types=${libType} || die
+}
+
+src_test() {
+ #eval $(${EPYTHON} ./manage.py setenv)
+ ${EPYTHON} manage.py test --restricted-env -j 1 |& > /dev/null
+ ${EPYTHON} manage.py test --restricted-env -j 1 |& tee libadalang.testOut
+ grep -qw FAIL libadalang.testOut && die
+}
+
+src_install() {
+ ${EPYTHON} manage.py \
+ install "${D}"/usr \
+ --library-types=${libType} || die
+ rm -r "${D}"/usr/python || die
+ python_domodule build/python/libadalang
+ rm -r "${D}"/usr/ocaml || die
+}
diff --git a/dev-ada/libadalang/metadata.xml b/dev-ada/libadalang/metadata.xml
new file mode 100644
index 000000000000..217288dff7b1
--- /dev/null
+++ b/dev-ada/libadalang/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <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">
+ Libadalang is a project to build a high performance semantic engine for
+ the Ada programming language. It is meant to provide a basis to write
+ Ada tooling, including tools working on potentially changing and
+ incorrect code, such as IDEs.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2020-02-09 21:38 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2020-02-09 21:38 UTC (permalink / raw
To: gentoo-commits
commit: 76fddc52844f1553ce86c9e1dbabcc0b6c183525
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 9 21:37:59 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 21:37:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fddc52
dev-ada/libadalang: fix dependency
Closes: https://bugs.gentoo.org/708472
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-2019-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2019-r1.ebuild b/dev-ada/libadalang/libadalang-2019-r1.ebuild
index a19f499cfc2..02d37bc0123 100644
--- a/dev-ada/libadalang/libadalang-2019-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2019-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,7 +20,7 @@ KEYWORDS="amd64 x86"
IUSE="+shared static-libs"
RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll-bindings[${ADA_USEDEP},iconv,shared=,static-libs=]
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared=,static-libs=]
${ADA_DEPS}
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-11-03 20:26 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-11-03 20:26 UTC (permalink / raw
To: gentoo-commits
commit: 612a4df0e8cddf0f58a3a2a420a99125cc59c1b3
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 3 20:26:34 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Nov 3 20:26:34 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=612a4df0
dev-ada/libadalang: remove old versions
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/Manifest | 1 -
dev-ada/libadalang/libadalang-2017-r1.ebuild | 51 ------------------------
dev-ada/libadalang/libadalang-2017-r2.ebuild | 59 ----------------------------
dev-ada/libadalang/libadalang-2018.ebuild | 59 ----------------------------
4 files changed, 170 deletions(-)
diff --git a/dev-ada/libadalang/Manifest b/dev-ada/libadalang/Manifest
index ad2092a0e14..963641874fc 100644
--- a/dev-ada/libadalang/Manifest
+++ b/dev-ada/libadalang/Manifest
@@ -1,3 +1,2 @@
-DIST libadalang-2017-src.tar.gz 1862217 BLAKE2B 58f72726285e56a15278e85902fabf988327ea86a08cc6c86271d61075a6b19a0bffa86e5302f5c32e6d35ef95473ad747853b14899a12d09d49d656f4e6559e SHA512 c8663a7214c3c1dd73a6589a6db10d219fcd2db39ba2ce184eea85272c5f206ab0aa8d13b0e19b08a5996906c7fbddd479795363ec22e889dfceda9967c346c7
DIST libadalang-2019-20190510-19916-src.tar.gz 2345942 BLAKE2B 807fd6ea0183b5535e96b258998a0540aa77dec0669db81bae10b56894e12bbb381b356bd55d6684156101d2ea0e5439c2551a4213a81e79e4697a7ff6ba5df2 SHA512 9ebf8d0c01d12f5a8081fced9504b78a45cbde6ecc0e6abeed99aff03abd0b241c1ecba85b256911e474cb77e10e5e387f64d51a2d9b18596baf40313f44f089
DIST libadalang-gpl-2018-src.tar.gz 1990774 BLAKE2B ffad46d4988de7fb8c9bf94d24360a726c59e3c70a2318725a59e0b6b62351e8f5d8dd6501964618607122e3c7cb3bda0e1181818c68324d4067d59ac93e2b1c SHA512 b95196323097065be2996ced767f8f89fb77445f99c249d84043c68d926d61c78b310b4fef0699d08f9112dc423596c076f452745469a75a8467c35b5e10ac2c
diff --git a/dev-ada/libadalang/libadalang-2017-r1.ebuild b/dev-ada/libadalang/libadalang-2017-r1.ebuild
deleted file mode 100644
index ef338c30499..00000000000
--- a/dev-ada/libadalang/libadalang-2017-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="high performance semantic engine for the Ada programming language"
-HOMEPAGE="https://libre.adacore.com/"
-SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
- -> ${P}-src.tar.gz"
-
-LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gnat_2016 +gnat_2017"
-
-RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=]
- ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
- ~dev-ada/langkit-2017"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-S="${WORKDIR}"/${PN}-gps-src
-
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
-
-src_prepare() {
- default
- rm -r ada/testsuite/tests/acats_parse || die
-}
-
-src_configure() {
- ada/manage.py generate || die
-}
-
-src_compile() {
- ada/manage.py --verbosity=debug build || die
-}
-
-src_test () {
- ada/manage.py test | grep FAILED && die
-}
-
-src_install () {
- ada/manage.py install "${D}"usr
- python_domodule build/python/libadalang.py
-}
diff --git a/dev-ada/libadalang/libadalang-2017-r2.ebuild b/dev-ada/libadalang/libadalang-2017-r2.ebuild
deleted file mode 100644
index 7896a4c5e03..00000000000
--- a/dev-ada/libadalang/libadalang-2017-r2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-ADA_COMPAT=( gnat_201{6,7} )
-
-inherit ada python-single-r1
-
-DESCRIPTION="high performance semantic engine for the Ada programming language"
-HOMEPAGE="https://libre.adacore.com/"
-SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
- -> ${P}-src.tar.gz"
-
-LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="${ADA_DEPS}
- dev-python/pyyaml
- dev-ada/gnatcoll[${ADA_USEDEP},projects,shared]
- ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
- ~dev-ada/langkit-2017"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- ${ADA_REQUIRED_USE}"
-
-S="${WORKDIR}"/${PN}-gps-src
-
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
-
-pkg_setup() {
- python-single-r1_pkg_setup
- ada_pkg_setup
-}
-
-src_prepare() {
- default
- rm -r ada/testsuite/tests/acats_parse || die
-}
-
-src_configure() {
- ada/manage.py generate || die
-}
-
-src_compile() {
- ada/manage.py --verbosity=debug build || die
-}
-
-src_test () {
- ada/manage.py test | grep FAILED && die
-}
-
-src_install () {
- ada/manage.py install "${D}"/usr
- python_domodule build/python/libadalang.py
-}
diff --git a/dev-ada/libadalang/libadalang-2018.ebuild b/dev-ada/libadalang/libadalang-2018.ebuild
deleted file mode 100644
index 2f0bf1aa8ee..00000000000
--- a/dev-ada/libadalang/libadalang-2018.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-MYP=${PN}-gpl-${PV}-src
-DESCRIPTION="high performance semantic engine for the Ada programming language"
-HOMEPAGE="https://libre.adacore.com/"
-SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18
- -> ${MYP}.tar.gz"
-
-LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gnat_2016 gnat_2017 +gnat_2018 +shared static-libs"
-
-RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll-bindings[gnat_2016=,gnat_2017=,gnat_2018=]
- dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
- ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
- ~dev-ada/langkit-2018"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-S="${WORKDIR}"/${MYP}
-
-PATCHES=(
- "${FILESDIR}"/${P}-gentoo.patch
- "${FILESDIR}"/${PN}-2017-gentoo.patch
-)
-
-src_configure() {
- ada/manage.py -v debug generate || die
-}
-
-src_compile() {
- ada/manage.py \
- -v \
- $(use_enable shared) \
- $(use_enable static-libs static) \
- build || die
-}
-
-src_test () {
- ada/manage.py test | grep FAILED && die
-}
-
-src_install () {
- ada/manage.py \
- $(use_enable shared) \
- $(use_enable static-libs static) \
- install "${D}"usr || die
- python_domodule build/python/libadalang.py
- rm -r "${D}"usr/python || die
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-10-21 7:03 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-10-21 7:03 UTC (permalink / raw
To: gentoo-commits
commit: 99e8234895a011a36f7e88d5bbc395ed10f82c07
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 07:03:46 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 07:03:46 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e82348
dev-ada/libadalang: maintainer -> ada
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/metadata.xml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dev-ada/libadalang/metadata.xml b/dev-ada/libadalang/metadata.xml
index a2b4d6b3c81..7cfa6c9dcea 100644
--- a/dev-ada/libadalang/metadata.xml
+++ b/dev-ada/libadalang/metadata.xml
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
+ <maintainer type="project">
+ <email>ada@gentoo.org</email>
</maintainer>
<use>
<flag name="shared">Build shared library</flag>
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-10-21 6:41 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-10-21 6:41 UTC (permalink / raw
To: gentoo-commits
commit: 298ec5fad36952296affdceab931bf04e7a9c899
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 06:41:15 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 06:41:15 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=298ec5fa
dev-ada/libadalang: Stable version
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-2017-r2.ebuild | 2 +-
dev-ada/libadalang/libadalang-2018-r1.ebuild | 2 +-
dev-ada/libadalang/libadalang-2018-r2.ebuild | 2 +-
dev-ada/libadalang/libadalang-2019-r1.ebuild | 2 +-
dev-ada/libadalang/libadalang-2019.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2017-r2.ebuild b/dev-ada/libadalang/libadalang-2017-r2.ebuild
index b210eddac8f..7896a4c5e03 100644
--- a/dev-ada/libadalang/libadalang-2017-r2.ebuild
+++ b/dev-ada/libadalang/libadalang-2017-r2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="${ADA_DEPS}
diff --git a/dev-ada/libadalang/libadalang-2018-r1.ebuild b/dev-ada/libadalang/libadalang-2018-r1.ebuild
index 1fff1c6e5bf..21136132a52 100644
--- a/dev-ada/libadalang/libadalang-2018-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2018-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="gnat_2017 +gnat_2018 gnat_2019 +shared static-libs"
RDEPEND="dev-python/pyyaml
diff --git a/dev-ada/libadalang/libadalang-2018-r2.ebuild b/dev-ada/libadalang/libadalang-2018-r2.ebuild
index 15d30be1cca..6c587d89b91 100644
--- a/dev-ada/libadalang/libadalang-2018-r2.ebuild
+++ b/dev-ada/libadalang/libadalang-2018-r2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="+shared static-libs"
RDEPEND="dev-python/pyyaml
diff --git a/dev-ada/libadalang/libadalang-2019-r1.ebuild b/dev-ada/libadalang/libadalang-2019-r1.ebuild
index 45c76b0563d..a19f499cfc2 100644
--- a/dev-ada/libadalang/libadalang-2019-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2019-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8f3331e87a8f1c967d27
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="+shared static-libs"
RDEPEND="dev-python/pyyaml
diff --git a/dev-ada/libadalang/libadalang-2019.ebuild b/dev-ada/libadalang/libadalang-2019.ebuild
index b9b7080104d..b82f0de8e74 100644
--- a/dev-ada/libadalang/libadalang-2019.ebuild
+++ b/dev-ada/libadalang/libadalang-2019.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8f3331e87a8f1c967d27
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="gnat_2018 +gnat_2019 +shared static-libs"
RDEPEND="dev-python/pyyaml
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-09-21 11:48 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-09-21 11:48 UTC (permalink / raw
To: gentoo-commits
commit: cce412fbb9ea276136026b38efea24a2e0135413
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 21 11:48:18 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Sep 21 11:48:18 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cce412fb
dev-ada/libadalang: pkg_setup called both for python and Ada
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-2017-r2.ebuild | 5 +++++
dev-ada/libadalang/libadalang-2018-r2.ebuild | 5 +++++
dev-ada/libadalang/libadalang-2019-r1.ebuild | 5 +++++
3 files changed, 15 insertions(+)
diff --git a/dev-ada/libadalang/libadalang-2017-r2.ebuild b/dev-ada/libadalang/libadalang-2017-r2.ebuild
index 79dcaa89a6d..b210eddac8f 100644
--- a/dev-ada/libadalang/libadalang-2017-r2.ebuild
+++ b/dev-ada/libadalang/libadalang-2017-r2.ebuild
@@ -31,6 +31,11 @@ S="${WORKDIR}"/${PN}-gps-src
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ada_pkg_setup
+}
+
src_prepare() {
default
rm -r ada/testsuite/tests/acats_parse || die
diff --git a/dev-ada/libadalang/libadalang-2018-r2.ebuild b/dev-ada/libadalang/libadalang-2018-r2.ebuild
index 86894120316..15d30be1cca 100644
--- a/dev-ada/libadalang/libadalang-2018-r2.ebuild
+++ b/dev-ada/libadalang/libadalang-2018-r2.ebuild
@@ -31,6 +31,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
S="${WORKDIR}"/${MYP}
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ada_pkg_setup
+}
+
PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${PN}-2017-gentoo.patch
diff --git a/dev-ada/libadalang/libadalang-2019-r1.ebuild b/dev-ada/libadalang/libadalang-2019-r1.ebuild
index 23ddcc1668b..45c76b0563d 100644
--- a/dev-ada/libadalang/libadalang-2019-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2019-r1.ebuild
@@ -32,6 +32,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
S="${WORKDIR}"/${MYP}
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ada_pkg_setup
+}
+
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_configure() {
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-09-19 17:21 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-09-19 17:21 UTC (permalink / raw
To: gentoo-commits
commit: 43f7ff5005f46f3b68987cc932639315d0c0e8d3
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 19 17:20:50 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 17:20:50 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43f7ff50
dev-ada/libadalang: fix missing slash
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-2017-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-2017-r2.ebuild b/dev-ada/libadalang/libadalang-2017-r2.ebuild
index 26e9c93f4fe..79dcaa89a6d 100644
--- a/dev-ada/libadalang/libadalang-2017-r2.ebuild
+++ b/dev-ada/libadalang/libadalang-2017-r2.ebuild
@@ -49,6 +49,6 @@ src_test () {
}
src_install () {
- ada/manage.py install "${D}"usr
+ ada/manage.py install "${D}"/usr
python_domodule build/python/libadalang.py
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-09-19 12:45 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-09-19 12:45 UTC (permalink / raw
To: gentoo-commits
commit: c69df102e7e15f4554b63a4305c551251ddb63a4
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 19 12:44:38 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 12:44:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c69df102
dev-ada/libadalang: use ada eclass
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang/libadalang-2017-r2.ebuild | 54 ++++++++++++++++++++++
dev-ada/libadalang/libadalang-2018-r2.ebuild | 63 +++++++++++++++++++++++++
dev-ada/libadalang/libadalang-2019-r1.ebuild | 69 ++++++++++++++++++++++++++++
3 files changed, 186 insertions(+)
diff --git a/dev-ada/libadalang/libadalang-2017-r2.ebuild b/dev-ada/libadalang/libadalang-2017-r2.ebuild
new file mode 100644
index 00000000000..26e9c93f4fe
--- /dev/null
+++ b/dev-ada/libadalang/libadalang-2017-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+ADA_COMPAT=( gnat_201{6,7} )
+
+inherit ada python-single-r1
+
+DESCRIPTION="high performance semantic engine for the Ada programming language"
+HOMEPAGE="https://libre.adacore.com/"
+SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
+ -> ${P}-src.tar.gz"
+
+LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="${ADA_DEPS}
+ dev-python/pyyaml
+ dev-ada/gnatcoll[${ADA_USEDEP},projects,shared]
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ ~dev-ada/langkit-2017"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${PN}-gps-src
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_prepare() {
+ default
+ rm -r ada/testsuite/tests/acats_parse || die
+}
+
+src_configure() {
+ ada/manage.py generate || die
+}
+
+src_compile() {
+ ada/manage.py --verbosity=debug build || die
+}
+
+src_test () {
+ ada/manage.py test | grep FAILED && die
+}
+
+src_install () {
+ ada/manage.py install "${D}"usr
+ python_domodule build/python/libadalang.py
+}
diff --git a/dev-ada/libadalang/libadalang-2018-r2.ebuild b/dev-ada/libadalang/libadalang-2018-r2.ebuild
new file mode 100644
index 00000000000..86894120316
--- /dev/null
+++ b/dev-ada/libadalang/libadalang-2018-r2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+ADA_COMPAT=( gnat_201{7,8,9} )
+
+inherit ada python-single-r1
+
+MYP=${PN}-gpl-${PV}-src
+DESCRIPTION="high performance semantic engine for the Ada programming language"
+HOMEPAGE="https://libre.adacore.com/"
+SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18
+ -> ${MYP}.tar.gz"
+
+LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+shared static-libs"
+
+RDEPEND="dev-python/pyyaml
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},iconv,shared=,static-libs=]
+ ${ADA_DEPS}
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ ~dev-ada/langkit-2018
+ dev-ada/gprbuild[${ADA_USEDEP}]"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MYP}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${PN}-2017-gentoo.patch
+)
+
+src_configure() {
+ ada/manage.py -v debug generate || die
+}
+
+src_compile() {
+ ada/manage.py \
+ -v \
+ $(use_enable shared) \
+ $(use_enable static-libs static) \
+ build \
+ --build-mode='prod' || die
+}
+
+src_test () {
+ ada/manage.py test | grep FAILED && die
+}
+
+src_install () {
+ ada/manage.py \
+ $(use_enable shared) \
+ $(use_enable static-libs static) \
+ install "${D}"/usr || die
+ python_domodule build/python/libadalang.py
+ rm -r "${D}"/usr/python || die
+}
diff --git a/dev-ada/libadalang/libadalang-2019-r1.ebuild b/dev-ada/libadalang/libadalang-2019-r1.ebuild
new file mode 100644
index 00000000000..23ddcc1668b
--- /dev/null
+++ b/dev-ada/libadalang/libadalang-2019-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+ADA_COMPAT=( gnat_201{8,9} )
+
+inherit ada python-single-r1
+
+MYP=${P}-20190510-19916-src
+DESCRIPTION="high performance semantic engine for the Ada programming language"
+HOMEPAGE="https://libre.adacore.com/"
+SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8f3331e87a8f1c967d27
+ -> ${MYP}.tar.gz"
+
+LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+shared static-libs"
+
+RDEPEND="dev-python/pyyaml
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},iconv,shared=,static-libs=]
+ ${ADA_DEPS}
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[${ADA_USEDEP}]
+ >=dev-ada/langkit-2019"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MYP}
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_configure() {
+ ada/manage.py -v debug generate || die
+}
+
+src_compile() {
+ libtype=relocatable
+ if use shared; then
+ if use static-libs; then
+ libtype=static,relocatable
+ fi
+ elif use static-libs; then
+ libtype=static
+ fi
+ ada/manage.py \
+ -v \
+ --library-types $libtype \
+ build \
+ --build-mode='prod' || die
+}
+
+src_test () {
+ ada/manage.py test | tee libadalang.testOut;
+ grep -q FAILED libadalang.testOut && die
+}
+
+src_install () {
+ ada/manage.py \
+ -v \
+ --library-types $libtype \
+ install "${D}"/usr || die
+ python_domodule build/python/libadalang
+ rm -r "${D}"/usr/python || die
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-06-24 19:47 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-06-24 19:47 UTC (permalink / raw
To: gentoo-commits
commit: a553b18e675384fc47bf76070a74261be15b7531
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 24 19:47:45 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 19:47:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a553b18e
dev-ada/libadalang: fix dependency
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-ada/libadalang/libadalang-2018.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2018.ebuild b/dev-ada/libadalang/libadalang-2018.ebuild
index 6ac7ffb8994..2f0bf1aa8ee 100644
--- a/dev-ada/libadalang/libadalang-2018.ebuild
+++ b/dev-ada/libadalang/libadalang-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
@@ -23,7 +23,7 @@ RDEPEND="dev-python/pyyaml
dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
- >=dev-ada/langkit-2018"
+ ~dev-ada/langkit-2018"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}"/${MYP}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-06-24 19:23 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-06-24 19:23 UTC (permalink / raw
To: gentoo-commits
commit: 97a104986c0ad6247e11e7e918c9767d5feb7c7e
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 24 19:22:56 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 19:22:56 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a10498
dev-ada/libadalang: gcc-4.9.4 is too old for 2018 (prod)
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-ada/libadalang/libadalang-2018-r1.ebuild | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2018-r1.ebuild b/dev-ada/libadalang/libadalang-2018-r1.ebuild
index 635ac1d49b1..1fff1c6e5bf 100644
--- a/dev-ada/libadalang/libadalang-2018-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2018-r1.ebuild
@@ -16,16 +16,17 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="gnat_2016 gnat_2017 +gnat_2018 gnat_2019 +shared static-libs"
+IUSE="gnat_2017 +gnat_2018 gnat_2019 +shared static-libs"
RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll-bindings[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]
+ dev-ada/gnatcoll-bindings[gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]
dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
~dev-ada/langkit-2018
- dev-ada/gprbuild[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+ dev-ada/gprbuild[gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ^^ ( gnat_2017 gnat_2018 gnat_2019 )"
S="${WORKDIR}"/${MYP}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-06-24 16:57 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-06-24 16:57 UTC (permalink / raw
To: gentoo-commits
commit: 922e58479dd4dae63e71e1be134f7f5de279225f
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 24 16:56:48 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 16:56:48 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922e5847
dev-ada/libadalang: fix dependency
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-ada/libadalang/libadalang-2019.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-2019.ebuild b/dev-ada/libadalang/libadalang-2019.ebuild
index 823b7b6d2d1..b9b7080104d 100644
--- a/dev-ada/libadalang/libadalang-2019.ebuild
+++ b/dev-ada/libadalang/libadalang-2019.ebuild
@@ -26,7 +26,8 @@ DEPEND="${RDEPEND}
dev-ada/gprbuild[gnat_2018(-)?,gnat_2019(-)?]
>=dev-ada/langkit-2019"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ^^ ( gnat_2018 gnat_2019 )"
S="${WORKDIR}"/${MYP}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-06-20 7:27 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-06-20 7:27 UTC (permalink / raw
To: gentoo-commits
commit: de51b225b025aadfe050cfb7290829c2a160cde1
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 19 20:55:56 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jun 20 07:16:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de51b225
dev-ada/libadalang: can build static or shared
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-ada/libadalang/libadalang-2019.ebuild | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2019.ebuild b/dev-ada/libadalang/libadalang-2019.ebuild
index 456a0f54f86..823b7b6d2d1 100644
--- a/dev-ada/libadalang/libadalang-2019.ebuild
+++ b/dev-ada/libadalang/libadalang-2019.ebuild
@@ -37,7 +37,19 @@ src_configure() {
}
src_compile() {
- ada/manage.py -v debug build --build-mode='prod' || die
+ libtype=relocatable
+ if use shared; then
+ if use static-libs; then
+ libtype=static,relocatable
+ fi
+ elif use static-libs; then
+ libtype=static
+ fi
+ ada/manage.py \
+ -v \
+ --library-types $libtype \
+ build \
+ --build-mode='prod' || die
}
src_test () {
@@ -46,7 +58,10 @@ src_test () {
}
src_install () {
- ada/manage.py install "${D}"/usr || die
+ ada/manage.py \
+ -v \
+ --library-types $libtype \
+ install "${D}"/usr || die
python_domodule build/python/libadalang
rm -r "${D}"/usr/python || die
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-06-15 16:45 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-06-15 16:45 UTC (permalink / raw
To: gentoo-commits
commit: 29d0b0a76e1be234d7d78cf894fd56dffa5d33b3
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 16:45:06 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 16:45:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d0b0a7
dev-ada/libadalang: dependency fix
Closes: https://bugs.gentoo.org/687296
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-ada/libadalang/libadalang-2018-r1.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2018-r1.ebuild b/dev-ada/libadalang/libadalang-2018-r1.ebuild
index 59f520f6f0c..635ac1d49b1 100644
--- a/dev-ada/libadalang/libadalang-2018-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2018-r1.ebuild
@@ -19,11 +19,12 @@ KEYWORDS="~amd64 ~x86"
IUSE="gnat_2016 gnat_2017 +gnat_2018 gnat_2019 +shared static-libs"
RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll-bindings[gnat_2016=,gnat_2017=,gnat_2018=,gnat_2019=]
+ dev-ada/gnatcoll-bindings[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]
dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
- ~dev-ada/langkit-2018"
+ ~dev-ada/langkit-2018
+ dev-ada/gprbuild[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}"/${MYP}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-06-15 16:40 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-06-15 16:40 UTC (permalink / raw
To: gentoo-commits
commit: 760a6a2dfaee27ac6f36c79ff4836cb262f72f50
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 16:39:53 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 16:39:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760a6a2d
dev-ada/libadalang: fix dependency
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-ada/libadalang/libadalang-2019.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-2019.ebuild b/dev-ada/libadalang/libadalang-2019.ebuild
index d858c8a66cf..456a0f54f86 100644
--- a/dev-ada/libadalang/libadalang-2019.ebuild
+++ b/dev-ada/libadalang/libadalang-2019.ebuild
@@ -23,7 +23,8 @@ RDEPEND="dev-python/pyyaml
dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
- >=dev-ada/langkit-2018"
+ dev-ada/gprbuild[gnat_2018(-)?,gnat_2019(-)?]
+ >=dev-ada/langkit-2019"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-06-12 18:44 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-06-12 18:44 UTC (permalink / raw
To: gentoo-commits
commit: 891efec61964d30ad75d3f622a46509ea779a057
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 18:44:14 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 18:44:14 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891efec6
dev-ada/libadalang: 2019 version does not build with gnat_2017
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-ada/libadalang/libadalang-2018-r1.ebuild | 2 +-
dev-ada/libadalang/libadalang-2019.ebuild | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2018-r1.ebuild b/dev-ada/libadalang/libadalang-2018-r1.ebuild
index 8bb71fe888b..59f520f6f0c 100644
--- a/dev-ada/libadalang/libadalang-2018-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2018-r1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="dev-python/pyyaml
dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
- >=dev-ada/langkit-2018"
+ ~dev-ada/langkit-2018"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}"/${MYP}
diff --git a/dev-ada/libadalang/libadalang-2019.ebuild b/dev-ada/libadalang/libadalang-2019.ebuild
index 2c07102fe7c..d858c8a66cf 100644
--- a/dev-ada/libadalang/libadalang-2019.ebuild
+++ b/dev-ada/libadalang/libadalang-2019.ebuild
@@ -16,10 +16,10 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8f3331e87a8f1c967d27
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="gnat_2016 gnat_2017 gnat_2018 +gnat_2019 +shared static-libs"
+IUSE="gnat_2018 +gnat_2019 +shared static-libs"
RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll-bindings[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]
+ dev-ada/gnatcoll-bindings[gnat_2018(-)?,gnat_2019(-)?]
dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2019-05-30 19:18 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2019-05-30 19:18 UTC (permalink / raw
To: gentoo-commits
commit: d47c08e9aa2d668e2082afe0a79f39c821c9e63e
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu May 30 19:17:46 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu May 30 19:17:46 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d47c08e9
dev-ada/libadalang: enable build with gnat-gpl-2019
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
dev-ada/libadalang/libadalang-2018-r1.ebuild | 60 ++++++++++++++++++++++++++++
dev-ada/libadalang/metadata.xml | 1 +
2 files changed, 61 insertions(+)
diff --git a/dev-ada/libadalang/libadalang-2018-r1.ebuild b/dev-ada/libadalang/libadalang-2018-r1.ebuild
new file mode 100644
index 00000000000..8bb71fe888b
--- /dev/null
+++ b/dev-ada/libadalang/libadalang-2018-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+MYP=${PN}-gpl-${PV}-src
+DESCRIPTION="high performance semantic engine for the Ada programming language"
+HOMEPAGE="https://libre.adacore.com/"
+SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18
+ -> ${MYP}.tar.gz"
+
+LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnat_2016 gnat_2017 +gnat_2018 gnat_2019 +shared static-libs"
+
+RDEPEND="dev-python/pyyaml
+ dev-ada/gnatcoll-bindings[gnat_2016=,gnat_2017=,gnat_2018=,gnat_2019=]
+ dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ >=dev-ada/langkit-2018"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MYP}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${PN}-2017-gentoo.patch
+)
+
+src_configure() {
+ ada/manage.py -v debug generate || die
+}
+
+src_compile() {
+ ada/manage.py \
+ -v \
+ $(use_enable shared) \
+ $(use_enable static-libs static) \
+ build \
+ --build-mode='prod' || die
+}
+
+src_test () {
+ ada/manage.py test | grep FAILED && die
+}
+
+src_install () {
+ ada/manage.py \
+ $(use_enable shared) \
+ $(use_enable static-libs static) \
+ install "${D}"usr || die
+ python_domodule build/python/libadalang.py
+ rm -r "${D}"usr/python || die
+}
diff --git a/dev-ada/libadalang/metadata.xml b/dev-ada/libadalang/metadata.xml
index a2f3f091000..5ed09e4fd91 100644
--- a/dev-ada/libadalang/metadata.xml
+++ b/dev-ada/libadalang/metadata.xml
@@ -9,6 +9,7 @@
<flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag>
<flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag>
<flag name="gnat_2018">Compile with dev-lang/gnat-gpl-2018</flag>
+ <flag name="gnat_2019">Compile with dev-lang/gnat-gpl-2019</flag>
<flag name="shared">Build shared library</flag>
</use>
<longdescription lang="en">
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2018-11-27 8:15 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2018-11-27 8:15 UTC (permalink / raw
To: gentoo-commits
commit: 59b23241c96b7237fabda1bcfca72e02f8aff996
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 27 08:15:12 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Nov 27 08:15:12 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b23241
dev-ada/libadalang: fix dependency
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-ada/libadalang/libadalang-2017-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-2017-r1.ebuild b/dev-ada/libadalang/libadalang-2017-r1.ebuild
index a2c06d0952a..ef338c30499 100644
--- a/dev-ada/libadalang/libadalang-2017-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2017-r1.ebuild
@@ -21,7 +21,7 @@ RDEPEND="dev-python/pyyaml
dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
- dev-ada/langkit"
+ ~dev-ada/langkit-2017"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}"/${PN}-gps-src
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2018-11-26 20:57 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2018-11-26 20:57 UTC (permalink / raw
To: gentoo-commits
commit: fbef382816d99cea392dfc8aa800b218a587a689
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 26 20:56:52 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Nov 26 20:56:52 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbef3828
dev-ada/libadalang: Fix test
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-ada/libadalang/libadalang-2018.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-2018.ebuild b/dev-ada/libadalang/libadalang-2018.ebuild
index 9099db13c30..6ac7ffb8994 100644
--- a/dev-ada/libadalang/libadalang-2018.ebuild
+++ b/dev-ada/libadalang/libadalang-2018.ebuild
@@ -28,7 +28,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}"/${MYP}
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${PN}-2017-gentoo.patch
+)
src_configure() {
ada/manage.py -v debug generate || die
@@ -52,4 +55,5 @@ src_install () {
$(use_enable static-libs static) \
install "${D}"usr || die
python_domodule build/python/libadalang.py
+ rm -r "${D}"usr/python || die
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2018-11-26 20:54 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2018-11-26 20:54 UTC (permalink / raw
To: gentoo-commits
commit: e4c9ad3725dd1843f4d815c07d4f76886841d6f1
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 24 21:16:17 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Nov 26 20:54:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4c9ad37
dev-ada/libadalang: Stable
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-ada/libadalang/libadalang-2017-r1.ebuild | 2 +-
dev-ada/libadalang/libadalang-2017.ebuild | 49 ----------------------------
2 files changed, 1 insertion(+), 50 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2017-r1.ebuild b/dev-ada/libadalang/libadalang-2017-r1.ebuild
index b4185f05c64..a2c06d0952a 100644
--- a/dev-ada/libadalang/libadalang-2017-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2017-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="gnat_2016 +gnat_2017"
RDEPEND="dev-python/pyyaml
diff --git a/dev-ada/libadalang/libadalang-2017.ebuild b/dev-ada/libadalang/libadalang-2017.ebuild
deleted file mode 100644
index 3856ef26cce..00000000000
--- a/dev-ada/libadalang/libadalang-2017.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="high performance semantic engine for the Ada programming language"
-HOMEPAGE="https://libre.adacore.com/"
-SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
- -> ${P}-src.tar.gz"
-
-LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gnat_2016 +gnat_2017"
-
-RDEPEND="dev-python/pyyaml
- dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=]
- ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
- dev-ada/langkit"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-S="${WORKDIR}"/${PN}-gps-src
-
-src_prepare() {
- default
- rm -r ada/testsuite/tests/acats_parse || die
-}
-
-src_configure() {
- ada/manage.py generate || die
-}
-
-src_compile() {
- ada/manage.py --verbosity=debug build || die
-}
-
-src_test () {
- ada/manage.py test | grep FAILED && die
-}
-
-src_install () {
- ada/manage.py install "${D}"usr
- python_domodule build/python/libadalang.py
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2018-11-22 7:07 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2018-11-22 7:07 UTC (permalink / raw
To: gentoo-commits
commit: b5f13b476d7c43740afc19356c6eb96b105cf54b
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 22 07:07:24 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Nov 22 07:07:24 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f13b47
dev-ada/libadalang: Stable
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-ada/libadalang/libadalang-2018.ebuild | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2018.ebuild b/dev-ada/libadalang/libadalang-2018.ebuild
index 7a0db217783..9099db13c30 100644
--- a/dev-ada/libadalang/libadalang-2018.ebuild
+++ b/dev-ada/libadalang/libadalang-2018.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
@@ -15,17 +15,12 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="gnat_2016 gnat_2017 +gnat_2018 +shared static-libs"
RDEPEND="dev-python/pyyaml
- || (
- dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=]
- (
- dev-ada/gnatcoll-bindings[gnat_2016=,gnat_2017=,gnat_2018=]
- dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
- )
- )
+ dev-ada/gnatcoll-bindings[gnat_2016=,gnat_2017=,gnat_2018=]
+ dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
>=dev-ada/langkit-2018"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2018-07-08 9:05 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2018-07-08 9:05 UTC (permalink / raw
To: gentoo-commits
commit: 3481a6ccc198ea065da78e4c7f62893131b7d4b3
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 8 09:04:53 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jul 8 09:05:20 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3481a6cc
dev-ada/libadalang: Build shared/static library
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-ada/libadalang/libadalang-2018.ebuild | 20 +++++++++++++++-----
dev-ada/libadalang/metadata.xml | 1 +
2 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2018.ebuild b/dev-ada/libadalang/libadalang-2018.ebuild
index 14689aeaafd..7a0db217783 100644
--- a/dev-ada/libadalang/libadalang-2018.ebuild
+++ b/dev-ada/libadalang/libadalang-2018.ebuild
@@ -16,12 +16,15 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="gnat_2016 gnat_2017 +gnat_2018"
+IUSE="gnat_2016 gnat_2017 +gnat_2018 +shared static-libs"
RDEPEND="dev-python/pyyaml
|| (
dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=]
- dev-ada/gnatcoll-bindings[iconv,shared,gnat_2016=,gnat_2017=,gnat_2018]
+ (
+ dev-ada/gnatcoll-bindings[gnat_2016=,gnat_2017=,gnat_2018=]
+ dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=]
+ )
)
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
@@ -33,11 +36,15 @@ S="${WORKDIR}"/${MYP}
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_configure() {
- ada/manage.py generate || die
+ ada/manage.py -v debug generate || die
}
src_compile() {
- ada/manage.py build || die
+ ada/manage.py \
+ -v \
+ $(use_enable shared) \
+ $(use_enable static-libs static) \
+ build || die
}
src_test () {
@@ -45,6 +52,9 @@ src_test () {
}
src_install () {
- ada/manage.py install "${D}"usr
+ ada/manage.py \
+ $(use_enable shared) \
+ $(use_enable static-libs static) \
+ install "${D}"usr || die
python_domodule build/python/libadalang.py
}
diff --git a/dev-ada/libadalang/metadata.xml b/dev-ada/libadalang/metadata.xml
index 7af42063559..a2f3f091000 100644
--- a/dev-ada/libadalang/metadata.xml
+++ b/dev-ada/libadalang/metadata.xml
@@ -9,6 +9,7 @@
<flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag>
<flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag>
<flag name="gnat_2018">Compile with dev-lang/gnat-gpl-2018</flag>
+ <flag name="shared">Build shared library</flag>
</use>
<longdescription lang="en">
Libadalang is a project to build a high performance semantic engine for
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2018-04-22 7:47 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2018-04-22 7:47 UTC (permalink / raw
To: gentoo-commits
commit: 183b8633fe0e20b19af353b289de466c21b83a48
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 22 07:47:26 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Apr 22 07:47:26 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183b8633
dev-ada/libadalang: amd64 and x86 stable
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-ada/libadalang/libadalang-2017.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ada/libadalang/libadalang-2017.ebuild b/dev-ada/libadalang/libadalang-2017.ebuild
index 39c4eae6b6f..2d97d6c5e90 100644
--- a/dev-ada/libadalang/libadalang-2017.ebuild
+++ b/dev-ada/libadalang/libadalang-2017.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="gnat_2016 +gnat_2017"
RDEPEND="dev-python/pyyaml
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2018-03-12 13:44 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2018-03-12 13:44 UTC (permalink / raw
To: gentoo-commits
commit: 1771e09821fe6b63c7cd68cb9a52cc5614d43e87
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 12 13:44:25 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 12 13:44:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1771e098
dev-ada/libadalang: Add ~x86
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-ada/libadalang/libadalang-2017.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2017.ebuild b/dev-ada/libadalang/libadalang-2017.ebuild
index 30ee5504531..39c4eae6b6f 100644
--- a/dev-ada/libadalang/libadalang-2017.ebuild
+++ b/dev-ada/libadalang/libadalang-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
@@ -14,7 +14,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE="gnat_2016 +gnat_2017"
RDEPEND="dev-python/pyyaml
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2017-12-27 19:15 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2017-12-27 19:15 UTC (permalink / raw
To: gentoo-commits
commit: afbb875c726b6b1fa7aa94d1642b25a9c9f9dcd0
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 27 19:15:36 2017 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 19:15:36 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afbb875c
dev-ada/libadalang: enabling stylechecks test/cosmethic changes
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-ada/libadalang/libadalang-2017.ebuild | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2017.ebuild b/dev-ada/libadalang/libadalang-2017.ebuild
index 651850d933e..30ee5504531 100644
--- a/dev-ada/libadalang/libadalang-2017.ebuild
+++ b/dev-ada/libadalang/libadalang-2017.ebuild
@@ -18,9 +18,9 @@ KEYWORDS="~amd64"
IUSE="gnat_2016 +gnat_2017"
RDEPEND="dev-python/pyyaml
+ dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
- dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=]
dev-ada/langkit"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
^^ ( gnat_2016 gnat_2017 )"
@@ -31,24 +31,19 @@ PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_prepare() {
default
- rm -r ada/testsuite/tests/{acats_parse,stylechecks} || die
+ rm -r ada/testsuite/tests/acats_parse || die
+}
+
+src_configure() {
+ ada/manage.py generate || die
}
src_compile() {
- GCC=${CHOST}-gcc-4.9.4 ada/manage.py make || die
+ ada/manage.py build || die
}
src_test () {
- local myDir="${WORKDIR}"/${PN}-gps-src
- cd ada/testsuite
- ln -sf "${myDir}"/build/include/libadalang.h c_support/libadalang.h
- #./testsuite.py --show-error-output |& grep FAILED && die "Test failed"
- GPR_PROJECT_PATH="${myDir}"/build/lib/gnat \
- LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:"${myDir}"/build/lib/libadalang.relocatable \
- PYTHONPATH="${myDir}"/build/python \
- PATH=${PATH}:"${myDir}"/build/bin ./testsuite.py --show-error-output
- rm c_support/libadalang.h
- cd -
+ ada/manage.py test | grep FAILED && die
}
src_install () {
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/
@ 2017-12-19 17:55 Alfredo Tupone
0 siblings, 0 replies; 51+ messages in thread
From: Alfredo Tupone @ 2017-12-19 17:55 UTC (permalink / raw
To: gentoo-commits
commit: 8bb026d73d60517ed1931cb4665ed2f53fd97039
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 19 17:55:44 2017 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Dec 19 17:55:44 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb026d7
dev-ada/libadalang: use gnatbind selected by gprbuild
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-ada/libadalang/libadalang-2017.ebuild | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/dev-ada/libadalang/libadalang-2017.ebuild b/dev-ada/libadalang/libadalang-2017.ebuild
index 958c5382196..8e4ed678cb3 100644
--- a/dev-ada/libadalang/libadalang-2017.ebuild
+++ b/dev-ada/libadalang/libadalang-2017.ebuild
@@ -17,7 +17,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="gnat_2016 gnat_2017"
+IUSE="gnat_2016 +gnat_2017"
RDEPEND="dev-python/pyyaml
${PYTHON_DEPS}"
@@ -28,7 +28,8 @@ DEPEND="${RDEPEND}
dev-python/enum34
dev-python/quex
dev-python/funcy"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ^^ ( gnat_2016 gnat_2017 )"
S="${WORKDIR}"
@@ -41,10 +42,7 @@ src_prepare() {
src_compile() {
cd ${PN}-gps-src
- mkdir bin
- ln -sf /usr/bin/gnatbind-4.9.4 bin/gnatbind
- PATH=$PATH:${PWD}/bin \
- PYTHONPATH=${PYTHONPATH}:"${WORKDIR}"/langkit-gps-src \
+ PYTHONPATH=${PYTHONPATH}:"${WORKDIR}"/langkit-gps-src \
GCC=${CHOST}-gcc-4.9.4 ada/manage.py make || die
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
end of thread, other threads:[~2024-03-18 8:10 UTC | newest]
Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-12 19:55 [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2024-03-18 8:10 Alfredo Tupone
2024-03-17 21:26 Alfredo Tupone
2023-12-10 16:14 Alfredo Tupone
2023-03-21 21:02 Alfredo Tupone
2023-03-19 19:48 Alfredo Tupone
2023-03-19 19:45 Alfredo Tupone
2023-01-10 14:31 Michał Górny
2022-12-13 18:32 Alfredo Tupone
2022-12-12 18:19 Alfredo Tupone
2022-12-11 21:10 Alfredo Tupone
2022-12-05 13:23 Alfredo Tupone
2022-11-21 17:57 Alfredo Tupone
2022-10-08 21:50 Alfredo Tupone
2022-10-02 17:52 Alfredo Tupone
2022-09-30 20:38 Alfredo Tupone
2022-02-03 20:03 Alfredo Tupone
2021-12-24 22:12 Alfredo Tupone
2021-12-24 21:46 Alfredo Tupone
2021-12-23 21:03 Alfredo Tupone
2021-12-23 13:10 Alfredo Tupone
2021-12-23 9:40 Alfredo Tupone
2021-12-23 8:14 Alfredo Tupone
2021-12-22 20:56 Alfredo Tupone
2021-12-21 7:15 Alfredo Tupone
2021-12-19 10:13 Alfredo Tupone
2021-12-15 22:00 Alfredo Tupone
2020-02-09 21:38 Alfredo Tupone
2019-11-03 20:26 Alfredo Tupone
2019-10-21 7:03 Alfredo Tupone
2019-10-21 6:41 Alfredo Tupone
2019-09-21 11:48 Alfredo Tupone
2019-09-19 17:21 Alfredo Tupone
2019-09-19 12:45 Alfredo Tupone
2019-06-24 19:47 Alfredo Tupone
2019-06-24 19:23 Alfredo Tupone
2019-06-24 16:57 Alfredo Tupone
2019-06-20 7:27 Alfredo Tupone
2019-06-15 16:45 Alfredo Tupone
2019-06-15 16:40 Alfredo Tupone
2019-06-12 18:44 Alfredo Tupone
2019-05-30 19:18 Alfredo Tupone
2018-11-27 8:15 Alfredo Tupone
2018-11-26 20:57 Alfredo Tupone
2018-11-26 20:54 Alfredo Tupone
2018-11-22 7:07 Alfredo Tupone
2018-07-08 9:05 Alfredo Tupone
2018-04-22 7:47 Alfredo Tupone
2018-03-12 13:44 Alfredo Tupone
2017-12-27 19:15 Alfredo Tupone
2017-12-19 17:55 Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox