Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/coq/
Date: Mon, 04 Nov 2019 12:19:38
Message-Id: 1572869964.214de00f968332f07b1f2b04d408ab8c43efaf24.zlogene@gentoo
1 commit: 214de00f968332f07b1f2b04d408ab8c43efaf24
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 4 12:14:22 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 4 12:19:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214de00f
7
8 sci-mathematics/coq: migrate from dev-tex/xcolor
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.16
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 sci-mathematics/coq/Manifest | 1 -
14 .../coq/{coq-8.6.1.ebuild => coq-8.6.1-r1.ebuild} | 4 +-
15 sci-mathematics/coq/coq-8.6.ebuild | 91 ----------------------
16 .../coq/{coq-8.9.1.ebuild => coq-8.9.1-r1.ebuild} | 2 +-
17 4 files changed, 3 insertions(+), 95 deletions(-)
18
19 diff --git a/sci-mathematics/coq/Manifest b/sci-mathematics/coq/Manifest
20 index 758414ac5b9..c5c6ccba31b 100644
21 --- a/sci-mathematics/coq/Manifest
22 +++ b/sci-mathematics/coq/Manifest
23 @@ -1,3 +1,2 @@
24 DIST coq-8.6.1.tar.gz 5588811 BLAKE2B 1016e54ef9b42a8534add55ab057454fad35b3fe103ba877689489c7d9cf43d76c1fbee123801d91035d353a882120650f94c433d9ee1daa878b8c819609c949 SHA512 814ab76a06ca15f927081428da74add4bc67290199fa011853b9c68a00cdefaf813b10fbac18a434f4504fce8f2173eb544080bf6f50d62caa41bb8724b13083
25 -DIST coq-8.6.tar.gz 5538848 BLAKE2B 025d6598a5155712662ce20a56804b75c236f1d1dc4ed81e779aaf2916d5cb525acfcbef9b5960fc5b8b44f2e2290c9f7e5c2d6e84726400a9888587ee29cd16 SHA512 9f5f4913fda8cf83683fec9398b42d4567207c3d4b52b4638d5e09a24ed25a43905fb57a9fac1bb9f9d681bd47f3560e1da74e79348b3a3fd93e2e8c686cebae
26 DIST coq-8.9.1.tar.gz 6001970 BLAKE2B f65498e2485c59f4f95d2afeac35750ebf85b5af6db7c269a11635f2414df483d4cb159557060c9118de25f4922176f54d2e5c6f12174599371348341cb4d80f SHA512 66344f801b955d1b6daf3ab1d704551070c95cf9032ae74f15fb33f7ec313812b3e05c0ec277a2eb448e3fdfd9721df06d36612e2fb4928b6530d70147f1d983
27
28 diff --git a/sci-mathematics/coq/coq-8.6.1.ebuild b/sci-mathematics/coq/coq-8.6.1-r1.ebuild
29 similarity index 96%
30 rename from sci-mathematics/coq/coq-8.6.1.ebuild
31 rename to sci-mathematics/coq/coq-8.6.1-r1.ebuild
32 index b07f22863ef..2c9f5df9141 100644
33 --- a/sci-mathematics/coq/coq-8.6.1.ebuild
34 +++ b/sci-mathematics/coq/coq-8.6.1-r1.ebuild
35 @@ -1,4 +1,4 @@
36 -# Copyright 1999-2018 Gentoo Foundation
37 +# Copyright 1999-2019 Gentoo Authors
38 # Distributed under the terms of the GNU General Public License v2
39
40 EAPI="5"
41 @@ -28,7 +28,7 @@ DEPEND="${RDEPEND}
42 media-libs/netpbm[png,zlib]
43 virtual/latex-base
44 dev-tex/hevea
45 - dev-tex/xcolor
46 + dev-texlive/texlive-latexrecommended
47 dev-texlive/texlive-pictures
48 dev-texlive/texlive-mathscience
49 dev-texlive/texlive-latexextra
50
51 diff --git a/sci-mathematics/coq/coq-8.6.ebuild b/sci-mathematics/coq/coq-8.6.ebuild
52 deleted file mode 100644
53 index b06ed6df0f9..00000000000
54 --- a/sci-mathematics/coq/coq-8.6.ebuild
55 +++ /dev/null
56 @@ -1,91 +0,0 @@
57 -# Copyright 1999-2018 Gentoo Foundation
58 -# Distributed under the terms of the GNU General Public License v2
59 -
60 -EAPI="5"
61 -
62 -inherit eutils multilib
63 -
64 -MY_PV=${PV/_p/pl}
65 -MY_P=${PN}-${MY_PV}
66 -
67 -DESCRIPTION="Proof assistant written in O'Caml"
68 -HOMEPAGE="http://coq.inria.fr/"
69 -SRC_URI="http://${PN}.inria.fr/distrib/V${MY_PV}/files/${MY_P}.tar.gz"
70 -
71 -LICENSE="LGPL-2.1"
72 -SLOT="0"
73 -KEYWORDS="amd64 ppc x86"
74 -IUSE="gtk debug +ocamlopt doc camlp5"
75 -
76 -RDEPEND="
77 - >=dev-lang/ocaml-3.11.2:=[ocamlopt?]
78 - camlp5? ( >=dev-ml/camlp5-6.02.3:=[ocamlopt?] )
79 - !camlp5? ( dev-ml/camlp4:= )
80 - gtk? ( >=dev-ml/lablgtk-2.10.1:=[sourceview,ocamlopt?] )"
81 -DEPEND="${RDEPEND}
82 - dev-ml/findlib
83 - doc? (
84 - media-libs/netpbm[png,zlib]
85 - virtual/latex-base
86 - dev-tex/hevea
87 - dev-tex/xcolor
88 - dev-texlive/texlive-pictures
89 - dev-texlive/texlive-mathscience
90 - dev-texlive/texlive-latexextra
91 - )"
92 -
93 -S=${WORKDIR}/${MY_P}
94 -
95 -src_configure() {
96 - ocaml_lib=$(ocamlc -where)
97 - local myconf=(
98 - -prefix /usr
99 - -bindir /usr/bin
100 - -libdir /usr/$(get_libdir)/coq
101 - -mandir /usr/share/man
102 - -emacslib /usr/share/emacs/site-lisp
103 - -coqdocdir /usr/$(get_libdir)/coq/coqdoc
104 - -docdir /usr/share/doc/${PF}
105 - -configdir /etc/xdg/${PN}
106 - -lablgtkdir ${ocaml_lib}/lablgtk2
107 - )
108 -
109 - use debug && myconf+=( -debug )
110 - use doc || myconf+=( -with-doc no )
111 -
112 - if use gtk; then
113 - if use ocamlopt; then
114 - myconf+=( -coqide opt )
115 - else
116 - myconf+=( -coqide byte )
117 - fi
118 - else
119 - myconf+=( -coqide no )
120 - fi
121 -
122 - use ocamlopt || myconf+=( -byte-only )
123 -
124 - if use camlp5; then
125 - myconf+=( -usecamlp5 -camlp5dir ${ocaml_lib}/camlp5 )
126 - else
127 - myconf+=( -usecamlp4 )
128 - fi
129 -
130 - export CAML_LD_LIBRARY_PATH="${S}/kernel/byterun/"
131 - ./configure ${myconf[@]} || die "configure failed"
132 -}
133 -
134 -src_compile() {
135 - emake STRIP="true" -j1 world VERBOSE=1
136 -}
137 -
138 -src_test() {
139 - emake STRIP="true" check VERBOSE=1
140 -}
141 -
142 -src_install() {
143 - emake STRIP="true" COQINSTALLPREFIX="${D}" install VERBOSE=1
144 - dodoc README.md CREDITS CHANGES
145 -
146 - use gtk && make_desktop_entry "coqide" "Coq IDE" "${EPREFIX}/usr/share/coq/coq.png"
147 -}
148
149 diff --git a/sci-mathematics/coq/coq-8.9.1.ebuild b/sci-mathematics/coq/coq-8.9.1-r1.ebuild
150 similarity index 97%
151 rename from sci-mathematics/coq/coq-8.9.1.ebuild
152 rename to sci-mathematics/coq/coq-8.9.1-r1.ebuild
153 index a7de5198ee4..d110241bb50 100644
154 --- a/sci-mathematics/coq/coq-8.9.1.ebuild
155 +++ b/sci-mathematics/coq/coq-8.9.1-r1.ebuild
156 @@ -30,7 +30,7 @@ DEPEND="${RDEPEND}
157 media-libs/netpbm[png,zlib]
158 virtual/latex-base
159 dev-tex/hevea
160 - dev-tex/xcolor
161 + dev-texlive/texlive-latexrecommended
162 dev-texlive/texlive-pictures
163 dev-texlive/texlive-mathscience
164 dev-texlive/texlive-latexextra