diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-06-21 22:25:25 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-06-21 22:25:25 +0200 |
commit | 96a3ac953c4bdd21b64dc92507f62d325bed8536 (patch) | |
tree | b9d615861eaba1390068c688edb3f55cdb217520 /dev-lang/spark | |
parent | sys-libs/libcap: Bump to version 2.51 (diff) | |
download | gentoo-96a3ac953c4bdd21b64dc92507f62d325bed8536.tar.gz gentoo-96a3ac953c4bdd21b64dc92507f62d325bed8536.tar.bz2 gentoo-96a3ac953c4bdd21b64dc92507f62d325bed8536.zip |
dev-lang/spark: version bump to 2021
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-lang/spark')
-rw-r--r-- | dev-lang/spark/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/spark/spark-2021.ebuild | 87 |
2 files changed, 89 insertions, 0 deletions
diff --git a/dev-lang/spark/Manifest b/dev-lang/spark/Manifest index ae89247fb3a6..853dd1faf695 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 4d57c97fc1f3d5274e0c4ffa536ec056e7c3f1619010affff008cd07a0bfa638d18fee1705a5dd76f12d168baef85677cc34ef40f5e52fd5292ac886c0d4c5ee +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 000000000000..01b830534810 --- /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 share/spark/runtimes/README + insinto /usr/include/spark + doins include/*.ad? + insinto /usr/lib/gnat + doins include/*.gpr + doins -r include/proof + + dosym ../../../lib64/why3/why3server /usr/libexec/spark/bin/why3server + dobin install/bin/gnatprove + 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 + doexe install/bin/spark_semaphore_wrapper + + einstalldocs +} |