1 |
gienah 15/08/02 13:50:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: agda-2.4.2.3-r1.ebuild |
5 |
Log: |
6 |
Bump agda to 2.4.2.3-r1 |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 618E971F) |
9 |
|
10 |
Revision Changes Path |
11 |
1.33 sci-mathematics/agda/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/agda/ChangeLog?rev=1.33&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/agda/ChangeLog?rev=1.33&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/agda/ChangeLog?r1=1.32&r2=1.33 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/agda/ChangeLog,v |
20 |
retrieving revision 1.32 |
21 |
retrieving revision 1.33 |
22 |
diff -u -r1.32 -r1.33 |
23 |
--- ChangeLog 2 Aug 2015 10:52:08 -0000 1.32 |
24 |
+++ ChangeLog 2 Aug 2015 13:50:45 -0000 1.33 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sci-mathematics/agda |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda/ChangeLog,v 1.32 2015/08/02 10:52:08 slyfox Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda/ChangeLog,v 1.33 2015/08/02 13:50:45 gienah Exp $ |
30 |
+ |
31 |
+*agda-2.4.2.3-r1 (02 Aug 2015) |
32 |
+ |
33 |
+ 02 Aug 2015; Mark Wright <gienah@g.o> +agda-2.4.2.3-r1.ebuild: |
34 |
+ Bump agda to 2.4.2.3-r1 |
35 |
|
36 |
02 Aug 2015; Sergei Trofimovich <slyfox@g.o> -agda-2.3.2-r5.ebuild, |
37 |
-agda-2.3.2.1-r1.ebuild, -agda-2.3.2.2-r1.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 sci-mathematics/agda/agda-2.4.2.3-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/agda/agda-2.4.2.3-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/agda/agda-2.4.2.3-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: agda-2.4.2.3-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda/agda-2.4.2.3-r1.ebuild,v 1.1 2015/08/02 13:50:45 gienah Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
# ebuild generated by hackport 0.4.5.9999 |
55 |
|
56 |
CABAL_FEATURES="bin lib profile haddock hoogle hscolour" |
57 |
inherit haskell-cabal elisp-common |
58 |
|
59 |
MY_PN="Agda" |
60 |
MY_P="${MY_PN}-${PV}" |
61 |
|
62 |
DESCRIPTION="A dependently typed functional programming language and proof assistant" |
63 |
HOMEPAGE="http://wiki.portal.chalmers.se/agda/" |
64 |
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="MIT" |
67 |
SLOT="0/${PV}" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="+cpphs +stdlib" |
70 |
|
71 |
RDEPEND=">=dev-haskell/base-orphans-0.3.1:=[profile?] <dev-haskell/base-orphans-0.4:=[profile?] |
72 |
>=dev-haskell/binary-0.6:=[profile?] <dev-haskell/binary-0.8:=[profile?] |
73 |
>=dev-haskell/boxes-0.1.3:=[profile?] <dev-haskell/boxes-0.2:=[profile?] |
74 |
>=dev-haskell/data-hash-0.2.0.0:=[profile?] <dev-haskell/data-hash-0.3:=[profile?] |
75 |
>=dev-haskell/edit-distance-0.2.1.2:=[profile?] <dev-haskell/edit-distance-0.3:=[profile?] |
76 |
>=dev-haskell/equivalence-0.2.5:=[profile?] <dev-haskell/equivalence-0.4:=[profile?] |
77 |
>=dev-haskell/geniplate-mirror-0.6.0.6:=[profile?] <dev-haskell/geniplate-mirror-0.8:=[profile?] |
78 |
>=dev-haskell/haskeline-0.7:=[profile?] <dev-haskell/haskeline-0.8:=[profile?] |
79 |
>=dev-haskell/haskell-src-exts-1.16.0.1:=[profile?] <dev-haskell/haskell-src-exts-1.17:=[profile?] |
80 |
>=dev-haskell/old-time-1.1.0.0:=[profile?] <dev-haskell/old-time-1.2:=[profile?] |
81 |
>=dev-haskell/parallel-3.2.0.4:=[profile?] <dev-haskell/parallel-3.3:=[profile?] |
82 |
>=dev-haskell/quickcheck-2.8:2=[profile?] <dev-haskell/quickcheck-2.9:2=[profile?] |
83 |
>=dev-haskell/strict-0.3.2:=[profile?] <dev-haskell/strict-0.4:=[profile?] |
84 |
>=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] |
85 |
>=dev-haskell/transformers-compat-0.3.3.2:=[profile?] <dev-haskell/transformers-compat-0.5:=[profile?] |
86 |
>=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] |
87 |
>=dev-haskell/xhtml-3000.2:=[profile?] <dev-haskell/xhtml-3000.3:=[profile?] |
88 |
>=dev-haskell/zlib-0.4.0.1:=[profile?] <dev-haskell/zlib-0.7:=[profile?] |
89 |
>=dev-lang/ghc-7.4.1:= |
90 |
|| ( ( >=dev-haskell/hashable-1.1.2.3:=[profile?] <dev-haskell/hashable-1.2:=[profile?] ) |
91 |
( >=dev-haskell/hashable-1.2.1.0:=[profile?] <dev-haskell/hashable-1.3:=[profile?] ) ) |
92 |
|| ( ( >=dev-haskell/hashtables-1.0:=[profile?] <dev-haskell/hashtables-1.2:=[profile?] ) |
93 |
( >=dev-haskell/hashtables-1.2.0.2:=[profile?] <dev-haskell/hashtables-1.3:=[profile?] ) ) |
94 |
|| ( ( >=dev-haskell/mtl-2.1.1:=[profile?] <=dev-haskell/mtl-2.1.3.1:=[profile?] ) |
95 |
( >=dev-haskell/mtl-2.2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] ) ) |
96 |
|| ( ( >=dev-haskell/transformers-0.3:=[profile?] <dev-haskell/transformers-0.4:=[profile?] ) |
97 |
( >=dev-haskell/transformers-0.4.1.0:=[profile?] <dev-haskell/transformers-0.5:=[profile?] ) ) |
98 |
" |
99 |
RDEPEND+=" |
100 |
app-emacs/haskell-mode |
101 |
virtual/emacs |
102 |
" |
103 |
PDEPEND="stdlib? ( =sci-mathematics/agda-stdlib-${PV} )" |
104 |
DEPEND="${RDEPEND} |
105 |
dev-haskell/alex |
106 |
>=dev-haskell/cabal-1.8 |
107 |
dev-haskell/happy |
108 |
cpphs? ( dev-haskell/cpphs ) |
109 |
" |
110 |
RDEPEND+="!sci-mathematics/agda-executable" |
111 |
|
112 |
SITEFILE="50${PN}2-gentoo.el" |
113 |
S="${WORKDIR}/${MY_P}" |
114 |
|
115 |
src_prepare() { |
116 |
cabal_chdeps \ |
117 |
'data-hash == 0.2.0.0' 'data-hash >= 0.2.0.0 && < 0.3' \ |
118 |
'geniplate-mirror >= 0.6.0.6 && < 0.7' 'geniplate-mirror >= 0.6.0.6 && < 0.8' |
119 |
sed -e '/.*emacs-mode.*$/d' \ |
120 |
-i "${S}/${MY_PN}.cabal" \ |
121 |
|| die "Could not remove agda-mode from ${MY_PN}.cabal" |
122 |
} |
123 |
|
124 |
src_configure() { |
125 |
haskell-cabal_src_configure \ |
126 |
$(cabal_flag cpphs cpphs) |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
BYTECOMPFLAGS="-L ./src/data/emacs-mode" |
131 |
elisp-compile src/data/emacs-mode/*.el \ |
132 |
|| die "Failed to compile emacs mode" |
133 |
haskell-cabal_src_compile |
134 |
} |
135 |
|
136 |
src_test() { |
137 |
export LD_LIBRARY_PATH="${S}/dist/build${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" |
138 |
|
139 |
dist/build/agda/agda --test +RTS -M1g || die |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
local add="${ED}"/usr/share/"${P}/ghc-$(ghc-version)" |
144 |
|
145 |
haskell-cabal_src_install |
146 |
|
147 |
# generate Primitive.agdai, emulate Setup.hs postinst phase |
148 |
Agda_datadir="${add}" \ |
149 |
"${ED}"/usr/bin/agda "${add}"/lib/prim/Agda/Primitive.agda |
150 |
|
151 |
elisp-install ${PN} src/data/emacs-mode/*.el \ |
152 |
|| die "Failed to install emacs mode" |
153 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ |
154 |
|| die "Failed to install elisp site file" |
155 |
} |
156 |
|
157 |
pkg_postinst() { |
158 |
elisp-site-regen |
159 |
} |
160 |
|
161 |
pkg_postrm() { |
162 |
elisp-site-regen |
163 |
} |