Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_deriving/
Date: Tue, 24 Jan 2017 11:42:14
Message-Id: 1485257743.c7492429d64f954d165c5345376f0253026713c2.aballier@gentoo
1 commit: c7492429d64f954d165c5345376f0253026713c2
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 24 11:35:43 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 24 11:35:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7492429
7
8 dev-ml/ppx_deriving: remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ml/ppx_deriving/Manifest | 2 --
13 dev-ml/ppx_deriving/ppx_deriving-3.3.ebuild | 54 ----------------------------
14 dev-ml/ppx_deriving/ppx_deriving-4.0.ebuild | 55 -----------------------------
15 3 files changed, 111 deletions(-)
16
17 diff --git a/dev-ml/ppx_deriving/Manifest b/dev-ml/ppx_deriving/Manifest
18 index fb30a7d..8f32cd8 100644
19 --- a/dev-ml/ppx_deriving/Manifest
20 +++ b/dev-ml/ppx_deriving/Manifest
21 @@ -1,3 +1 @@
22 -DIST ppx_deriving-3.3.tar.gz 43707 SHA256 6e7424f36cc35d1266acc3dcec0371913fec432d1fd5b4892a009e2db26140c8 SHA512 d8c4a289c62f4b2e4a1affcf6225c5929dd45fb705714b7071b0c01609c0bf833b0367d35f95cac344ad9d06a954f86b8c440729193112d723442f790a5c2af3 WHIRLPOOL 121ffbafd1314ffdcbc593808e691f5c3e370c62bc4bac3608eac565fabe8af1a55522b3e79dfafbf5b65f497486851c1d5aaa15d44fe6f3e8e56504353deb65
23 -DIST ppx_deriving-4.0.tar.gz 45941 SHA256 df2cc4d752e70cbb13ceadae620fbb25e94913a50633f1829e6a8a2c57c278b2 SHA512 1487650ca70b5e7402f49d533aa9d6fb7d2dbf84d8c0e2a12b22659814e7c003577a793376f3848047423e6502e50e5be3714c8fca10bd518818e64c8a09f660 WHIRLPOOL 0952372e94021827fe4c959a9d50e8418efc7252d6085d269affba0d8fdc7c48d5e7905ace06ac9882e3741c3469b0ffcfaa009ef6723c01e76fbc7f209d5540
24 DIST ppx_deriving-4.1.tar.gz 46502 SHA256 74831b9688140f27304c55e82f930d47107f4587f4e7cbb88ddfc820c23321bb SHA512 5191565254edd036ebe4d1eae1c660bcac293c000ce1f3eb12aeb1fb05b82d93bb28ddb88ab31967f98827838ce1c57e6f83f767f4dfe41eb265bad6dfaa5e8a WHIRLPOOL ca7860a918384de36fd3b3f6c259117f654357dd78193fe23d1d3324b61e08df8792984cb93801a92e80100140f0fdae999040cf0965237c9faba4d3f0a46ee0
25
26 diff --git a/dev-ml/ppx_deriving/ppx_deriving-3.3.ebuild b/dev-ml/ppx_deriving/ppx_deriving-3.3.ebuild
27 deleted file mode 100644
28 index 0099ce5..00000000
29 --- a/dev-ml/ppx_deriving/ppx_deriving-3.3.ebuild
30 +++ /dev/null
31 @@ -1,54 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI="5"
37 -
38 -inherit findlib
39 -
40 -DESCRIPTION="Type-driven code generation for OCaml"
41 -HOMEPAGE="https://github.com/whitequark/ppx_deriving"
42 -SRC_URI="https://github.com/whitequark/ppx_deriving/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0/${PV}"
46 -KEYWORDS="~amd64"
47 -IUSE="doc +ocamlopt test"
48 -
49 -DEPEND="dev-ml/ppx_tools:=
50 - >=dev-lang/ocaml-4.02.3:=[ocamlopt?]"
51 -RDEPEND="${DEPEND}"
52 -DEPEND="${RDEPEND}
53 - dev-ml/opam
54 - test? ( dev-ml/ounit )"
55 -
56 -src_compile() {
57 - cp pkg/META.in pkg/META || die
58 - ocaml pkg/build.ml \
59 - native=$(usex ocamlopt true false) \
60 - native-dynlink=$(usex ocamlopt true false) \
61 - || die
62 - use doc && emake doc
63 -}
64 -
65 -src_test() {
66 - ocamlbuild -j 0 -use-ocamlfind -classic-display \
67 - src_test/test_ppx_deriving.byte -- || die
68 - if use ocamlopt; then
69 - ocamlbuild -j 0 -use-ocamlfind -classic-display \
70 - src_test/test_ppx_deriving.native -- || die
71 - fi
72 -}
73 -
74 -src_install() {
75 - opam-installer -i \
76 - --prefix="${ED}/usr" \
77 - --libdir="${D}/$(ocamlc -where)" \
78 - --docdir="${ED}/usr/share/doc/${PF}" \
79 - ${PN}.install || die
80 - mv "${ED}/usr/lib/ppx_deriving/ppx_deriving" "${D}/$(ocamlc -where)/ppx_deriving/" || die
81 -
82 - use doc && dohtml api.docdir/*
83 -
84 - dodoc CHANGELOG.md README.md
85 -}
86
87 diff --git a/dev-ml/ppx_deriving/ppx_deriving-4.0.ebuild b/dev-ml/ppx_deriving/ppx_deriving-4.0.ebuild
88 deleted file mode 100644
89 index 342f5d7..00000000
90 --- a/dev-ml/ppx_deriving/ppx_deriving-4.0.ebuild
91 +++ /dev/null
92 @@ -1,55 +0,0 @@
93 -# Copyright 1999-2016 Gentoo Foundation
94 -# Distributed under the terms of the GNU General Public License v2
95 -# $Id$
96 -
97 -EAPI="5"
98 -
99 -inherit findlib
100 -
101 -DESCRIPTION="Type-driven code generation for OCaml"
102 -HOMEPAGE="https://github.com/whitequark/ppx_deriving"
103 -SRC_URI="https://github.com/whitequark/ppx_deriving/archive/v${PV}.tar.gz -> ${P}.tar.gz"
104 -
105 -LICENSE="MIT"
106 -SLOT="0/${PV}"
107 -KEYWORDS="~amd64"
108 -IUSE="doc +ocamlopt test"
109 -
110 -DEPEND="dev-ml/ppx_tools:=
111 - >=dev-lang/ocaml-4.02.3:=[ocamlopt?]"
112 -RDEPEND="${DEPEND}"
113 -DEPEND="${RDEPEND}
114 - dev-ml/cppo
115 - dev-ml/opam
116 - test? ( dev-ml/ounit )"
117 -
118 -src_compile() {
119 - cp pkg/META.in pkg/META || die
120 - ocaml pkg/build.ml \
121 - native=$(usex ocamlopt true false) \
122 - native-dynlink=$(usex ocamlopt true false) \
123 - || die
124 - use doc && emake doc
125 -}
126 -
127 -src_test() {
128 - ocamlbuild -j 0 -use-ocamlfind -classic-display \
129 - src_test/test_ppx_deriving.byte -- || die
130 - if use ocamlopt; then
131 - ocamlbuild -j 0 -use-ocamlfind -classic-display \
132 - src_test/test_ppx_deriving.native -- || die
133 - fi
134 -}
135 -
136 -src_install() {
137 - opam-installer -i \
138 - --prefix="${ED}/usr" \
139 - --libdir="${D}/$(ocamlc -where)" \
140 - --docdir="${ED}/usr/share/doc/${PF}" \
141 - ${PN}.install || die
142 - mv "${ED}/usr/lib/ppx_deriving/ppx_deriving" "${D}/$(ocamlc -where)/ppx_deriving/" || die
143 -
144 - use doc && dohtml api.docdir/*
145 -
146 - dodoc CHANGELOG.md README.md
147 -}