commit:     aea65604ea143ed47ffbb54c9628113ec26908c9
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  2 14:22:42 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Apr  2 14:22:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aea65604

sci-mathematics/why3-for-spark: drop 2020

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

 sci-mathematics/why3-for-spark/Manifest            |   1 -
 .../files/why3-for-spark-2020-flags.patch          |  28 -----
 .../why3-for-spark/why3-for-spark-2020.ebuild      | 119 ---------------------
 3 files changed, 148 deletions(-)

diff --git a/sci-mathematics/why3-for-spark/Manifest 
b/sci-mathematics/why3-for-spark/Manifest
index c3956f9e07e6..1653ff46cefc 100644
--- a/sci-mathematics/why3-for-spark/Manifest
+++ b/sci-mathematics/why3-for-spark/Manifest
@@ -1,2 +1 @@
-DIST 
8bb5801e17b8b23453262da69c981c091959eec7?filename=why3-2020-20200429-199EF-src.tar.gz
 9739066 BLAKE2B 
c7c11a92d4926f90be9ffa94d74e65ad78423953b53ee617565ccfcea4a5a60b251367b0712c30d170ab717d5868f7d95d62694f38c3d2f52805a28a6522ab8a
 SHA512 
61cd5509957230ff81186d2507b9749b182cdc44698f6658337ce294d210742e57164d25d7c0eb3eb5ea0c53f5f46dea099e6a0769fadcb709a5a8557ed3cae3
 DIST why3-2021-20210519-19ADF-src.tar.gz 10386938 BLAKE2B 
93b6323c562126244f5cccef34088a521fe3dc1cec07c966e94472503ec8492707b20a641936449307f0439e711a82260d36679cbc69f53df8e7886a1d3673c3
 SHA512 
65e3c1430001962f2c7cce786f3e30f14b5295cff89c4087d95c1545e81743723319ba0309dbe15c4c46552110b25ff57addc3ee085dade02ea59a2273b127db

diff --git 
a/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-flags.patch 
b/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-flags.patch
deleted file mode 100644
index 2e5247ac3fa6..000000000000
--- a/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-flags.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/Makefile.in      2020-06-12 21:03:33.375534124 +0200
-+++ b/Makefile.in      2020-06-12 21:03:48.623283408 +0200
-@@ -121,7 +121,7 @@
- 
- WARNINGS = A-4-9-41-44-45-50-52@5@8@48
- 
--FLAGS = -w $(WARNINGS) -safe-string -keep-locs -bin-annot -dtypes -g 
$(INCLUDES)
-+FLAGS = -w $(WARNINGS) -safe-string -keep-locs -bin-annot -dtypes -g 
$(INCLUDES) -cclib "$(LDFLAGS)" -ccopt "$(CFLAGS)"
- OFLAGS = $(FLAGS)
- BFLAGS = $(FLAGS)
- 
-@@ -664,13 +664,13 @@
- all: $(TOOLS)
- 
- lib/why3server$(EXE): $(SERVER_O)
--      $(CC) -Wall -o $@ $^
-+      $(CC) -Wall $(CFLAGS) -o $@ $^ $(LDFLAGS)
- 
- lib/why3cpulimit$(EXE): $(CPULIM_O)
--      $(CC) -Wall -o $@ $^
-+      $(CC) -Wall $(CFLAGS) -o $@ $^ $(LDFLAGS)
- 
- %.o: %.c
--      $(CC) -Wall -O -g -o $@ -c $<
-+      $(CC) -Wall -O -g $(CFLAGS) -o $@ -c $<
- 
- uninstall-bin::
-       rm -f $(LIBDIR)/why3/why3server$(EXE) $(LIBDIR)/why3/why3cpulimit$(EXE)

diff --git a/sci-mathematics/why3-for-spark/why3-for-spark-2020.ebuild 
b/sci-mathematics/why3-for-spark/why3-for-spark-2020.ebuild
deleted file mode 100644
index 201e90379c72..000000000000
--- a/sci-mathematics/why3-for-spark/why3-for-spark-2020.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-MYP=why3-${PV}-20200429-199EF-src
-
-DESCRIPTION="Platform for deductive program verification"
-HOMEPAGE="https://why3.lri.fr/";
-SRC_URI="https://community.download.adacore.com/v1/8bb5801e17b8b23453262da69c981c091959eec7?filename=${MYP}.tar.gz";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="doc emacs gtk html +ocamlopt zarith zip"
-RESTRICT="strip"
-
-DEPEND=">=dev-lang/ocaml-4.09.0:=[ocamlopt=]
-       >=dev-ml/ocamlbuild-0.14.0
-       dev-ml/menhir:=
-       <dev-ml/num-1.4:=
-       dev-ml/yojson:=
-       doc? (
-               dev-tex/rubber
-               dev-python/sphinx
-               media-gfx/graphviz
-               dev-python/sphinxcontrib-bibtex
-       )
-       gtk? ( >=dev-ml/lablgtk-2.18.8:=[sourceview] )
-       emacs? ( >=app-editors/emacs-23.1:* )
-       html? ( dev-tex/hevea:= )
-       zarith? ( dev-ml/zarith:= )
-       zip? ( >=dev-ml/camlzip-1.07:= )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"/${MYP}
-
-PATCHES=(
-       "${FILESDIR}"/${P}-gentoo.patch
-       "${FILESDIR}"/${P}-flags.patch
-       "${FILESDIR}"/${P}-bibtex.patch
-)
-
-QA_FLAGS_IGNORED=(
-       /usr/lib64/why3/commands/why3shell
-       /usr/lib64/why3/commands/why3extract
-       /usr/lib64/why3/commands/why3execute
-       /usr/lib64/why3/commands/why3prove
-       /usr/lib64/why3/commands/why3wc
-       /usr/lib64/why3/commands/why3doc
-       /usr/lib64/why3/commands/why3replay
-       /usr/lib64/why3/commands/why3webserver
-       /usr/lib64/why3/plugins/'.*'.cmxs
-       /usr/lib64/ocaml/why3/why3.cmxs
-       /usr/lib64/ocaml/why3/why3extract.cmxs
-       /usr/bin/why3
-       /usr/bin/why3config
-       /usr/bin/why3session
-       /usr/bin/gnat_server
-       /usr/bin/gnatwhy3
-       /usr/bin/why3realize
-)
-
-REQUIRED_USE="html? ( doc )"
-
-src_prepare() {
-       find examples -name \*gz | xargs gunzip
-       default
-       eautoreconf
-}
-
-src_configure() {
-       econf \
-               --disable-pvs-libs \
-               --disable-isabelle-libs \
-               --enable-verbose-make \
-               --disable-coq-libs \
-               $(use_enable doc) \
-               $(use_enable emacs emacs-compilation) \
-               $(use_enable gtk ide) \
-               $(use_enable html html-pdf) \
-               $(use_enable ocamlopt native-code) \
-               $(use_enable zarith) \
-               $(use_enable zip)
-}
-
-src_compile() {
-       emake -j1
-       if use ocamlopt; then
-               emake byte
-       fi
-       use doc && emake doc
-}
-
-src_install() {
-       emake DESTDIR="${D}" -j1 install
-       emake DESTDIR="${D}" -j1 install-lib
-       emake DESTDIR="${D}" install_spark2014_dev
-       local cmdPath=/usr/$(get_libdir)/why3/commands
-       dosym ../why3server ${cmdPath}/why3server
-       # Remove duplicated files
-       for filename in config ide realize server session; do
-               if [[ -e "${D}"${cmdPath}/why3${filename} ]]; then
-                       rm "${D}"${cmdPath}/why3${filename}
-                       dosym ../../../bin/why3${filename} 
${cmdPath}/why3${filename}
-               fi
-       done
-       rm "${D}"/usr/$(get_libdir)/why3/why3cpulimit
-       dosym ../../bin/why3cpulimit /usr/$(get_libdir)/why3/why3cpulimit
-
-       einstalldocs
-       docompress -x /usr/share/doc/${PF}/examples
-       dodoc -r examples
-       if use doc; then
-               use html && dodoc -r doc/html
-       fi
-}

Reply via email to