[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2022-02-06 Thread Alfredo Tupone
commit: 1ca8fc7f801eebf420c7d1b7193bc43648f9eb34
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Feb  6 17:41:18 2022 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Feb  6 17:41:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca8fc7f

dev-lang/spark: drop python deps

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

 dev-lang/spark/spark-2021.ebuild | 11 ++-
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/dev-lang/spark/spark-2021.ebuild b/dev-lang/spark/spark-2021.ebuild
index 9e53597a8dc3..9b763b07b66a 100644
--- a/dev-lang/spark/spark-2021.ebuild
+++ b/dev-lang/spark/spark-2021.ebuild
@@ -1,12 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 ADA_COMPAT=( gnat_2021 )
-PYTHON_COMPAT=( python3_{7..9} )
 
-inherit ada python-any-r1
+inherit ada
 
 ADA_MIRROR=https://community.download.adacore.com/v1
 ID=969ce28e217bd5aa4db549a544d20846408a5229
@@ -29,7 +28,6 @@ RDEPEND="
sci-mathematics/alt-ergo
sci-mathematics/why3-for-spark"
 DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
dev-ada/gprbuild[${ADA_USEDEP}]"
 
 REQUIRED_USE="${ADA_REQUIRED_USE}"
@@ -38,11 +36,6 @@ S="${WORKDIR}"/${MYP}
 
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
-pkg_setup() {
-   ada_pkg_setup
-   python-any-r1_pkg_setup
-}
-
 src_prepare() {
ln -sf "${WORKDIR}"/${GNATDIR}/src/ada gnat2why/gnat_src || die
default



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2021-09-15 Thread Alfredo Tupone
commit: ff046aa1c687b69b8c7ed9bbdb96eb598ddcee4c
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Sep 15 19:42:49 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Sep 15 19:42:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff046aa1

dev-lang/spark: UnusedInherits

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-lang/spark/spark-2021.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/spark/spark-2021.ebuild b/dev-lang/spark/spark-2021.ebuild
index 9c090883d17..a2e41c04602 100644
--- a/dev-lang/spark/spark-2021.ebuild
+++ b/dev-lang/spark/spark-2021.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 ADA_COMPAT=( gnat_2021 )
 PYTHON_COMPAT=( python3_{7..9} )
 
-inherit ada python-any-r1 toolchain-funcs multiprocessing
+inherit ada python-any-r1
 
 ADA_MIRROR=https://community.download.adacore.com/v1
 ID=969ce28e217bd5aa4db549a544d20846408a5229



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/files/, dev-lang/spark/

2021-06-22 Thread Alfredo Tupone
commit: 96d71541ba688bdf0a86d857b78ad7902b3862a0
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Jun 22 07:07:00 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Jun 22 07:07:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d71541

dev-lang/spark: remove old version

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-lang/spark/Manifest  |  4 --
 dev-lang/spark/files/spark-2017-gentoo.patch | 23 --
 dev-lang/spark/files/spark-2019-gentoo.patch | 23 --
 dev-lang/spark/files/spark-2021-gentoo.patch | 10 +
 dev-lang/spark/spark-2018-r1.ebuild  | 61 -
 dev-lang/spark/spark-2019.ebuild | 67 
 6 files changed, 10 insertions(+), 178 deletions(-)

diff --git a/dev-lang/spark/Manifest b/dev-lang/spark/Manifest
index 853dd1faf69..69576300de1 100644
--- a/dev-lang/spark/Manifest
+++ b/dev-lang/spark/Manifest
@@ -1,6 +1,2 @@
-DIST gnat-2019-20190517-18C94-src.tar.gz 8950160 BLAKE2B 
ce6b8ca0687b3d345db72a8b3216e67ba706cfd7f6ca98f45ec2ae356d9c5b3a42a4b3aac5e89285871157ddaca3aff1b970934de88f8190d84aff060bf1fc4b
 SHA512 
4d57c97fc1f3d5274e0c4ffa536ec056e7c3f1619010a008cd07a0bfa638d18fee1705a5dd76f12d168baef85677cc34ef40f5e52fd5292ac886c0d4c5ee
 DIST gnat-2021-20210519-19A70-src.tar.gz 8765762 BLAKE2B 
ef48f54c6109566e37bfa5dee9262305d0529b3dfd333ee28bc4e66f4709a0673f673d742bc04deb15dc145404f7618d350dbdf3f2a7ab37c861e57d011946fa
 SHA512 
3cb79be024fdd9b738d99ffc8e224d32bb382b5da2d02b97b2061a5ea58456f33d4564c92e224af2713ce15fd5481edd715e5b9a52abc74fdc142f27e103c201
-DIST gnat-gpl-2018-src.tar.gz 8706578 BLAKE2B 
ba245fd91cc5263d5b8c159d9e75caf6bed21dcaa5fa43734af8775a4008ce5f96bfb84a8b5e6e734ff883314ab3219dacec3fe95a5baa33fb712bfb5ff8bce8
 SHA512 
0ff7e848ef77f7e772e2a1b01905307a91c332f32329456f5238c4b7eb46cc118709e8682a5fc826d98a7d99fd15a92c194f4a278f04bc465165cfa616cc3c2e
-DIST spark-2019-20190517-19665-src.tar.gz 22778220 BLAKE2B 
b0e2141c4b8aa603ee51fe984654c502d214cc5461cf7afba90926b4f3393772bc755a4ec8ef307496f5c052d3c478312f987b79d8b31bec3e9dba962cedd419
 SHA512 
9ee15e1ae80720a0295ec8a59e1b414f82a4044ebd47f81f8daea7a155720bb151714d9e9c2830612f5530d906f6c393e84ffde16982afef547f1c8edc27e97a
 DIST spark-2021-2021-20210519-19A1A-src.tar.gz 11361491 BLAKE2B 
67f8d27ae68ef4929aafaf96c470394e093883619c5c778e804f1ff62c297d5a3f628e04e987fb06741cb824710599928a7ec3b94fa6d7af029cff35be0898c3
 SHA512 
b595516892f6054d3c856c30c4296be9cd61adca3ea2cffe3c9060fbab249d36ce1b8fff6f80e1e8173ef6e232dd9c2da8a581ae9964845120c03d09896b635c
-DIST spark-gpl-2018-src.tar.gz 20244517 BLAKE2B 
efb8120a869eaf79aa513ea3b3393dcefdb548e66a00a630bfb9d28a59785c15362c111df3635423a7312c491c9929a7bcd8e7161607dc4d3acd6d1c27f3ca3e
 SHA512 
83490a95c2d6401bcd077a8ec508eaf18609b5b480ccd9f247f4bb61164b5e52e34473526cd49ebdf5fd15ac422ed4a121dc50cab96241db02af9e32812a4df8

diff --git a/dev-lang/spark/files/spark-2017-gentoo.patch 
b/dev-lang/spark/files/spark-2017-gentoo.patch
deleted file mode 100644
index 8258c9feab7..000
--- a/dev-lang/spark/files/spark-2017-gentoo.patch
+++ /dev/null
@@ -1,23 +0,0 @@
 a/gnat2why/gnat2why_c.gpr  2017-10-04 21:41:41.613376056 +0200
-+++ b/gnat2why/gnat2why_c.gpr  2017-10-04 21:42:30.582572536 +0200
-@@ -1,4 +1,7 @@
- project Gnat2Why_C is
-for Languages use ("C");
-for Object_Dir use "obj";
-+   package Compiler is
-+  for Driver ("C") use External ("CC", "gcc");
-+   end Compiler;
- end Gnat2Why_C;
 a/gnatprove/configuration.adb  2019-11-08 19:20:16.876198539 +0100
-+++ b/gnatprove/configuration.adb  2019-11-08 19:21:13.550201663 +0100
-@@ -694,7 +694,9 @@
-  Tree : Project_Tree;
- 
-   begin
-- Set_Path_From_Gnatls (Proj_Env.all, "gnatls", GNAT_Version);
-+ Set_Path_From_Gnatls (Proj_Env.all,
-+   "gnatls",
-+   GNAT_Version);
-  Free (GNAT_Version);
-  Set_Object_Subdir (Proj_Env.all, Subdir_Name);
-  Proj_Env.Register_Default_Language_Extension ("C", ".h", ".c");

diff --git a/dev-lang/spark/files/spark-2019-gentoo.patch 
b/dev-lang/spark/files/spark-2019-gentoo.patch
deleted file mode 100644
index d940471dfcf..000
--- a/dev-lang/spark/files/spark-2019-gentoo.patch
+++ /dev/null
@@ -1,23 +0,0 @@
 a/gnat2why/gnat2why_c.gpr  2017-10-04 21:41:41.613376056 +0200
-+++ b/gnat2why/gnat2why_c.gpr  2017-10-04 21:42:30.582572536 +0200
-@@ -1,4 +1,7 @@
- project Gnat2Why_C is
-for Languages use ("C");
-for Object_Dir use "obj";
-+   package Compiler is
-+  for Driver ("C") use External ("CC", "gcc");
-+   end Compiler;
- end Gnat2Why_C;
 a/gnatprove/configuration.adb  2019-11-28 08:13:36.857402405 +0100
-+++ b/gnatprove/configuration.adb  2019-11-28 08:14:23.777570096 +0100
-@@ -1161,7 +1161,9 @@
- 
-  end if;
- 
-- 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/files/, dev-lang/spark/

2021-06-21 Thread Alfredo Tupone
commit: dd85fc72ef380a6bd87457d16a2fa9e562366f1f
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jun 21 20:34:37 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Jun 21 20:34:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd85fc72

dev-lang/spark: patch gnatls command

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-lang/spark/files/spark-2021-gentoo.patch | 13 +
 dev-lang/spark/spark-2021.ebuild |  5 +
 2 files changed, 18 insertions(+)

diff --git a/dev-lang/spark/files/spark-2021-gentoo.patch 
b/dev-lang/spark/files/spark-2021-gentoo.patch
new file mode 100644
index 000..d79a5af9e38
--- /dev/null
+++ b/dev-lang/spark/files/spark-2021-gentoo.patch
@@ -0,0 +1,13 @@
+--- a/src/gnatprove/configuration.adb  2021-06-21 22:30:18.962850246 +0200
 b/src/gnatprove/configuration.adb  2021-06-21 22:31:03.621210570 +0200
+@@ -1269,7 +1269,9 @@
+ 
+  end if;
+ 
+- Set_Path_From_Gnatls (Proj_Env.all, "gnatls", GNAT_Version);
++ Set_Path_From_Gnatls (Proj_Env.all,
++   "gnatls",
++   GNAT_Version);
+  Free (GNAT_Version);
+  Set_Object_Subdir (Proj_Env.all,
+ Filesystem_String

diff --git a/dev-lang/spark/spark-2021.ebuild b/dev-lang/spark/spark-2021.ebuild
index 01b83053481..9c090883d17 100644
--- a/dev-lang/spark/spark-2021.ebuild
+++ b/dev-lang/spark/spark-2021.ebuild
@@ -36,6 +36,8 @@ REQUIRED_USE="${ADA_REQUIRED_USE}"
 
 S="${WORKDIR}"/${MYP}
 
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
 pkg_setup() {
ada_pkg_setup
python-any-r1_pkg_setup
@@ -44,6 +46,9 @@ pkg_setup() {
 src_prepare() {
ln -sf "${WORKDIR}"/${GNATDIR}/src/ada gnat2why/gnat_src || die
default
+   sed -i \
+   -e "s:gnatls:${GNATLS}:g" \
+   src/gnatprove/configuration.adb || die
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2021-06-21 Thread Alfredo Tupone
commit: 96a3ac953c4bdd21b64dc92507f62d325bed8536
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jun 21 20:25:25 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Jun 21 20:25:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a3ac95

dev-lang/spark: version bump to 2021

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-lang/spark/Manifest  |  2 +
 dev-lang/spark/spark-2021.ebuild | 87 
 2 files changed, 89 insertions(+)

diff --git a/dev-lang/spark/Manifest b/dev-lang/spark/Manifest
index ae89247fb3a..853dd1faf69 100644
--- a/dev-lang/spark/Manifest
+++ b/dev-lang/spark/Manifest
@@ -1,4 +1,6 @@
 DIST gnat-2019-20190517-18C94-src.tar.gz 8950160 BLAKE2B 
ce6b8ca0687b3d345db72a8b3216e67ba706cfd7f6ca98f45ec2ae356d9c5b3a42a4b3aac5e89285871157ddaca3aff1b970934de88f8190d84aff060bf1fc4b
 SHA512 
4d57c97fc1f3d5274e0c4ffa536ec056e7c3f1619010a008cd07a0bfa638d18fee1705a5dd76f12d168baef85677cc34ef40f5e52fd5292ac886c0d4c5ee
+DIST gnat-2021-20210519-19A70-src.tar.gz 8765762 BLAKE2B 
ef48f54c6109566e37bfa5dee9262305d0529b3dfd333ee28bc4e66f4709a0673f673d742bc04deb15dc145404f7618d350dbdf3f2a7ab37c861e57d011946fa
 SHA512 
3cb79be024fdd9b738d99ffc8e224d32bb382b5da2d02b97b2061a5ea58456f33d4564c92e224af2713ce15fd5481edd715e5b9a52abc74fdc142f27e103c201
 DIST gnat-gpl-2018-src.tar.gz 8706578 BLAKE2B 
ba245fd91cc5263d5b8c159d9e75caf6bed21dcaa5fa43734af8775a4008ce5f96bfb84a8b5e6e734ff883314ab3219dacec3fe95a5baa33fb712bfb5ff8bce8
 SHA512 
0ff7e848ef77f7e772e2a1b01905307a91c332f32329456f5238c4b7eb46cc118709e8682a5fc826d98a7d99fd15a92c194f4a278f04bc465165cfa616cc3c2e
 DIST spark-2019-20190517-19665-src.tar.gz 22778220 BLAKE2B 
b0e2141c4b8aa603ee51fe984654c502d214cc5461cf7afba90926b4f3393772bc755a4ec8ef307496f5c052d3c478312f987b79d8b31bec3e9dba962cedd419
 SHA512 
9ee15e1ae80720a0295ec8a59e1b414f82a4044ebd47f81f8daea7a155720bb151714d9e9c2830612f5530d906f6c393e84ffde16982afef547f1c8edc27e97a
+DIST spark-2021-2021-20210519-19A1A-src.tar.gz 11361491 BLAKE2B 
67f8d27ae68ef4929aafaf96c470394e093883619c5c778e804f1ff62c297d5a3f628e04e987fb06741cb824710599928a7ec3b94fa6d7af029cff35be0898c3
 SHA512 
b595516892f6054d3c856c30c4296be9cd61adca3ea2cffe3c9060fbab249d36ce1b8fff6f80e1e8173ef6e232dd9c2da8a581ae9964845120c03d09896b635c
 DIST spark-gpl-2018-src.tar.gz 20244517 BLAKE2B 
efb8120a869eaf79aa513ea3b3393dcefdb548e66a00a630bfb9d28a59785c15362c111df3635423a7312c491c9929a7bcd8e7161607dc4d3acd6d1c27f3ca3e
 SHA512 
83490a95c2d6401bcd077a8ec508eaf18609b5b480ccd9f247f4bb61164b5e52e34473526cd49ebdf5fd15ac422ed4a121dc50cab96241db02af9e32812a4df8

diff --git a/dev-lang/spark/spark-2021.ebuild b/dev-lang/spark/spark-2021.ebuild
new file mode 100644
index 000..01b83053481
--- /dev/null
+++ b/dev-lang/spark/spark-2021.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_2021 )
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit ada python-any-r1 toolchain-funcs multiprocessing
+
+ADA_MIRROR=https://community.download.adacore.com/v1
+ID=969ce28e217bd5aa4db549a544d20846408a5229
+MYP=${P}-2021-20210519-19A1A-src
+GNATID=005d2b2eff627177986d2517eb31e1959bec6f3a
+GNATDIR=gnat-${PV}-20210519-19A70-src
+
+DESCRIPTION="Software development for high-reliability applications."
+HOMEPAGE="http://libre.adacore.com;
+SRC_URI="${ADA_MIRROR}/${ID}?filename=${MYP}.tar.gz -> ${MYP}.tar.gz
+   ${ADA_MIRROR}/${GNATID}?filename=${GNATDIR}.tar.gz -> ${GNATDIR}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+   dev-ada/gnatcoll-core[${ADA_USEDEP},shared]
+   sci-mathematics/alt-ergo
+   sci-mathematics/why3-for-spark"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   dev-ada/gprbuild[${ADA_USEDEP}]"
+
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MYP}
+
+pkg_setup() {
+   ada_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   ln -sf "${WORKDIR}"/${GNATDIR}/src/ada gnat2why/gnat_src || die
+   default
+}
+
+src_compile() {
+   emake -C gnat2why GPRARGS="-XLIBRARY_TYPE=relocatable -v"
+   gprbuild -p -XLIBRARY_TYPE=relocatable -v -P gnatprove.gpr || die
+   emake -C include generate
+}
+
+src_install() {
+   # Create the fake prover scripts to help extract benchmarks.
+   insinto /usr/libexec/spark/bin/
+   doins benchmark_script/fake_*
+
+   gprbuild -q -c -u -gnats spark2014vsn.ads \
+   -XLIBRARY_TYPE=relocatable -v \
+   -gnatet="${D}"/usr/libexec/spark/bin/target.atp || die
+   insinto /usr/share/spark
+   doins share/spark/help.txt
+   doins -r share/spark/config
+   insinto /usr/share/spark/theories
+   doins share/spark/theories/*why
+   doins share/spark/theories/*mlw
+   insinto /usr/share/spark/runtimes
+   doins 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/files/, dev-lang/spark/

2019-12-01 Thread Alfredo Tupone
commit: ed28a08c44b7e0d4cd6a8ab3c662549a4ffafc40
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Dec  1 17:35:39 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Dec  1 17:35:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed28a08c

dev-lang/spark: version bump

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

 dev-lang/spark/Manifest  |  2 +
 dev-lang/spark/files/spark-2019-gentoo.patch | 23 ++
 dev-lang/spark/spark-2019.ebuild | 67 
 3 files changed, 92 insertions(+)

diff --git a/dev-lang/spark/Manifest b/dev-lang/spark/Manifest
index 8b779205964..ae89247fb3a 100644
--- a/dev-lang/spark/Manifest
+++ b/dev-lang/spark/Manifest
@@ -1,2 +1,4 @@
+DIST gnat-2019-20190517-18C94-src.tar.gz 8950160 BLAKE2B 
ce6b8ca0687b3d345db72a8b3216e67ba706cfd7f6ca98f45ec2ae356d9c5b3a42a4b3aac5e89285871157ddaca3aff1b970934de88f8190d84aff060bf1fc4b
 SHA512 
4d57c97fc1f3d5274e0c4ffa536ec056e7c3f1619010a008cd07a0bfa638d18fee1705a5dd76f12d168baef85677cc34ef40f5e52fd5292ac886c0d4c5ee
 DIST gnat-gpl-2018-src.tar.gz 8706578 BLAKE2B 
ba245fd91cc5263d5b8c159d9e75caf6bed21dcaa5fa43734af8775a4008ce5f96bfb84a8b5e6e734ff883314ab3219dacec3fe95a5baa33fb712bfb5ff8bce8
 SHA512 
0ff7e848ef77f7e772e2a1b01905307a91c332f32329456f5238c4b7eb46cc118709e8682a5fc826d98a7d99fd15a92c194f4a278f04bc465165cfa616cc3c2e
+DIST spark-2019-20190517-19665-src.tar.gz 22778220 BLAKE2B 
b0e2141c4b8aa603ee51fe984654c502d214cc5461cf7afba90926b4f3393772bc755a4ec8ef307496f5c052d3c478312f987b79d8b31bec3e9dba962cedd419
 SHA512 
9ee15e1ae80720a0295ec8a59e1b414f82a4044ebd47f81f8daea7a155720bb151714d9e9c2830612f5530d906f6c393e84ffde16982afef547f1c8edc27e97a
 DIST spark-gpl-2018-src.tar.gz 20244517 BLAKE2B 
efb8120a869eaf79aa513ea3b3393dcefdb548e66a00a630bfb9d28a59785c15362c111df3635423a7312c491c9929a7bcd8e7161607dc4d3acd6d1c27f3ca3e
 SHA512 
83490a95c2d6401bcd077a8ec508eaf18609b5b480ccd9f247f4bb61164b5e52e34473526cd49ebdf5fd15ac422ed4a121dc50cab96241db02af9e32812a4df8

diff --git a/dev-lang/spark/files/spark-2019-gentoo.patch 
b/dev-lang/spark/files/spark-2019-gentoo.patch
new file mode 100644
index 000..d940471dfcf
--- /dev/null
+++ b/dev-lang/spark/files/spark-2019-gentoo.patch
@@ -0,0 +1,23 @@
+--- a/gnat2why/gnat2why_c.gpr  2017-10-04 21:41:41.613376056 +0200
 b/gnat2why/gnat2why_c.gpr  2017-10-04 21:42:30.582572536 +0200
+@@ -1,4 +1,7 @@
+ project Gnat2Why_C is
+for Languages use ("C");
+for Object_Dir use "obj";
++   package Compiler is
++  for Driver ("C") use External ("CC", "gcc");
++   end Compiler;
+ end Gnat2Why_C;
+--- a/gnatprove/configuration.adb  2019-11-28 08:13:36.857402405 +0100
 b/gnatprove/configuration.adb  2019-11-28 08:14:23.777570096 +0100
+@@ -1161,7 +1161,9 @@
+ 
+  end if;
+ 
+- Set_Path_From_Gnatls (Proj_Env.all, "gnatls", GNAT_Version);
++ Set_Path_From_Gnatls (Proj_Env.all,
++   "gnatls",
++   GNAT_Version);
+  Free (GNAT_Version);
+  Set_Object_Subdir (Proj_Env.all,
+ Filesystem_String

diff --git a/dev-lang/spark/spark-2019.ebuild b/dev-lang/spark/spark-2019.ebuild
new file mode 100644
index 000..0a0f4fd0550
--- /dev/null
+++ b/dev-lang/spark/spark-2019.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_2019 )
+PYTHON_COMPAT=( python2_7 )
+
+inherit ada python-any-r1 toolchain-funcs multiprocessing
+
+DESCRIPTION="Software development for high-reliability applications."
+HOMEPAGE="http://libre.adacore.com;
+SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf912431e87a8f1c967d51
+   -> ${P}-20190517-19665-src.tar.gz
+   http://mirrors.cdn.adacore.com/art/5cdf865331e87aa2cdf16b49
+   -> gnat-2019-20190517-18C94-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+   dev-ada/gnatcoll-core[${ADA_USEDEP},shared]
+   sci-mathematics/alt-ergo
+   sci-mathematics/why3-for-spark"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   dev-ada/gprbuild[${ADA_USEDEP}]"
+
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${P}-2019-20190517-19665-src
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+pkg_setup() {
+   ada_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   ln -sf "${WORKDIR}"/gnat-2019-20190517-18C94-src/src/ada 
gnat2why/gnat_src || die
+   default
+   sed -i \
+   -e "s:gnatls:${GNATLS}:g" \
+   gnatprove/configuration.adb || die
+}
+
+src_compile() {
+   emake -C gnat2why GPRARGS="-XLIBRARY_TYPE=relocatable -v"
+   emake -C gnatprove PROD="-XLIBRARY_TYPE=relocatable -v"
+}
+
+src_install() {
+   emake INSTALLDIR="${D}"/usr install
+   einstalldocs
+   

[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2019-11-10 Thread Alfredo Tupone
commit: 056b0b356da86b6a8eecb74ba2989e8fb44dd7a8
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sat Nov  9 19:05:44 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Nov  9 19:05:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=056b0b35

dev-lang/spark: remove old version

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

 dev-lang/spark/spark-2018.ebuild | 62 
 1 file changed, 62 deletions(-)

diff --git a/dev-lang/spark/spark-2018.ebuild b/dev-lang/spark/spark-2018.ebuild
deleted file mode 100644
index c6d8008d3a2..000
--- a/dev-lang/spark/spark-2018.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs multiprocessing
-
-MYP=${PN}-gpl-${PV}
-
-DESCRIPTION="Software development for high-reliability applications."
-HOMEPAGE="http://libre.adacore.com;
-SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a47
-   -> ${MYP}-src.tar.gz
-   http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27aa5
-   -> gnat-gpl-2018-src.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE=""
-
-RDEPEND="dev-lang/gnat-gpl:7.3.1
-   dev-ada/gnatcoll-core[gnat_2018,shared]
-   sci-mathematics/alt-ergo
-   sci-mathematics/why3-for-spark"
-DEPEND="${RDEPEND}
-   dev-ada/gprbuild[gnat_2018]"
-
-S="${WORKDIR}"/${MYP}-src
-
-PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
-
-src_prepare() {
-   ln -sf "${WORKDIR}"/gnat-gpl-2018-src/src/ada gnat2why/gnat_src || die
-   default
-   GCC_PV=7.3.1
-   sed -i \
-   -e "s:gnatmake:gnatmake-${GCC_PV}:g" \
-   -e "s:gnatls:gnatls-${GCC_PV}:g" \
-   Makefile \
-   gnatprove/configuration.adb \
-   gnat2why/Makefile || die
-}
-
-src_compile() {
-   emake GPRARGS="-XLIBRARY_TYPE=relocatable" gnat2why
-   emake PROD="-XLIBRARY_TYPE=relocatable" gnatprove
-}
-
-src_install() {
-   emake INSTALLDIR="${D}"/usr install
-   einstalldocs
-   dosym ../../../lib64/why3/why3server /usr/libexec/spark/bin/why3server
-   dobin install/bin/gnatprove
-   mv install/share/doc/spark/* "${D}"/usr/share/doc/${PF} || die
-   exeinto /usr/libexec/spark/bin
-   doexe install/bin/gnat2why
-   doexe install/bin/spark_memcached_wrapper
-   doexe install/bin/spark_report
-   doexe install/bin/spark_codepeer_wrapper
-   mv "${D}"/usr/bin/target.atp "${D}"/usr/libexec/spark/bin || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2019-11-10 Thread Alfredo Tupone
commit: 7f7eec6d6db52190470818dc45f7340393745df8
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sat Nov  9 19:02:18 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Nov  9 19:02:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7eec6d

dev-lang/spark: stable

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

 dev-lang/spark/spark-2018-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/spark/spark-2018-r1.ebuild 
b/dev-lang/spark/spark-2018-r1.ebuild
index 62f2959951d..e4294ef 100644
--- a/dev-lang/spark/spark-2018-r1.ebuild
+++ b/dev-lang/spark/spark-2018-r1.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a47
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/files/, dev-lang/spark/

2019-11-08 Thread Alfredo Tupone
commit: 22f1d8b3762029116adf9d5ebd3b5db422b89e31
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Fri Nov  8 19:00:28 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Nov  8 19:00:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22f1d8b3

dev-lang/spark: fix compile

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

 dev-lang/spark/files/spark-2017-gentoo.patch | 17 +++--
 dev-lang/spark/spark-2018-r1.ebuild  |  2 +-
 dev-lang/spark/spark-2018.ebuild |  4 ++--
 3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/dev-lang/spark/files/spark-2017-gentoo.patch 
b/dev-lang/spark/files/spark-2017-gentoo.patch
index 479a7ace4dc..8258c9feab7 100644
--- a/dev-lang/spark/files/spark-2017-gentoo.patch
+++ b/dev-lang/spark/files/spark-2017-gentoo.patch
@@ -1,5 +1,5 @@
 spark-gpl-2017-src/gnat2why/gnat2why_c.gpr.old 2017-10-04 
21:41:41.613376056 +0200
-+++ spark-gpl-2017-src/gnat2why/gnat2why_c.gpr 2017-10-04 21:42:30.582572536 
+0200
+--- a/gnat2why/gnat2why_c.gpr  2017-10-04 21:41:41.613376056 +0200
 b/gnat2why/gnat2why_c.gpr  2017-10-04 21:42:30.582572536 +0200
 @@ -1,4 +1,7 @@
  project Gnat2Why_C is
 for Languages use ("C");
@@ -8,3 +8,16 @@
 +  for Driver ("C") use External ("CC", "gcc");
 +   end Compiler;
  end Gnat2Why_C;
+--- a/gnatprove/configuration.adb  2019-11-08 19:20:16.876198539 +0100
 b/gnatprove/configuration.adb  2019-11-08 19:21:13.550201663 +0100
+@@ -694,7 +694,9 @@
+  Tree : Project_Tree;
+ 
+   begin
+- Set_Path_From_Gnatls (Proj_Env.all, "gnatls", GNAT_Version);
++ Set_Path_From_Gnatls (Proj_Env.all,
++   "gnatls",
++   GNAT_Version);
+  Free (GNAT_Version);
+  Set_Object_Subdir (Proj_Env.all, Subdir_Name);
+  Proj_Env.Register_Default_Language_Extension ("C", ".h", ".c");

diff --git a/dev-lang/spark/spark-2018-r1.ebuild 
b/dev-lang/spark/spark-2018-r1.ebuild
index 3bdf63d22f4..62f2959951d 100644
--- a/dev-lang/spark/spark-2018-r1.ebuild
+++ b/dev-lang/spark/spark-2018-r1.ebuild
@@ -35,10 +35,10 @@ PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
 
 src_prepare() {
ln -sf "${WORKDIR}"/gnat-gpl-2018-src/src/ada gnat2why/gnat_src || die
+   default
sed -i \
-e "s:gnatls:${GNATLS}:g" \
gnatprove/configuration.adb || die
-   default
 }
 
 src_compile() {

diff --git a/dev-lang/spark/spark-2018.ebuild b/dev-lang/spark/spark-2018.ebuild
index d538aa73fcb..c6d8008d3a2 100644
--- a/dev-lang/spark/spark-2018.ebuild
+++ b/dev-lang/spark/spark-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
@@ -32,6 +32,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
 
 src_prepare() {
ln -sf "${WORKDIR}"/gnat-gpl-2018-src/src/ada gnat2why/gnat_src || die
+   default
GCC_PV=7.3.1
sed -i \
-e "s:gnatmake:gnatmake-${GCC_PV}:g" \
@@ -39,7 +40,6 @@ src_prepare() {
Makefile \
gnatprove/configuration.adb \
gnat2why/Makefile || die
-   default
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2019-11-07 Thread Alfredo Tupone
commit: 03b4a341de8137dbbd040ae26e4659b28e8798ed
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Thu Nov  7 18:15:23 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Thu Nov  7 18:15:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b4a341

dev-lang/spark: use the ada eclass

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

 dev-lang/spark/spark-2018-r1.ebuild | 61 +
 1 file changed, 61 insertions(+)

diff --git a/dev-lang/spark/spark-2018-r1.ebuild 
b/dev-lang/spark/spark-2018-r1.ebuild
new file mode 100644
index 000..3bdf63d22f4
--- /dev/null
+++ b/dev-lang/spark/spark-2018-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_2018 )
+inherit ada toolchain-funcs multiprocessing
+
+MYP=${PN}-gpl-${PV}
+
+DESCRIPTION="Software development for high-reliability applications."
+HOMEPAGE="http://libre.adacore.com;
+SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a47
+   -> ${MYP}-src.tar.gz
+   http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27aa5
+   -> gnat-gpl-2018-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+   dev-ada/gnatcoll-core[${ADA_USEDEP},shared]
+   sci-mathematics/alt-ergo
+   sci-mathematics/why3-for-spark"
+DEPEND="${RDEPEND}
+   dev-ada/gprbuild[${ADA_USEDEP}]"
+
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MYP}-src
+
+PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
+
+src_prepare() {
+   ln -sf "${WORKDIR}"/gnat-gpl-2018-src/src/ada gnat2why/gnat_src || die
+   sed -i \
+   -e "s:gnatls:${GNATLS}:g" \
+   gnatprove/configuration.adb || die
+   default
+}
+
+src_compile() {
+   emake GPRARGS="-XLIBRARY_TYPE=relocatable" gnat2why
+   emake PROD="-XLIBRARY_TYPE=relocatable" gnatprove
+}
+
+src_install() {
+   emake INSTALLDIR="${D}"/usr install
+   einstalldocs
+   dosym ../../../lib64/why3/why3server /usr/libexec/spark/bin/why3server
+   dobin install/bin/gnatprove
+   mv install/share/doc/spark/* "${D}"/usr/share/doc/${PF} || die
+   exeinto /usr/libexec/spark/bin
+   doexe install/bin/gnat2why
+   doexe install/bin/spark_memcached_wrapper
+   doexe install/bin/spark_report
+   doexe install/bin/spark_codepeer_wrapper
+   mv "${D}"/usr/bin/target.atp "${D}"/usr/libexec/spark/bin || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2019-11-03 Thread Alfredo Tupone
commit: e8e6b26af6e31c4cd79903cda3830f2364247d09
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Mon Nov  4 06:59:09 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Nov  4 06:59:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8e6b26a

dev-lang/spark: remove old version

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

 dev-lang/spark/Manifest  |  2 --
 dev-lang/spark/spark-2017.ebuild | 61 
 2 files changed, 63 deletions(-)

diff --git a/dev-lang/spark/Manifest b/dev-lang/spark/Manifest
index e73c276d0b1..8b779205964 100644
--- a/dev-lang/spark/Manifest
+++ b/dev-lang/spark/Manifest
@@ -1,4 +1,2 @@
-DIST gnat-gpl-2017-src.tar.gz 8783473 BLAKE2B 
b0415b42f4d3a5e8675591a5602ff0a96945670104064671a232c0c12271ee141a3a5d148b8507bdab83cb8a0677c57b78e690060088308c51732bad3715964f
 SHA512 
ae7314a2241107ed4d962dce08306eeb34c5f11e26183935bbb1ccf3a5eb011d6457c1b6fcded93dd0ee9ba31d791971ebe2a5a5a0ae04ff80d87a670325a098
 DIST gnat-gpl-2018-src.tar.gz 8706578 BLAKE2B 
ba245fd91cc5263d5b8c159d9e75caf6bed21dcaa5fa43734af8775a4008ce5f96bfb84a8b5e6e734ff883314ab3219dacec3fe95a5baa33fb712bfb5ff8bce8
 SHA512 
0ff7e848ef77f7e772e2a1b01905307a91c332f32329456f5238c4b7eb46cc118709e8682a5fc826d98a7d99fd15a92c194f4a278f04bc465165cfa616cc3c2e
-DIST spark-gpl-2017-src.tar.gz 19750595 BLAKE2B 
840eb9044b732aad16d2b6be9972e4805caf1e1b521ba40cc2a234871775d0212153ed9e9f84b4a2ddbeefc2b9c7d7556db943153655df6051cf4dc3f1be2e01
 SHA512 
90e7644daa6a935c839da9799c6dc5fe0a566f29c5f5d0a964ef5c888581f18c11adf6aa0151ae72437b91430fae06604dab8c3f1fd3222d749cfd330293ff6e
 DIST spark-gpl-2018-src.tar.gz 20244517 BLAKE2B 
efb8120a869eaf79aa513ea3b3393dcefdb548e66a00a630bfb9d28a59785c15362c111df3635423a7312c491c9929a7bcd8e7161607dc4d3acd6d1c27f3ca3e
 SHA512 
83490a95c2d6401bcd077a8ec508eaf18609b5b480ccd9f247f4bb61164b5e52e34473526cd49ebdf5fd15ac422ed4a121dc50cab96241db02af9e32812a4df8

diff --git a/dev-lang/spark/spark-2017.ebuild b/dev-lang/spark/spark-2017.ebuild
deleted file mode 100644
index be23d86d0c2..000
--- a/dev-lang/spark/spark-2017.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs multiprocessing
-
-MYP=${PN}-gpl-${PV}
-
-DESCRIPTION="Software development for high-reliability applications."
-HOMEPAGE="http://libre.adacore.com;
-SRC_URI="http://mirrors.cdn.adacore.com/art/591c4777c7a447af2deed05e
-   -> ${MYP}-src.tar.gz
-   http://mirrors.cdn.adacore.com/art/591adbb4c7a4473fcc4532a3
-   -> gnat-gpl-2017-src.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE=""
-
-RDEPEND="dev-lang/gnat-gpl:6.3.0
-   >=dev-ada/gnatcoll-2017[gnat_2017,projects,shared]
-   sci-mathematics/alt-ergo
-   sci-mathematics/why3-for-spark"
-DEPEND="${RDEPEND}
-   dev-ada/gprbuild[gnat_2017]"
-
-S="${WORKDIR}"/${MYP}-src
-
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
-
-src_prepare() {
-   ln -sf "${WORKDIR}"/gnat-gpl-2017-src/src/ada gnat2why/gnat_src || die
-   GCC_PV=6.3.0
-   sed -i \
-   -e "s:gnatmake:gnatmake-${GCC_PV}:g" \
-   -e "s:gnatls:gnatls-${GCC_PV}:g" \
-   Makefile \
-   gnat2why/Makefile || die
-   default
-}
-
-src_compile() {
-   emake GPRARGS="-XLIBRARY_TYPE=relocatable" gnat2why
-   emake PROD="-XLIBRARY_TYPE=relocatable" gnatprove
-}
-
-src_install() {
-   emake INSTALLDIR="${D}"/usr install
-   einstalldocs
-   dosym ../../../lib64/why3/why3server /usr/libexec/spark/bin/why3server
-   dobin install/bin/gnatprove
-   mv install/share/doc/spark/* "${D}"/usr/share/doc/${PF} || die
-   exeinto /usr/libexec/spark/bin
-   doexe install/bin/gnat2why
-   doexe install/bin/spark_memcached_wrapper
-   doexe install/bin/spark_report
-   doexe install/bin/spark_codepeer_wrapper
-   mv "${D}"/usr/bin/target.atp "${D}"/usr/libexec/spark/bin || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2018-12-18 Thread Alfredo Tupone
commit: 8b8705d7aef0b5688e0128a4ee6b96a5d14e457d
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Wed Dec 19 07:03:59 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Dec 19 07:03:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8705d7

dev-lang/spark: Maintainer ada  gentoo.org

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

 dev-lang/spark/metadata.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-lang/spark/metadata.xml b/dev-lang/spark/metadata.xml
index ca4e653c68e..2516831ba9a 100644
--- a/dev-lang/spark/metadata.xml
+++ b/dev-lang/spark/metadata.xml
@@ -1,9 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   tup...@gentoo.org
-   Tupone Alfredo
+   
+   a...@gentoo.org


SPARK is a software development technology specifically 
designed for



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2018-12-16 Thread Alfredo Tupone
commit: 2776edd97ed40cfb4a9228d7c7916949cb59a9a6
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Dec 16 08:37:23 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Dec 16 08:37:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2776edd9

dev-lang/spark: Stable

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

 dev-lang/spark/spark-2017.ebuild | 4 ++--
 dev-lang/spark/spark-2018.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-lang/spark/spark-2017.ebuild b/dev-lang/spark/spark-2017.ebuild
index 47ad4e812b0..be23d86d0c2 100644
--- a/dev-lang/spark/spark-2017.ebuild
+++ b/dev-lang/spark/spark-2017.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ 
SRC_URI="http://mirrors.cdn.adacore.com/art/591c4777c7a447af2deed05e
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE=""
 
 RDEPEND="dev-lang/gnat-gpl:6.3.0

diff --git a/dev-lang/spark/spark-2018.ebuild b/dev-lang/spark/spark-2018.ebuild
index 8aad4b2c9af..d538aa73fcb 100644
--- a/dev-lang/spark/spark-2018.ebuild
+++ b/dev-lang/spark/spark-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
@@ -16,7 +16,7 @@ 
SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a47
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE=""
 
 RDEPEND="dev-lang/gnat-gpl:7.3.1



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2018-07-15 Thread Alfredo Tupone
commit: 363cc8e281fc5159beadfae16b287d7f578cff07
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Jul 15 14:36:47 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Jul 15 14:36:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363cc8e2

dev-lang/spark: Fix path for gnatls

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/spark/spark-2018.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/spark/spark-2018.ebuild b/dev-lang/spark/spark-2018.ebuild
index e25af28a4b1..8aad4b2c9af 100644
--- a/dev-lang/spark/spark-2018.ebuild
+++ b/dev-lang/spark/spark-2018.ebuild
@@ -37,6 +37,7 @@ src_prepare() {
-e "s:gnatmake:gnatmake-${GCC_PV}:g" \
-e "s:gnatls:gnatls-${GCC_PV}:g" \
Makefile \
+   gnatprove/configuration.adb \
gnat2why/Makefile || die
default
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2018-07-15 Thread Alfredo Tupone
commit: 228032327ba5efdef41a23138d9c4cd2dd74c5e4
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Jul 15 08:21:33 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Jul 15 08:21:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22803232

dev-lang/spark: Version bump to 2018

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/spark/Manifest  |  2 ++
 dev-lang/spark/spark-2018.ebuild | 61 
 2 files changed, 63 insertions(+)

diff --git a/dev-lang/spark/Manifest b/dev-lang/spark/Manifest
index 459039cb881..e73c276d0b1 100644
--- a/dev-lang/spark/Manifest
+++ b/dev-lang/spark/Manifest
@@ -1,2 +1,4 @@
 DIST gnat-gpl-2017-src.tar.gz 8783473 BLAKE2B 
b0415b42f4d3a5e8675591a5602ff0a96945670104064671a232c0c12271ee141a3a5d148b8507bdab83cb8a0677c57b78e690060088308c51732bad3715964f
 SHA512 
ae7314a2241107ed4d962dce08306eeb34c5f11e26183935bbb1ccf3a5eb011d6457c1b6fcded93dd0ee9ba31d791971ebe2a5a5a0ae04ff80d87a670325a098
+DIST gnat-gpl-2018-src.tar.gz 8706578 BLAKE2B 
ba245fd91cc5263d5b8c159d9e75caf6bed21dcaa5fa43734af8775a4008ce5f96bfb84a8b5e6e734ff883314ab3219dacec3fe95a5baa33fb712bfb5ff8bce8
 SHA512 
0ff7e848ef77f7e772e2a1b01905307a91c332f32329456f5238c4b7eb46cc118709e8682a5fc826d98a7d99fd15a92c194f4a278f04bc465165cfa616cc3c2e
 DIST spark-gpl-2017-src.tar.gz 19750595 BLAKE2B 
840eb9044b732aad16d2b6be9972e4805caf1e1b521ba40cc2a234871775d0212153ed9e9f84b4a2ddbeefc2b9c7d7556db943153655df6051cf4dc3f1be2e01
 SHA512 
90e7644daa6a935c839da9799c6dc5fe0a566f29c5f5d0a964ef5c888581f18c11adf6aa0151ae72437b91430fae06604dab8c3f1fd3222d749cfd330293ff6e
+DIST spark-gpl-2018-src.tar.gz 20244517 BLAKE2B 
efb8120a869eaf79aa513ea3b3393dcefdb548e66a00a630bfb9d28a59785c15362c111df3635423a7312c491c9929a7bcd8e7161607dc4d3acd6d1c27f3ca3e
 SHA512 
83490a95c2d6401bcd077a8ec508eaf18609b5b480ccd9f247f4bb61164b5e52e34473526cd49ebdf5fd15ac422ed4a121dc50cab96241db02af9e32812a4df8

diff --git a/dev-lang/spark/spark-2018.ebuild b/dev-lang/spark/spark-2018.ebuild
new file mode 100644
index 000..e25af28a4b1
--- /dev/null
+++ b/dev-lang/spark/spark-2018.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs multiprocessing
+
+MYP=${PN}-gpl-${PV}
+
+DESCRIPTION="Software development for high-reliability applications."
+HOMEPAGE="http://libre.adacore.com;
+SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a47
+   -> ${MYP}-src.tar.gz
+   http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27aa5
+   -> gnat-gpl-2018-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-lang/gnat-gpl:7.3.1
+   dev-ada/gnatcoll-core[gnat_2018,shared]
+   sci-mathematics/alt-ergo
+   sci-mathematics/why3-for-spark"
+DEPEND="${RDEPEND}
+   dev-ada/gprbuild[gnat_2018]"
+
+S="${WORKDIR}"/${MYP}-src
+
+PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
+
+src_prepare() {
+   ln -sf "${WORKDIR}"/gnat-gpl-2018-src/src/ada gnat2why/gnat_src || die
+   GCC_PV=7.3.1
+   sed -i \
+   -e "s:gnatmake:gnatmake-${GCC_PV}:g" \
+   -e "s:gnatls:gnatls-${GCC_PV}:g" \
+   Makefile \
+   gnat2why/Makefile || die
+   default
+}
+
+src_compile() {
+   emake GPRARGS="-XLIBRARY_TYPE=relocatable" gnat2why
+   emake PROD="-XLIBRARY_TYPE=relocatable" gnatprove
+}
+
+src_install() {
+   emake INSTALLDIR="${D}"/usr install
+   einstalldocs
+   dosym ../../../lib64/why3/why3server /usr/libexec/spark/bin/why3server
+   dobin install/bin/gnatprove
+   mv install/share/doc/spark/* "${D}"/usr/share/doc/${PF} || die
+   exeinto /usr/libexec/spark/bin
+   doexe install/bin/gnat2why
+   doexe install/bin/spark_memcached_wrapper
+   doexe install/bin/spark_report
+   doexe install/bin/spark_codepeer_wrapper
+   mv "${D}"/usr/bin/target.atp "${D}"/usr/libexec/spark/bin || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2018-06-26 Thread Alfredo Tupone
commit: 2a44c2ce8dff33d5381fbaa1f39740f612145712
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Jun 26 19:25:16 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Jun 26 19:25:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a44c2ce

dev-lang/spark: Fix build.

Closes: https://bugs.gentoo.org/658554
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/spark/spark-2017.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-lang/spark/spark-2017.ebuild b/dev-lang/spark/spark-2017.ebuild
index e63d7069015..47ad4e812b0 100644
--- a/dev-lang/spark/spark-2017.ebuild
+++ b/dev-lang/spark/spark-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
@@ -20,8 +20,7 @@ KEYWORDS="~amd64"
 IUSE=""
 
 RDEPEND="dev-lang/gnat-gpl:6.3.0
-   >=dev-ada/gnatcoll-2017[gnat_2017,projects]
-   || ( dev-ada/gnatcoll[shared] dev-ada/gnatcoll[static] )
+   >=dev-ada/gnatcoll-2017[gnat_2017,projects,shared]
sci-mathematics/alt-ergo
sci-mathematics/why3-for-spark"
 DEPEND="${RDEPEND}
@@ -43,7 +42,8 @@ src_prepare() {
 }
 
 src_compile() {
-   emake gnat2why gnatprove
+   emake GPRARGS="-XLIBRARY_TYPE=relocatable" gnat2why
+   emake PROD="-XLIBRARY_TYPE=relocatable" gnatprove
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2017-11-06 Thread Alfredo Tupone
commit: a4c2721780b707858cb55d8651efc34add614913
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Mon Nov  6 21:10:52 2017 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Nov  6 21:10:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4c27217

dev-lang/spark: Re-allow zip in sci-mathematics/why3-for-spark

Package-Manager: Portage-2.3.8, Repoman-2.3.3

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

diff --git a/dev-lang/spark/spark-2017.ebuild b/dev-lang/spark/spark-2017.ebuild
index a47fb312815..e63d7069015 100644
--- a/dev-lang/spark/spark-2017.ebuild
+++ b/dev-lang/spark/spark-2017.ebuild
@@ -23,7 +23,7 @@ RDEPEND="dev-lang/gnat-gpl:6.3.0
>=dev-ada/gnatcoll-2017[gnat_2017,projects]
|| ( dev-ada/gnatcoll[shared] dev-ada/gnatcoll[static] )
sci-mathematics/alt-ergo
-   sci-mathematics/why3-for-spark[-zip]"
+   sci-mathematics/why3-for-spark"
 DEPEND="${RDEPEND}
dev-ada/gprbuild[gnat_2017]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2017-11-05 Thread Alfredo Tupone
commit: 40e581e9adb9355ae55c4c277a79625a0162aece
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Nov  5 19:13:41 2017 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Nov  5 19:13:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e581e9

dev-lang/spark: disable zip on why3

Package-Manager: Portage-2.3.8, Repoman-2.3.3

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

diff --git a/dev-lang/spark/spark-2017.ebuild b/dev-lang/spark/spark-2017.ebuild
index e63d7069015..a47fb312815 100644
--- a/dev-lang/spark/spark-2017.ebuild
+++ b/dev-lang/spark/spark-2017.ebuild
@@ -23,7 +23,7 @@ RDEPEND="dev-lang/gnat-gpl:6.3.0
>=dev-ada/gnatcoll-2017[gnat_2017,projects]
|| ( dev-ada/gnatcoll[shared] dev-ada/gnatcoll[static] )
sci-mathematics/alt-ergo
-   sci-mathematics/why3-for-spark"
+   sci-mathematics/why3-for-spark[-zip]"
 DEPEND="${RDEPEND}
dev-ada/gprbuild[gnat_2017]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/

2017-10-29 Thread Alfredo Tupone
commit: 90fb97d461d2bc1118357c065f4b35259379eb6c
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Oct 29 16:39:05 2017 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Oct 29 16:39:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90fb97d4

dev-lang/spark: Fix dev-ada/gnatcoll use depend

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-lang/spark/spark-2017.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/spark/spark-2017.ebuild b/dev-lang/spark/spark-2017.ebuild
index 9f1b5646a0e..e63d7069015 100644
--- a/dev-lang/spark/spark-2017.ebuild
+++ b/dev-lang/spark/spark-2017.ebuild
@@ -21,6 +21,7 @@ IUSE=""
 
 RDEPEND="dev-lang/gnat-gpl:6.3.0
>=dev-ada/gnatcoll-2017[gnat_2017,projects]
+   || ( dev-ada/gnatcoll[shared] dev-ada/gnatcoll[static] )
sci-mathematics/alt-ergo
sci-mathematics/why3-for-spark"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/files/, dev-lang/spark/

2017-10-21 Thread Alfredo Tupone
commit: f406928d9d838acf1e6052aa6a056c87af77952d
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sat Oct 21 18:20:11 2017 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Oct 21 18:20:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f406928d

dev-lang/spark: Add dev-lang/spark

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-lang/spark/Manifest  |  2 +
 dev-lang/spark/files/spark-2017-gentoo.patch | 10 +
 dev-lang/spark/metadata.xml  | 16 
 dev-lang/spark/spark-2017.ebuild | 60 
 4 files changed, 88 insertions(+)

diff --git a/dev-lang/spark/Manifest b/dev-lang/spark/Manifest
new file mode 100644
index 000..72f350b3621
--- /dev/null
+++ b/dev-lang/spark/Manifest
@@ -0,0 +1,2 @@
+DIST gnat-gpl-2017-src.tar.gz 8783473 SHA256 
91c9733fb8f8ca4c42fbcab3bc8a54fc83083126f6e6b630c9a36f3654537c29 SHA512 
ae7314a2241107ed4d962dce08306eeb34c5f11e26183935bbb1ccf3a5eb011d6457c1b6fcded93dd0ee9ba31d791971ebe2a5a5a0ae04ff80d87a670325a098
 WHIRLPOOL 
cf98ed36553ddfb54502f10898016017e387920bea074395c3a84047c2ec707734a9299de8c5f2f1931a53e04c24e67f8ab017437fbee7b7a658a6c0bca46e35
+DIST spark-gpl-2017-src.tar.gz 19750595 SHA256 
39f12849e0c537fe29b874ddc8f6949956894eb4b8e8f5451cbcea6bd3552622 SHA512 
90e7644daa6a935c839da9799c6dc5fe0a566f29c5f5d0a964ef5c888581f18c11adf6aa0151ae72437b91430fae06604dab8c3f1fd3222d749cfd330293ff6e
 WHIRLPOOL 
f476fd03e1c30f2bc9e92719bf7b3724699586e3c030096dac5c4042e44b6f2cbf28e410bd918e2f4c25ac930229e7b42d6ed6a0b18be65d6a234b8cedd6f5c7

diff --git a/dev-lang/spark/files/spark-2017-gentoo.patch 
b/dev-lang/spark/files/spark-2017-gentoo.patch
new file mode 100644
index 000..479a7ace4dc
--- /dev/null
+++ b/dev-lang/spark/files/spark-2017-gentoo.patch
@@ -0,0 +1,10 @@
+--- spark-gpl-2017-src/gnat2why/gnat2why_c.gpr.old 2017-10-04 
21:41:41.613376056 +0200
 spark-gpl-2017-src/gnat2why/gnat2why_c.gpr 2017-10-04 21:42:30.582572536 
+0200
+@@ -1,4 +1,7 @@
+ project Gnat2Why_C is
+for Languages use ("C");
+for Object_Dir use "obj";
++   package Compiler is
++  for Driver ("C") use External ("CC", "gcc");
++   end Compiler;
+ end Gnat2Why_C;

diff --git a/dev-lang/spark/metadata.xml b/dev-lang/spark/metadata.xml
new file mode 100644
index 000..ca4e653c68e
--- /dev/null
+++ b/dev-lang/spark/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   tup...@gentoo.org
+   Tupone Alfredo
+   
+   
+   SPARK is a software development technology specifically 
designed for
+   engineering high-reliability applications. It consists of a 
programming
+   language, a verification toolset and a design method which, 
taken
+   together, ensure that ultra-low defect software can be deployed 
in
+   application domains where high-reliability must be assured, for 
example
+   where safety and security are key requirements.
+   
+

diff --git a/dev-lang/spark/spark-2017.ebuild b/dev-lang/spark/spark-2017.ebuild
new file mode 100644
index 000..9f1b5646a0e
--- /dev/null
+++ b/dev-lang/spark/spark-2017.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs multiprocessing
+
+MYP=${PN}-gpl-${PV}
+
+DESCRIPTION="Software development for high-reliability applications."
+HOMEPAGE="http://libre.adacore.com;
+SRC_URI="http://mirrors.cdn.adacore.com/art/591c4777c7a447af2deed05e
+   -> ${MYP}-src.tar.gz
+   http://mirrors.cdn.adacore.com/art/591adbb4c7a4473fcc4532a3
+   -> gnat-gpl-2017-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-lang/gnat-gpl:6.3.0
+   >=dev-ada/gnatcoll-2017[gnat_2017,projects]
+   sci-mathematics/alt-ergo
+   sci-mathematics/why3-for-spark"
+DEPEND="${RDEPEND}
+   dev-ada/gprbuild[gnat_2017]"
+
+S="${WORKDIR}"/${MYP}-src
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_prepare() {
+   ln -sf "${WORKDIR}"/gnat-gpl-2017-src/src/ada gnat2why/gnat_src || die
+   GCC_PV=6.3.0
+   sed -i \
+   -e "s:gnatmake:gnatmake-${GCC_PV}:g" \
+   -e "s:gnatls:gnatls-${GCC_PV}:g" \
+   Makefile \
+   gnat2why/Makefile || die
+   default
+}
+
+src_compile() {
+   emake gnat2why gnatprove
+}
+
+src_install() {
+   emake INSTALLDIR="${D}"/usr install
+   einstalldocs
+   dosym ../../../lib64/why3/why3server /usr/libexec/spark/bin/why3server
+   dobin install/bin/gnatprove
+   mv install/share/doc/spark/* "${D}"/usr/share/doc/${PF} || die
+   exeinto /usr/libexec/spark/bin
+   doexe install/bin/gnat2why
+   doexe install/bin/spark_memcached_wrapper
+   doexe install/bin/spark_report
+   doexe