From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/why3/
Date: Thu, 4 Mar 2021 11:53:00 +0000 (UTC) [thread overview]
Message-ID: <1614858759.bd7ac0e244a891713e3dea57ca737b4dfd980175.andrewammerlaan@gentoo> (raw)
commit: bd7ac0e244a891713e3dea57ca737b4dfd980175
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar 4 11:52:39 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar 4 11:52:39 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=bd7ac0e2
sci-mathematics/why3: version bump 1.3.3, EAPI bump
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-mathematics/why3/why3-1.3.3.ebuild | 67 ++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/sci-mathematics/why3/why3-1.3.3.ebuild b/sci-mathematics/why3/why3-1.3.3.ebuild
new file mode 100644
index 000000000..41c1f9b9f
--- /dev/null
+++ b/sci-mathematics/why3/why3-1.3.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DOCS_BUILDER="sphinx"
+DOCS_DIR="doc"
+DOCS_DEPEND="
+ dev-python/sphinxcontrib-bibtex
+ dev-python/graphviz
+"
+
+inherit python-any-r1 docs
+
+DESCRIPTION="Why3 is a platform for deductive program verification"
+HOMEPAGE="http://why3.lri.fr/"
+SRC_URI="https://gforge.inria.fr/frs/download.php/file/38367/why3-1.3.3.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="float frama-c examples"
+
+DEPEND="
+ >=dev-lang/ocaml-3.12.1
+ dev-ml/zarith
+ dev-ml/menhir
+ dev-ml/num
+ sci-mathematics/coq
+ frama-c? ( >=sci-mathematics/frama-c-20140301 )
+ float? ( sci-mathematics/flocq )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ mv doc/why.1 doc/why3.1 || die
+ sed -i configure.in -e "s/\"pvs\"/\"sri-pvs\"/g" || die
+ sed -i configure -e "s/\"pvs\"/\"sri-pvs\"/g" || die
+ # fix dev-ml/num path
+ sed -i configure.in -e "s/nums.cma/num.cma/g" -e "s/num.cmi/core\/num.cmi/g" || die
+ sed -i configure -e "s/nums.cma/num.cma/g" -e "s/num.cmi/core\/num.cmi/g" || die
+ sed -i Makefile.in -e "s:DESTDIR =::g" \
+ -e "s:\$(RUBBER) --warn all --pdf manual.tex:makeindex manual.tex; \$(RUBBER) --warn all --pdf manual.tex; cd ..:g" || die
+ # add autodoc to sphinx
+ sed -i -e "/^extensions = \[/a \ \ \ \ \'sphinx.ext.autodoc\'," doc/conf.py || die
+}
+
+src_configure() {
+ econf $(use_enable frama-c)
+}
+
+src_compile() {
+ docs_compile
+ default
+}
+
+src_install(){
+ default
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
next reply other threads:[~2021-03-04 11:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-04 11:53 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-13 10:57 [gentoo-commits] proj/sci:master commit in: sci-mathematics/why3/ Andrew Ammerlaan
2021-03-04 13:53 Andrew Ammerlaan
2021-03-04 13:07 Andrew Ammerlaan
2021-03-04 11:53 Andrew Ammerlaan
2016-06-15 14:57 Marius Brehler
2015-02-08 21:07 Christoph Junghans
2014-09-16 4:07 Christoph Junghans
2014-09-02 21:19 Jauhien Piatlicki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1614858759.bd7ac0e244a891713e3dea57ca737b4dfd980175.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox