1 |
commit: 2e76cc8b33f566bab28fad6f4efba99b18c03631 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 9 21:38:36 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 9 21:38:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e76cc8b |
7 |
|
8 |
dev-lang/ocaml: adjust subslot to be major version |
9 |
|
10 |
Should be bytecode compatible with non-major version changes. Makes it |
11 |
a lot easier to give dependencies in e.g. camlp4 which needs to be |
12 |
exactly aligned with the OCaml major version. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/794898 |
15 |
Acked-by: Alfredo Tupone <tupone <AT> gentoo.org> |
16 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 |
|
18 |
dev-lang/ocaml/{ocaml-4.05.0-r3.ebuild => ocaml-4.05.0-r5.ebuild} | 2 +- |
19 |
dev-lang/ocaml/{ocaml-4.05.0-r4.ebuild => ocaml-4.05.0-r6.ebuild} | 2 +- |
20 |
dev-lang/ocaml/{ocaml-4.09.0.ebuild => ocaml-4.09.0-r1.ebuild} | 2 +- |
21 |
dev-lang/ocaml/{ocaml-4.10.2.ebuild => ocaml-4.10.2-r1.ebuild} | 2 +- |
22 |
dev-lang/ocaml/{ocaml-4.11.2.ebuild => ocaml-4.11.2-r1.ebuild} | 2 +- |
23 |
dev-lang/ocaml/{ocaml-4.12.0.ebuild => ocaml-4.12.0-r1.ebuild} | 2 +- |
24 |
6 files changed, 6 insertions(+), 6 deletions(-) |
25 |
|
26 |
diff --git a/dev-lang/ocaml/ocaml-4.05.0-r3.ebuild b/dev-lang/ocaml/ocaml-4.05.0-r5.ebuild |
27 |
similarity index 99% |
28 |
rename from dev-lang/ocaml/ocaml-4.05.0-r3.ebuild |
29 |
rename to dev-lang/ocaml/ocaml-4.05.0-r5.ebuild |
30 |
index 69094b6cb10..36adb282101 100644 |
31 |
--- a/dev-lang/ocaml/ocaml-4.05.0-r3.ebuild |
32 |
+++ b/dev-lang/ocaml/ocaml-4.05.0-r5.ebuild |
33 |
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/ocaml/ocaml/archive/${PV/_/+}.tar.gz -> ${MY_P}.tar. |
34 |
LICENSE="QPL-1.0 LGPL-2" |
35 |
# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt, |
36 |
# so here we go with the subslot. |
37 |
-SLOT="0/${PV}" |
38 |
+SLOT="0/$(ver_cut 1-2)" |
39 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
40 |
IUSE="emacs flambda latex ncurses +ocamlopt spacetime X xemacs" |
41 |
|
42 |
|
43 |
diff --git a/dev-lang/ocaml/ocaml-4.05.0-r4.ebuild b/dev-lang/ocaml/ocaml-4.05.0-r6.ebuild |
44 |
similarity index 99% |
45 |
rename from dev-lang/ocaml/ocaml-4.05.0-r4.ebuild |
46 |
rename to dev-lang/ocaml/ocaml-4.05.0-r6.ebuild |
47 |
index 1fd3049eff5..ae3120cad72 100644 |
48 |
--- a/dev-lang/ocaml/ocaml-4.05.0-r4.ebuild |
49 |
+++ b/dev-lang/ocaml/ocaml-4.05.0-r6.ebuild |
50 |
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/ocaml/ocaml/archive/${PV/_/+}.tar.gz -> ${MY_P}.tar. |
51 |
LICENSE="QPL-1.0 LGPL-2" |
52 |
# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt, |
53 |
# so here we go with the subslot. |
54 |
-SLOT="0/${PV}" |
55 |
+SLOT="0/$(ver_cut 1-2)" |
56 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
57 |
IUSE="emacs flambda latex ncurses +ocamlopt spacetime X xemacs" |
58 |
|
59 |
|
60 |
diff --git a/dev-lang/ocaml/ocaml-4.09.0.ebuild b/dev-lang/ocaml/ocaml-4.09.0-r1.ebuild |
61 |
similarity index 99% |
62 |
rename from dev-lang/ocaml/ocaml-4.09.0.ebuild |
63 |
rename to dev-lang/ocaml/ocaml-4.09.0-r1.ebuild |
64 |
index f74988668b8..14dc7a908b0 100644 |
65 |
--- a/dev-lang/ocaml/ocaml-4.09.0.ebuild |
66 |
+++ b/dev-lang/ocaml/ocaml-4.09.0-r1.ebuild |
67 |
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz" |
68 |
DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles" |
69 |
|
70 |
LICENSE="LGPL-2.1" |
71 |
-SLOT="0/${PV}" |
72 |
+SLOT="0/$(ver_cut 1-2)" |
73 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
74 |
IUSE="emacs flambda latex +ocamlopt spacetime xemacs" |
75 |
|
76 |
|
77 |
diff --git a/dev-lang/ocaml/ocaml-4.10.2.ebuild b/dev-lang/ocaml/ocaml-4.10.2-r1.ebuild |
78 |
similarity index 99% |
79 |
rename from dev-lang/ocaml/ocaml-4.10.2.ebuild |
80 |
rename to dev-lang/ocaml/ocaml-4.10.2-r1.ebuild |
81 |
index 208d8612d6a..e1ca18aa961 100644 |
82 |
--- a/dev-lang/ocaml/ocaml-4.10.2.ebuild |
83 |
+++ b/dev-lang/ocaml/ocaml-4.10.2-r1.ebuild |
84 |
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz" |
85 |
DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles" |
86 |
|
87 |
LICENSE="LGPL-2.1" |
88 |
-SLOT="0/${PV}" |
89 |
+SLOT="0/$(ver_cut 1-2)" |
90 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
91 |
IUSE="emacs flambda latex +ocamlopt spacetime xemacs" |
92 |
|
93 |
|
94 |
diff --git a/dev-lang/ocaml/ocaml-4.11.2.ebuild b/dev-lang/ocaml/ocaml-4.11.2-r1.ebuild |
95 |
similarity index 98% |
96 |
rename from dev-lang/ocaml/ocaml-4.11.2.ebuild |
97 |
rename to dev-lang/ocaml/ocaml-4.11.2-r1.ebuild |
98 |
index e3298bdfc89..f1ad43dbf99 100644 |
99 |
--- a/dev-lang/ocaml/ocaml-4.11.2.ebuild |
100 |
+++ b/dev-lang/ocaml/ocaml-4.11.2-r1.ebuild |
101 |
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz" |
102 |
DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles" |
103 |
|
104 |
LICENSE="QPL-1.0 LGPL-2" |
105 |
-SLOT="0/${PV}" |
106 |
+SLOT="0/$(ver_cut 1-2)" |
107 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
108 |
IUSE="emacs flambda latex +ocamlopt spacetime xemacs" |
109 |
|
110 |
|
111 |
diff --git a/dev-lang/ocaml/ocaml-4.12.0.ebuild b/dev-lang/ocaml/ocaml-4.12.0-r1.ebuild |
112 |
similarity index 98% |
113 |
rename from dev-lang/ocaml/ocaml-4.12.0.ebuild |
114 |
rename to dev-lang/ocaml/ocaml-4.12.0-r1.ebuild |
115 |
index b045e3d1153..137a6160e45 100644 |
116 |
--- a/dev-lang/ocaml/ocaml-4.12.0.ebuild |
117 |
+++ b/dev-lang/ocaml/ocaml-4.12.0-r1.ebuild |
118 |
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz" |
119 |
DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles" |
120 |
|
121 |
LICENSE="QPL-1.0 LGPL-2" |
122 |
-SLOT="0/${PV}" |
123 |
+SLOT="0/$(ver_cut 1-2)" |
124 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
125 |
IUSE="emacs flambda latex +ocamlopt xemacs" |