Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/utop: metadata.xml ChangeLog utop-1.16.ebuild
Date: Wed, 29 Oct 2014 09:44:04
Message-Id: 20141029094400.665CA8FDB@oystercatcher.gentoo.org
1 aballier 14/10/29 09:44:00
2
3 Modified: metadata.xml ChangeLog
4 Added: utop-1.16.ebuild
5 Log:
6 version bump
7
8 Signed-off-by: aballier@g.o
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
10
11 Revision Changes Path
12 1.2 dev-ml/utop/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/utop/metadata.xml?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/utop/metadata.xml?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/utop/metadata.xml?r1=1.1&r2=1.2
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ml/utop/metadata.xml,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- metadata.xml 30 Mar 2012 11:52:39 -0000 1.1
25 +++ metadata.xml 29 Oct 2014 09:44:00 -0000 1.2
26 @@ -2,4 +2,7 @@
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 <herd>ml</herd>
30 + <use>
31 + <flag name="camlp4">Enables camlp4 support.</flag>
32 + </use>
33 </pkgmetadata>
34
35
36
37 1.11 dev-ml/utop/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/utop/ChangeLog?rev=1.11&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/utop/ChangeLog?rev=1.11&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/utop/ChangeLog?r1=1.10&r2=1.11
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-ml/utop/ChangeLog,v
46 retrieving revision 1.10
47 retrieving revision 1.11
48 diff -u -r1.10 -r1.11
49 --- ChangeLog 24 Oct 2014 07:31:21 -0000 1.10
50 +++ ChangeLog 29 Oct 2014 09:44:00 -0000 1.11
51 @@ -1,6 +1,12 @@
52 # ChangeLog for dev-ml/utop
53 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/utop/ChangeLog,v 1.10 2014/10/24 07:31:21 aballier Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/utop/ChangeLog,v 1.11 2014/10/29 09:44:00 aballier Exp $
56 +
57 +*utop-1.16 (29 Oct 2014)
58 +
59 + 29 Oct 2014; Alexis Ballier <aballier@g.o> +utop-1.16.ebuild,
60 + metadata.xml:
61 + version bump
62
63 24 Oct 2014; Alexis Ballier <aballier@g.o> -utop-1.5.ebuild,
64 -utop-1.8.ebuild, -utop-1.10.ebuild:
65
66
67
68 1.1 dev-ml/utop/utop-1.16.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/utop/utop-1.16.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/utop/utop-1.16.ebuild?rev=1.1&content-type=text/plain
72
73 Index: utop-1.16.ebuild
74 ===================================================================
75 # Copyright 1999-2014 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/dev-ml/utop/utop-1.16.ebuild,v 1.1 2014/10/29 09:44:00 aballier Exp $
78
79 EAPI=5
80
81 OASIS_BUILD_DOCS=1
82 inherit oasis elisp-common
83
84 DESCRIPTION="A new toplevel for OCaml with completion and colorization"
85 HOMEPAGE="http://github.com/diml/utop"
86 SRC_URI="http://github.com/diml/utop/archive/${PV}.tar.gz -> ${P}.tar.gz"
87
88 LICENSE="BSD"
89 SLOT="0/${PV}"
90 KEYWORDS="~amd64"
91 IUSE="camlp4 emacs"
92
93 DEPEND=">=dev-ml/lwt-2.4.0:=[react]
94 >=dev-ml/lambda-term-1.2:=
95 >=dev-ml/zed-1.2:=
96 >=dev-ml/cppo-1.0.1:=
97 emacs? ( virtual/emacs )
98 camlp4? ( || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 ) )"
99 RDEPEND="${DEPEND}"
100
101 DOCS=( "CHANGES.md" "README.md" )
102 SITEFILE="50${PN}-gentoo.el"
103
104 src_prepare() {
105 sed -i "s/(\"utop.el.*)//" setup.ml
106 }
107
108 src_configure() {
109 oasis_configure_opts="$(use_enable camlp4)" \
110 oasis_src_configure
111 }
112 src_compile() {
113 oasis_src_compile
114 if use emacs; then
115 elisp-compile src/top/*.el
116 fi
117 }
118
119 src_install() {
120 oasis_src_install
121 if use emacs; then
122 elisp-install "${PN}" src/top/*.el src/top/*.elc || die
123 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
124 fi
125 }
126
127 pkg_postinst() {
128 use emacs && elisp-site-regen
129 }
130
131 pkg_postrm() {
132 use emacs && elisp-site-regen
133 }