Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/agda: metadata.xml ChangeLog agda-1.0.2-r2.ebuild agda-1.0.2-r1.ebuild agda-1.0.2.ebuild
Date: Fri, 05 Dec 2008 16:58:20
Message-Id: E1L8e0P-0008Pu-CV@stork.gentoo.org
1 bicatali 08/12/05 16:58:17
2
3 Modified: metadata.xml ChangeLog
4 Added: agda-1.0.2-r2.ebuild
5 Removed: agda-1.0.2-r1.ebuild agda-1.0.2.ebuild
6 Log:
7 Emacs and dependencies fixes, thanks to ulm, bug #249360. Removed -j1 since parallel building seems to work again.
8 (Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64)
9
10 Revision Changes Path
11 1.4 sci-mathematics/agda/metadata.xml
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/agda/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/agda/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/agda/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/agda/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 31 Jul 2007 21:55:39 -0000 1.3
24 +++ metadata.xml 5 Dec 2008 16:58:17 -0000 1.4
25 @@ -1,6 +1,12 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 - <herd>sci</herd>
30 - <herd>haskell</herd>
31 + <herd>sci-mathematics</herd>
32 + <herd>haskell</herd>
33 +<longdescription lang="en">
34 + Agda is an interactive proof editor, or proof assistant. Its input language,
35 + called Agda language (or simply Agda), is based on a constructive type
36 + theory á la Martin-Löf, extended with dependent record types,
37 + inductive definitions, module structures and a class hierarchy mechanism.
38 +</longdescription>
39 </pkgmetadata>
40
41
42
43 1.8 sci-mathematics/agda/ChangeLog
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/agda/ChangeLog?rev=1.8&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/agda/ChangeLog?rev=1.8&content-type=text/plain
47 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/agda/ChangeLog?r1=1.7&r2=1.8
48
49 Index: ChangeLog
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/agda/ChangeLog,v
52 retrieving revision 1.7
53 retrieving revision 1.8
54 diff -u -r1.7 -r1.8
55 --- ChangeLog 26 Jul 2008 11:37:35 -0000 1.7
56 +++ ChangeLog 5 Dec 2008 16:58:17 -0000 1.8
57 @@ -1,6 +1,13 @@
58 # ChangeLog for sci-mathematics/agda
59 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
60 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda/ChangeLog,v 1.7 2008/07/26 11:37:35 markusle Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda/ChangeLog,v 1.8 2008/12/05 16:58:17 bicatali Exp $
62 +
63 +*agda-1.0.2-r2 (05 Dec 2008)
64 +
65 + 05 Dec 2008; Sébastien Fabbro <bicatali@g.o> metadata.xml,
66 + -agda-1.0.2.ebuild, -agda-1.0.2-r1.ebuild, +agda-1.0.2-r2.ebuild:
67 + Emacs and dependencies fixes, thanks to ulm, bug #249360. Removed -j1
68 + since parallel building seems to work again.
69
70 26 Jul 2008; Markus Dittrich <markusle@g.o>
71 +files/agda-1.0.2-upstream-fixes.patch, agda-1.0.2.ebuild,
72
73
74
75 1.1 sci-mathematics/agda/agda-1.0.2-r2.ebuild
76
77 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/agda/agda-1.0.2-r2.ebuild?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/agda/agda-1.0.2-r2.ebuild?rev=1.1&content-type=text/plain
79
80 Index: agda-1.0.2-r2.ebuild
81 ===================================================================
82 # Copyright 1999-2008 Gentoo Foundation
83 # Distributed under the terms of the GNU General Public License v2
84 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda/agda-1.0.2-r2.ebuild,v 1.1 2008/12/05 16:58:17 bicatali Exp $
85
86 inherit elisp-common eutils
87
88 MY_PN="Agda"
89 S="${WORKDIR}/${MY_PN}-${PV}"
90
91 DESCRIPTION="Proof assistant in Haskell"
92 HOMEPAGE="http://unit.aist.go.jp/cvs/Agda/"
93 SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}.tar.gz"
94
95 LICENSE="MIT"
96 SLOT="0"
97 KEYWORDS="~amd64 ~x86"
98 IUSE="emacs"
99
100 RDEPEND="emacs? ( virtual/emacs app-emacs/haskell-mode )"
101 DEPEND="${RDEPEND}
102 dev-lang/ghc
103 dev-haskell/mtl"
104
105 SITEFILE="50${PN}-gentoo.el"
106
107 src_unpack() {
108 unpack ${A}
109 cd "${S}"
110 epatch "${FILESDIR}"/${PN}-make_install.patch
111 epatch "${FILESDIR}"/${P}-upstream-fixes.patch
112
113 sed -e "s:-package lang::" -i src/Makefile.in \
114 || die "Failed to fix Makfile.in"
115 }
116
117 src_compile() {
118 econf --enable-newsyntax
119 emake || die "emake failed"
120 #if use doc ; then
121 # emake html
122 #fi
123 }
124
125 src_install() {
126 emake -C src ROOT="${D}" install || die "make install failed"
127 dosym /usr/lib/EmacsAgda/bin/emacsagda /usr/bin/emacsagda
128 dosym emacsagda /usr/bin/agda
129
130 if use emacs; then
131 elisp-install ${PN} elisp/agda-mode.el || die
132 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
133 fi
134 }
135
136 pkg_postinst() {
137 use emacs && elisp-site-regen
138 }
139
140 pkg_postrm() {
141 use emacs && elisp-site-regen
142 }