From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9535759CB1 for ; Mon, 11 Apr 2016 05:56:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1379E0874; Mon, 11 Apr 2016 05:56:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64351E0874 for ; Mon, 11 Apr 2016 05:56:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 194D3340A6A for ; Mon, 11 Apr 2016 05:56:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 629AD15F for ; Mon, 11 Apr 2016 05:56:02 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1460354154.34d7ae636f2768fcb371f3f404654d67013ef02f.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/coq/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/coq/Manifest sci-mathematics/coq/coq-8.5_p1.ebuild X-VCS-Directories: sci-mathematics/coq/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 34d7ae636f2768fcb371f3f404654d67013ef02f X-VCS-Branch: master Date: Mon, 11 Apr 2016 05:56:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f33f001b-7938-4ae4-a430-b38cf8f05d2a X-Archives-Hash: 12c4bd10f75bceb62e0de6aeabb62974 commit: 34d7ae636f2768fcb371f3f404654d67013ef02f Author: Alexis Ballier gentoo org> AuthorDate: Mon Apr 11 05:55:47 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon Apr 11 05:55:54 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d7ae63 sci-mathematics/coq: bump to 8.5pl1 Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier gentoo.org> sci-mathematics/coq/Manifest | 1 + sci-mathematics/coq/coq-8.5_p1.ebuild | 96 +++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) diff --git a/sci-mathematics/coq/Manifest b/sci-mathematics/coq/Manifest index 488365d..1570130 100644 --- a/sci-mathematics/coq/Manifest +++ b/sci-mathematics/coq/Manifest @@ -1,3 +1,4 @@ DIST coq-8.4pl5.tar.gz 4070062 SHA256 35815ab78a58d72799eacaab155427620ab071677882ca6c98d7bfec97d25245 SHA512 0965ff409933d601a5c96963ea805ce20dd22f1fd9a9473898de1b376403b4e7a9a86b36b58eb1480cfb3a25970626e1dcd225899c089f5a301f4809e7f8f242 WHIRLPOOL 6dea97e7fe655a33757e8f031b28f91f98558e53205890d6b9d928d5641c05814f8d743cb02c39b26dcf93aa4076c5bbd9710a7dfd9f6a3456e38039b0cb8220 DIST coq-8.4pl6.tar.gz 4099815 SHA256 a540a231a9970a49353ca039f3544616ff86a208966ab1c593779ae13c91ebd6 SHA512 238bc6e28348f40f5619aa28d2e871179d9edeb6eb3f2521af6f407e24a889c8c68fa11c8b12e026f016f0fb7d5006447c3ab7eeae0804fc082d65774aefe0ef WHIRLPOOL 2120dcddce773d90ba024e97fc00df3d563edf398eaf0bbb3dc1df1265b5e657cb4044d334f598898c30a88f0579b35b38f1d6bad4ea5e373a0a30826b245e99 DIST coq-8.5.tar.gz 5346653 SHA256 89a92fb8b91e7cb0797d41c87cd13e4b63bee76c32a6dcc3d7c8055ca6a9ae3d SHA512 28835a9dc4c926f97b14d23fe746e45e17942003e29807ec59f301eb0b697d704f05afc4cccd31b83bc27e9877d079d00e94a2101ba16ae32f4134e90ad011fb WHIRLPOOL 30925b92f71ba606e43f1b46368822e8d6f6e6c1ae500c8fe1fc912c4ef0608c6db3c070d37ffabbd0e054eac0ff7d1b1e46eae33b73149bf238101b20a0f6d2 +DIST coq-8.5pl1.tar.gz 5364928 SHA256 97047fc5e628f22e308efd3e86f625ae0504507decb96f2541e8e67eeaac20e8 SHA512 d907398e293cfc708c9314b3bbd57abf0806883cc1891d2b428f24e338953147586c0754e880fe679dfa893278335376287f6667db6c83dc7cb44a9e8afaddd1 WHIRLPOOL 7c65fd6a6804691492968d8b38cbbd34ac3fb9773cdea368679c206f735400d378e6d3786ce1955b22ac5ec4811beefaf83a6b656fb46a855e75c00c00608f21 diff --git a/sci-mathematics/coq/coq-8.5_p1.ebuild b/sci-mathematics/coq/coq-8.5_p1.ebuild new file mode 100644 index 0000000..1dffb39 --- /dev/null +++ b/sci-mathematics/coq/coq-8.5_p1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils multilib + +MY_PV=${PV/_p/pl} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Proof assistant written in O'Caml" +HOMEPAGE="http://coq.inria.fr/" +SRC_URI="http://${PN}.inria.fr/distrib/V${MY_PV}/files/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gtk debug +ocamlopt doc camlp5" + +RDEPEND=" + >=dev-lang/ocaml-3.11.2:=[ocamlopt?] + camlp5? ( >=dev-ml/camlp5-6.02.3:=[ocamlopt?] ) + !camlp5? ( dev-ml/camlp4:= ) + gtk? ( >=dev-ml/lablgtk-2.10.1:=[sourceview,ocamlopt?] )" +DEPEND="${RDEPEND} + doc? ( + media-libs/netpbm[png,zlib] + virtual/latex-base + dev-tex/hevea + dev-tex/xcolor + dev-texlive/texlive-pictures + dev-texlive/texlive-mathextra + dev-texlive/texlive-latexextra + )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}/${PN}-8.5-do-not-install-revision.patch" + epatch "${FILESDIR}/${PN}-8.4_p5-no-clean-before-test.patch" +} + +src_configure() { + ocaml_lib=$(ocamlc -where) + local myconf=( + -prefix /usr + -bindir /usr/bin + -libdir /usr/$(get_libdir)/coq + -mandir /usr/share/man + -emacslib /usr/share/emacs/site-lisp + -coqdocdir /usr/$(get_libdir)/coq/coqdoc + -docdir /usr/share/doc/${PF} + -configdir /etc/xdg/${PN} + -lablgtkdir ${ocaml_lib}/lablgtk2 + ) + + use debug && myconf+=( -debug ) + use doc || myconf+=( -with-doc no ) + + if use gtk; then + if use ocamlopt; then + myconf+=( -coqide opt ) + else + myconf+=( -coqide byte ) + fi + else + myconf+=( -coqide no ) + fi + + use ocamlopt || myconf+=( -byte-only ) + + if use camlp5; then + myconf+=( -usecamlp5 -camlp5dir ${ocaml_lib}/camlp5 ) + else + myconf+=( -usecamlp4 ) + fi + + export CAML_LD_LIBRARY_PATH="${S}/kernel/byterun/" + ./configure ${myconf[@]} || die "configure failed" +} + +src_compile() { + emake STRIP="true" -j1 world VERBOSE=1 +} + +src_test() { + emake STRIP="true" check VERBOSE=1 +} + +src_install() { + emake STRIP="true" COQINSTALLPREFIX="${D}" install VERBOSE=1 + dodoc README CREDITS CHANGES + + use gtk && make_desktop_entry "coqide" "Coq IDE" "${EPREFIX}/usr/share/coq/coq.png" +}