Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ppxlib/
Date: Sat, 02 Oct 2021 05:23:57
Message-Id: 1633152216.f388dddf6055334dfe5f2452612272324bea70d8.sam@gentoo
1 commit: f388dddf6055334dfe5f2452612272324bea70d8
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 2 05:14:30 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 2 05:23:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f388dddf
7
8 dev-ml/ppxlib: stop blocking dev-libs/nss[utils]
9
10 I should've poked at this a bit more at the time, but it is what
11 it is. Thanks to the reporter of this upstream, the ppxlib folks
12 realised/noticed it as an error and have dropped the colliding
13 'pp'.
14
15 It ended up not being supposed to be installed at all.
16
17 See: https://github.com/ocaml-ppx/ppxlib/issues/224
18 See: c87dfe922463070c8ec351fa4341d97a1ed56f8a
19 Signed-off-by: Sam James <sam <AT> gentoo.org>
20
21 .../{ppxlib-0.21.0-r1.ebuild => ppxlib-0.21.0-r2.ebuild} | 10 ++++++++--
22 .../{ppxlib-0.22.0-r1.ebuild => ppxlib-0.22.0-r2.ebuild} | 10 ++++++++--
23 .../ppxlib/{ppxlib-0.22.2.ebuild => ppxlib-0.22.2-r1.ebuild} | 10 ++++++++--
24 3 files changed, 24 insertions(+), 6 deletions(-)
25
26 diff --git a/dev-ml/ppxlib/ppxlib-0.21.0-r1.ebuild b/dev-ml/ppxlib/ppxlib-0.21.0-r2.ebuild
27 similarity index 79%
28 rename from dev-ml/ppxlib/ppxlib-0.21.0-r1.ebuild
29 rename to dev-ml/ppxlib/ppxlib-0.21.0-r2.ebuild
30 index 4e0bb08cb7f..2f753797ef4 100644
31 --- a/dev-ml/ppxlib/ppxlib-0.21.0-r1.ebuild
32 +++ b/dev-ml/ppxlib/ppxlib-0.21.0-r2.ebuild
33 @@ -15,7 +15,6 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
34 IUSE="+ocamlopt test"
35 RESTRICT="!test? ( test )"
36
37 -# nss[utils] has /usr/bin/pp
38 RDEPEND="
39 >=dev-ml/base-0.11.0:=
40 dev-ml/findlib:=
41 @@ -25,7 +24,6 @@ RDEPEND="
42 dev-ml/stdlib-shims:=
43 >=dev-ml/ppx_derivers-1.2.1:=
44 >=dev-ml/stdio-0.11.0:=
45 - !dev-libs/nss[utils]
46 "
47 DEPEND="${DEPEND}
48 test? (
49 @@ -33,3 +31,11 @@ DEPEND="${DEPEND}
50 dev-ml/re:=
51 )
52 "
53 +
54 +src_install() {
55 + dune_src_install
56 +
57 + # Clashes with dev-libs/nss[utils], accidentally installed upstream
58 + # https://github.com/ocaml-ppx/ppxlib/issues/224
59 + rm "${ED}"/usr/bin/pp || die
60 +}
61
62 diff --git a/dev-ml/ppxlib/ppxlib-0.22.0-r1.ebuild b/dev-ml/ppxlib/ppxlib-0.22.0-r2.ebuild
63 similarity index 80%
64 rename from dev-ml/ppxlib/ppxlib-0.22.0-r1.ebuild
65 rename to dev-ml/ppxlib/ppxlib-0.22.0-r2.ebuild
66 index 116ac1f1e0e..53471d4c632 100644
67 --- a/dev-ml/ppxlib/ppxlib-0.22.0-r1.ebuild
68 +++ b/dev-ml/ppxlib/ppxlib-0.22.0-r2.ebuild
69 @@ -15,14 +15,12 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
70 IUSE="+ocamlopt test"
71 RESTRICT="!test? ( test )"
72
73 -# nss[utils] has /usr/bin/pp
74 RDEPEND="
75 >=dev-ml/ocaml-compiler-libs-0.11.0:=
76 >=dev-ml/ocaml-migrate-parsetree-2.1.0:=
77 dev-ml/sexplib0:=
78 dev-ml/stdlib-shims:=
79 >=dev-ml/ppx_derivers-1.2.1:=
80 - !dev-libs/nss[utils]
81 "
82 DEPEND="${DEPEND}
83 test? (
84 @@ -34,3 +32,11 @@ DEPEND="${DEPEND}
85 )
86 "
87 BDEPEND=">=dev-ml/dune-2.8"
88 +
89 +src_install() {
90 + dune_src_install
91 +
92 + # Clashes with dev-libs/nss[utils], accidentally installed upstream
93 + # https://github.com/ocaml-ppx/ppxlib/issues/224
94 + rm "${ED}"/usr/bin/pp || die
95 +}
96
97 diff --git a/dev-ml/ppxlib/ppxlib-0.22.2.ebuild b/dev-ml/ppxlib/ppxlib-0.22.2-r1.ebuild
98 similarity index 80%
99 rename from dev-ml/ppxlib/ppxlib-0.22.2.ebuild
100 rename to dev-ml/ppxlib/ppxlib-0.22.2-r1.ebuild
101 index bc486940ff7..2986d9beed3 100644
102 --- a/dev-ml/ppxlib/ppxlib-0.22.2.ebuild
103 +++ b/dev-ml/ppxlib/ppxlib-0.22.2-r1.ebuild
104 @@ -15,14 +15,12 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
105 IUSE="+ocamlopt test"
106 RESTRICT="!test? ( test )"
107
108 -# nss[utils] has /usr/bin/pp
109 RDEPEND="
110 >=dev-ml/ocaml-compiler-libs-0.11.0:=
111 >=dev-ml/ocaml-migrate-parsetree-2.2.0:=
112 dev-ml/sexplib0:=
113 dev-ml/stdlib-shims:=
114 >=dev-ml/ppx_derivers-1.2.1:=
115 - !dev-libs/nss[utils]
116 "
117 DEPEND="${DEPEND}
118 test? (
119 @@ -34,3 +32,11 @@ DEPEND="${DEPEND}
120 )
121 "
122 BDEPEND=">=dev-ml/dune-2.8"
123 +
124 +src_install() {
125 + dune_src_install
126 +
127 + # Clashes with dev-libs/nss[utils], accidentally installed upstream
128 + # https://github.com/ocaml-ppx/ppxlib/issues/224
129 + rm "${ED}"/usr/bin/pp || die
130 +}