summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-02-23 21:15:41 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-02-23 21:15:41 +0000
commit6119e2022abe10ebbd3dfa52848893f0e720ae35 (patch)
tree393c0dddcbfdbecc8ddcfac9442430ece468ea1f /sci-mathematics
parentremove old (diff)
downloadhistorical-6119e2022abe10ebbd3dfa52848893f0e720ae35.tar.gz
historical-6119e2022abe10ebbd3dfa52848893f0e720ae35.tar.bz2
historical-6119e2022abe10ebbd3dfa52848893f0e720ae35.zip
version bump
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/coq/ChangeLog9
-rw-r--r--sci-mathematics/coq/Manifest10
-rw-r--r--sci-mathematics/coq/coq-8.3_p3.ebuild82
3 files changed, 95 insertions, 6 deletions
diff --git a/sci-mathematics/coq/ChangeLog b/sci-mathematics/coq/ChangeLog
index eb83a476b86b..035656887ea9 100644
--- a/sci-mathematics/coq/ChangeLog
+++ b/sci-mathematics/coq/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/coq
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/coq/ChangeLog,v 1.67 2011/10/05 18:54:43 aballier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/coq/ChangeLog,v 1.68 2012/02/23 21:15:41 aballier Exp $
+
+*coq-8.3_p3 (23 Feb 2012)
+
+ 23 Feb 2012; Alexis Ballier <aballier@gentoo.org> +coq-8.3_p3.ebuild:
+ version bump
05 Oct 2011; Alexis Ballier <aballier@gentoo.org> coq-8.3_p1.ebuild,
coq-8.3_p2.ebuild:
diff --git a/sci-mathematics/coq/Manifest b/sci-mathematics/coq/Manifest
index b65a02ea1e3f..576ed9b3759b 100644
--- a/sci-mathematics/coq/Manifest
+++ b/sci-mathematics/coq/Manifest
@@ -4,14 +4,16 @@ Hash: SHA1
AUX coqide.desktop 233 RMD160 3f9d112d7f55454f72c42b427005b37971c6e928 SHA1 40571b86c25793e7d4e9bef80f637d7440b03704 SHA256 dba2e81a408ae51e187c2a164794f9505c4abfa0b92f47a44d0e9f96e2b6dfac
DIST coq-8.3pl1.tar.gz 3756961 RMD160 687983bcaca723299b6ea902a1e1b07338209d55 SHA1 3fae9fa2fd6f39c9fb3c0b67fcd5e71f1e7a5f9f SHA256 3a497386bd74f43a5af1d0c53f29a017ce7ed1b1e60c052217fe04b7f40be928
DIST coq-8.3pl2.tar.gz 3760176 RMD160 f59ee288a35c1009f88f050362bee21311b459a8 SHA1 8506761e4755739cc728aff790dd778db8217f3f SHA256 b82b44ec585903b6bfadca02008eb5549cda46038c776ec115bc408c4e0f34f1
+DIST coq-8.3pl3.tar.gz 3859883 RMD160 8d44bb8df810c644d10c53d0496cd28ea66fcbb3 SHA1 a5b0cbca8bf556fe7eb804ccdb39bba49e1ae014 SHA256 af259e9a723761327137018fdc0b98ada71095ff033b9e169d175d92b9537947
EBUILD coq-8.3_p1.ebuild 2142 RMD160 9f6c3f5ffcd8a6575ab544eb1a30e10a353d23ee SHA1 7385d4ac8d7ec8b248a152942afbe8bc07941f51 SHA256 812c6ef68e6cbd4608eec74489e850c8349be6d79901d76f31e4c709be67767b
EBUILD coq-8.3_p2.ebuild 2216 RMD160 ba1d1da6b97b0b4085d4daae3f6b0d36c91fe46a SHA1 d0e0ce2d40ec489a0adc301861daaf2292a1459d SHA256 9c3560e18a37da322ee9f5a2e89929164734eb887255e1dca54de4e7fc1800aa
-MISC ChangeLog 10946 RMD160 21cd6949616ce69c888dbf7e45b5fff397eac455 SHA1 8bf15b518d5461a9759de7894a1cf67a1f852370 SHA256 9dc924c7551ef9bc4f6270558551d89abbaa3e5a7336616e34ea008c60994c17
+EBUILD coq-8.3_p3.ebuild 2216 RMD160 14ffbe87a77268dea5b027996d3119cfa93dc427 SHA1 82fccd246971d527ef0ac46a56e2335e8f982cbc SHA256 09a50c701b25b1313acdcdd16f09e65bd53b0ed5a2131e1a3a5d608af4df7a2f
+MISC ChangeLog 11061 RMD160 ca9845dd4e39f253f640b67e4c2e506984206475 SHA1 f421f5714f4af8e5f7b5aa0330db05b49e5e4e56 SHA256 e48c065f5beefed60d2d1f4e0dbefa73b68b2c09c5f120fcf71edae779aefd29
MISC metadata.xml 788 RMD160 98e6a38354c1398f7bed64f34aa88e1d439190b3 SHA1 7d9ce5fed17eaf9bf756b493c76c27678212995b SHA256 5028003bf6d1ec17b51ce45c17bb565137f825a5eefcdf57de4a98c5c61d0626
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk6Mp/kACgkQvFcC4BYPU0qnLACeNxB+OMk6UOQEwoNxPo/x0xFx
-p9MAoJJDD4ptaeZD3fqdCt72nM0oPgdh
-=GKdn
+iEYEARECAAYFAk9GrIIACgkQvFcC4BYPU0qyywCgv1XMRfLYPrn44OD7z/WezCjf
+lOgAn3/Mx5iZzG5mJv+ja1Cau1GdloOO
+=rceO
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/coq/coq-8.3_p3.ebuild b/sci-mathematics/coq/coq-8.3_p3.ebuild
new file mode 100644
index 000000000000..8836580a4c88
--- /dev/null
+++ b/sci-mathematics/coq/coq-8.3_p3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/coq/coq-8.3_p3.ebuild,v 1.1 2012/02/23 21:15:41 aballier Exp $
+
+EAPI="2"
+
+inherit eutils multilib
+
+MY_PV=${PV/_p/pl}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Coq is a proof assistant written in O'Caml"
+HOMEPAGE="http://coq.inria.fr/"
+SRC_URI="http://${PN}.inria.fr/V${MY_PV}/files/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk debug +ocamlopt doc"
+
+RDEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]
+ >=dev-ml/camlp5-5.09[ocamlopt?]
+ gtk? ( >=dev-ml/lablgtk-2.10.1[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() {
+ # configure has an error at line 640 leading to closing a
+ # string to early in the generated coq_config.ml. Here is a
+ # wild sed which replaces \"$LABLGTKLIB\" by $LABLGTKLIB. Note
+ # during pl2-bump: Hmm, my patch did not get applied upstream?
+ sed -i "s/\\\\\"\\\$LABLGTKLIB\\\\\"/\\\$LABLGTKLIB/" configure
+}
+
+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}
+ --camlp5dir ${ocaml_lib}/camlp5
+ --lablgtkdir ${ocaml_lib}/lablgtk2"
+
+ use debug && myconf="--debug $myconf"
+ use doc || myconf="$myconf --with-doc no"
+
+ if use gtk; then
+ use ocamlopt && myconf="$myconf --coqide opt"
+ use ocamlopt || myconf="$myconf --coqide byte"
+ else
+ myconf="$myconf --coqide no"
+ fi
+ use ocamlopt || myconf="$myconf -byte-only"
+ use ocamlopt && myconf="$myconf --opt"
+
+ export CAML_LD_LIBRARY_PATH="${S}/kernel/byterun/"
+ ./configure $myconf || die "configure failed"
+}
+
+src_compile() {
+ emake STRIP="true" -j1 || die "make failed"
+}
+
+src_install() {
+ emake STRIP="true" COQINSTALLPREFIX="${D}" install || die
+ dodoc README CREDITS CHANGES
+
+ use gtk && domenu "${FILESDIR}/coqide.desktop"
+}