Gentoo Archives: gentoo-commits

From: Marco Leise <marco.leise@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/, dev-util/dub/files/, dev-util/dlang-tools/, dev-lang/dmd/, ...
Date: Mon, 23 Dec 2019 16:56:39
Message-Id: 1576951095.c722490a674f4585d8abc2cf2cddd2c262b4dd8f.mleise@gentoo
1 commit: c722490a674f4585d8abc2cf2cddd2c262b4dd8f
2 Author: Marco Leise <marco.leise <AT> gmx <DOT> de>
3 AuthorDate: Sat Dec 21 17:45:56 2019 +0000
4 Commit: Marco Leise <marco.leise <AT> gmx <DOT> de>
5 CommitDate: Sat Dec 21 17:58:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c722490a
7
8 stabilization sweep & removal of ldc2 ebuilds for which there are no compatible llvm versions
9
10 Signed-off-by: Marco Leise <marco.leise <AT> gmx.de>
11
12 dev-lang/dmd/Manifest | 1 -
13 dev-lang/dmd/dmd-2.088.0-r1.ebuild | 24 -------
14 dev-lang/dmd/dmd-2.088.1-r1.ebuild | 2 +-
15 dev-lang/ldc2/Manifest | 4 --
16 dev-lang/ldc2/ldc2-0.17.6-r1.ebuild | 72 -------------------
17 dev-lang/ldc2/ldc2-1.10.0-r1.ebuild | 81 ----------------------
18 dev-lang/ldc2/ldc2-1.11.0-r1.ebuild | 81 ----------------------
19 dev-lang/ldc2/ldc2-1.12.0-r2.ebuild | 1 -
20 dev-lang/ldc2/ldc2-1.13.0-r2.ebuild | 1 -
21 dev-lang/ldc2/ldc2-1.14.0-r2.ebuild | 1 -
22 dev-lang/ldc2/ldc2-1.15.0-r2.ebuild | 1 -
23 dev-lang/ldc2/ldc2-1.16.0.ebuild | 1 -
24 dev-lang/ldc2/ldc2-1.17.0.ebuild | 1 -
25 dev-lang/ldc2/ldc2-1.18.0.ebuild | 1 -
26 dev-lang/ldc2/ldc2-1.9.0-r1.ebuild | 81 ----------------------
27 dev-util/dlang-tools/Manifest | 1 -
28 dev-util/dlang-tools/dlang-tools-2.088.0.ebuild | 54 ---------------
29 dev-util/dlang-tools/dlang-tools-2.088.1.ebuild | 2 +-
30 dev-util/dub/Manifest | 1 -
31 dev-util/dub/dub-1.17.0.ebuild | 39 -----------
32 dev-util/dub/dub-1.18.0.ebuild | 2 +-
33 .../dub/files/dub-1.17.0-gdc-dmd-pathfix.patch | 16 -----
34 eclass/dlang-compilers.eclass | 5 +-
35 profiles/use.desc | 2 +-
36 24 files changed, 5 insertions(+), 470 deletions(-)
37
38 diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
39 index fe2c4b7..09c7250 100644
40 --- a/dev-lang/dmd/Manifest
41 +++ b/dev-lang/dmd/Manifest
42 @@ -23,6 +23,5 @@ DIST dmd.2.084.1.linux.tar.xz 23699944 BLAKE2B cc99ac0a52d98db516f465a8278893e82
43 DIST dmd.2.085.1.linux.tar.xz 24397876 BLAKE2B 0e9ee8deb63796c623f2348b147d99c96bd56eafb3c59620fa13bdeb77c1e8547a09a27220bcd1a9c49bab6331027be553ad5c12e6e537d4191c41932e273d60 SHA512 e32805baf1926531ea7268f4ab6845039a9518230638cf11223c47d323316ca9478376eb8084b4f993ebddd471f664e0f07b24fcff38ba9deeb8dc2e435e60b6
44 DIST dmd.2.086.1.linux.tar.xz 24643816 BLAKE2B fc6703f6c7f8724e06bb75278df58469876a6a23093afaf99a5dc0300d9657b6218249f7f69cdcba487d9b6bdd826f0c3e8e751897d9af96070729d35d24bf26 SHA512 cf6a7f2ef2f2133587b3aa0f72e3fc902dac59ca03c1b1021dbb16d637bead2baf891bc6c1782928fdb19c9a38b135cc1c80d5f90bc39f18b55c8e713c142cea
45 DIST dmd.2.087.1.linux.tar.xz 25120264 BLAKE2B fb6aed0ebf1547565f99717830acfe450bc7db260070b77d37491a8d216acbe7ac1b07d320a42d7df706e0f18c6644ab18925273455b7949160c99af83645053 SHA512 8c44aa61b7fb1605a98f49db2e45d9e115626ad4bca9a1cdf3e61a116538e893d2504f524234bcd060ad3a1dda67b8813adf256055f24a0289b4f9630fc7ce63
46 -DIST dmd.2.088.0.linux.tar.xz 25131504 BLAKE2B 9a52c7ff2a34ef3bf5f792709f71da852a19c5c48b79ee843c2d46b2017cff2e31d7bd4d375d665fe0d5027a1397c6f05c4b3c442d6a57196bd8d548e61135fc SHA512 dcacbb48de87c312b1032306e6b33888ec779f45d33fca08a37d2341fc1f2061ae43ea95467a46bc961ee2841795e559d9c8e3ea41cf06a6e14a9c789f044c17
47 DIST dmd.2.088.1.linux.tar.xz 25122116 BLAKE2B e573a97cf9f547a3017a0b904523f4877782bef98144744f064a539e87fac8c0938b2963308a0e4046b934a700273338cbea32467b472daf665c9c5673ee5e06 SHA512 e98183870cab35b67967b73149a10025b257ba9ce9aafabdbdd1d91cc3009b90d13d0b5173fb5e32d53da890de7b7bd41deddec19774baaafa84c6efef4717a8
48 DIST dmd.2.089.0.linux.tar.xz 25693688 BLAKE2B 034d90b18e32d382d3e9c78654560b20cfc89f53cf4395b46c2b0f09db9be75c008017ff843b49912a43a40020d857a6654890b8293df305c012058369e45f78 SHA512 91e03f706ff91172a64fb9ab06544e39fcec90890074fbf72758b3bbc4d8664f66a7f714ccac5d3d236464485abef85d7936aba1612559a5c1dd78a505abd328
49
50 diff --git a/dev-lang/dmd/dmd-2.088.0-r1.ebuild b/dev-lang/dmd/dmd-2.088.0-r1.ebuild
51 deleted file mode 100644
52 index 1350dea..0000000
53 --- a/dev-lang/dmd/dmd-2.088.0-r1.ebuild
54 +++ /dev/null
55 @@ -1,24 +0,0 @@
56 -# Copyright 1999-2019 Gentoo Authors
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI=6
60 -
61 -KEYWORDS="-* ~amd64 ~x86"
62 -YEAR=2019
63 -DLANG_VERSION_RANGE="2.075-"
64 -
65 -inherit dmd
66 -
67 -PATCHES=(
68 - "${FILESDIR}/2.081-allow-deprecations.patch"
69 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
70 -)
71 -
72 -dmd_src_prepare_extra() {
73 - # Copy default DDOC theme file into resource directory
74 - mkdir "dmd/res" || die "Failed to create 'dmd/res' directory"
75 - cp "${FILESDIR}/2.086-default_ddoc_theme.ddoc" "dmd/res/default_ddoc_theme.ddoc" || die "Failed to copy 'default_ddoc_theme.ddoc' file into 'src/res' directory."
76 -
77 - # Copy missing config.d
78 - cp "${FILESDIR}/2.086-config.d" "dmd/config.d" || die "Failed to copy 'config.d' file into 'dmd' directory."
79 -}
80
81 diff --git a/dev-lang/dmd/dmd-2.088.1-r1.ebuild b/dev-lang/dmd/dmd-2.088.1-r1.ebuild
82 index 1350dea..785eb6b 100644
83 --- a/dev-lang/dmd/dmd-2.088.1-r1.ebuild
84 +++ b/dev-lang/dmd/dmd-2.088.1-r1.ebuild
85 @@ -3,7 +3,7 @@
86
87 EAPI=6
88
89 -KEYWORDS="-* ~amd64 ~x86"
90 +KEYWORDS="-* amd64 x86"
91 YEAR=2019
92 DLANG_VERSION_RANGE="2.075-"
93
94
95 diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
96 index f566506..ecc2989 100644
97 --- a/dev-lang/ldc2/Manifest
98 +++ b/dev-lang/ldc2/Manifest
99 @@ -1,6 +1,3 @@
100 -DIST ldc-0.17.6-src.tar.gz 4986528 BLAKE2B b3198fd80f97d5ad3401af081cb6dd4470635b9c4495f35a573678fea2ec69663857785397aee3af37ae5477d164ce94f538a02ed461c5886c5862aa81012d3f SHA512 433a3582bb5214004a676741d7483ed87066b47b8bfec4633796ca5a717c78ea54ee7b9c2ce1cf7bc399082802f15133d28cb4884b879326d224f48687af68e3
101 -DIST ldc-1.10.0-src.tar.gz 6658773 BLAKE2B 5f1163e5c1c37fab165c934fc686112df0ac39b2f4d4ccaba885a4b6e919786b921fbeb7fdcf0f41d1d16426d969486ae3b93fd6aadf5913cc0878aaf1243a85 SHA512 6f46889dce6a4ba8450146b1e4929a73d9dee3b233f29e6054d3123ec370eb0155770686a27cc40d510fb777b12c00a7d70e255ad8265320b97cca8b47efe1ee
102 -DIST ldc-1.11.0-src.tar.gz 6724384 BLAKE2B c4282a278a2e334682c8c839fe5fbf69bd587cf567d421d2728495a7b92661a54e16a0256d68e29266d44e8cdb7623cc3fc33a47b98c8fa94723aa74dea525d4 SHA512 add0be8daca38cb8a7e4a576a0f83e3d005d9091b92f426ad19dd68b41b0760d3c028dfda4872293611545d4430a6b481d1d9c2dbcc7354c430335a7f3800825
103 DIST ldc-1.12.0-src.tar.gz 6782018 BLAKE2B 18c15098518048e23bd19f3076da8824642014d167673c6c25d9ba0ac8185a2d2254d9353833738f6a5594f971e7d5f9a579aeae785738c3cd840b543f1f6d62 SHA512 1b62b1dc06fb4ea8865a69a227d05627583813b0598cc1dcb8bbdb028a40c6dd0a0cc6d8e445c80e92d30158cf77f83fa5784b695062f625f17e031387da3e5a
104 DIST ldc-1.13.0-src.tar.gz 6773063 BLAKE2B 91ea5836f7cfbd492983ed8c68af3db147e494d6c26a13caa87fe4f00f32172d3ca0c5a5b081e3dad749f08a853c6419f843b28c1294451de62acf819e189d3f SHA512 6c513232d1eeae16eebe7c5fc1b22c42d5967894cc5594d718e7675c6daad50b696a06a99d959b47846f4a74395f6efb9e4517d549d6f121cec86f96bdb46871
105 DIST ldc-1.14.0-src.tar.gz 6841607 BLAKE2B 3e1024f76b8646a4951029a9c867ae763085e44f7e5af531b84a20095ff0253ddcb8b5abb2039eb6002cd3b7d64f5cf68b2b2b37d1accfcc57824acde2af9dcf SHA512 9876bf45a4b2472dd7d26e4ed40ea0075dc598e574a27bdb9d6a9ea5a01263446f0a92100535f17de9620d82d13b9e30ecbbb7bf330673dc0dc3da06247ddba2
106 @@ -8,4 +5,3 @@ DIST ldc-1.15.0-src.tar.gz 6949021 BLAKE2B ba2488c0ce247c1f00cd4ac6206605221d9a0
107 DIST ldc-1.16.0-src.tar.gz 6995348 BLAKE2B 3437d2c1f64e17793c1564c19fdd41d5a881f1c3274a0e265b10b66a59b752436222395811354e9fea58dae0573c873f64f3c5de88c1681e4e78c74e618f9892 SHA512 afd9675ce0929a8acb1084becb47d2d30d40fcd3836a55713a9ac128d12764b7eefb5e04c2eae432c4e138aa64c3d8d248745dcfeb2fa134f66fb11ddc30743e
108 DIST ldc-1.17.0-src.tar.gz 7084805 BLAKE2B 1379ad77c0e489fea43b646a5d6cf5aa54e76b2cefe00686c69bb1c9b0caf42da7a0e24fb6d0f08c10fab9fd32e3ccb01b6702319ea73c782e3dca0a51bf6c08 SHA512 72a50b16cef63b30863b41571d14aad30b5fc25ea7859014d596c41360693da46dcf3f208195d9319fc2f4ef472ac3c86a0c552b19222cc05e491cb8cbcee38c
109 DIST ldc-1.18.0-src.tar.gz 7183351 BLAKE2B 0affd49dda5f7c3df64e8d89fe66f2fce4c3a18c4bc5e4147e2e906d10f0b27316c8c460f5b9d767f3f50e5e909448b9f44cb17e156766d5488e237a71dd5009 SHA512 fe7529c33d0e43dfb71f474dfa381b88ee476b70933c8f80fc063d9a015df24a75e2b607a7242cc4b9cd4b6ac7559aec8f2883016bf7252342742322fcccbd4d
110 -DIST ldc-1.9.0-src.tar.gz 6560330 BLAKE2B 4ffb8f3aa6af1ce1b5e9bfa9b4f5b22e0f88e7e1f097251c6a7a3fbdcfc94638ba89aa8fb5f84862e20049d35e3065323cef758675505641b5247a50a1c4c351 SHA512 a036097c6db72b925b1292994b27b5777fd5f29a529f2d918caede3bb7c5ae0c10e1069e7640a6b8ae0f5b37ac96eff669c3faf1661034f627ce829ca7681474
111
112 diff --git a/dev-lang/ldc2/ldc2-0.17.6-r1.ebuild b/dev-lang/ldc2/ldc2-0.17.6-r1.ebuild
113 deleted file mode 100644
114 index b34306d..0000000
115 --- a/dev-lang/ldc2/ldc2-0.17.6-r1.ebuild
116 +++ /dev/null
117 @@ -1,72 +0,0 @@
118 -# Copyright 1999-2019 Gentoo Authors
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=6
122 -
123 -inherit multilib-build cmake-utils eapi7-ver llvm
124 -
125 -MY_PV="${PV//_/-}"
126 -MY_P="ldc-${MY_PV}-src"
127 -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz"
128 -S=${WORKDIR}/${MY_P}
129 -
130 -DESCRIPTION="LLVM D Compiler"
131 -HOMEPAGE="https://ldc-developers.github.com/ldc"
132 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
133 -LICENSE="BSD"
134 -SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
135 -
136 -IUSE=""
137 -
138 -# We support LLVM 3.7 through 7.
139 -RDEPEND="|| (
140 - sys-devel/llvm:7
141 - sys-devel/llvm:6
142 - )
143 - <sys-devel/llvm-8:=
144 - >=dev-libs/libconfig-1.4.7
145 - >=app-eselect/eselect-dlang-20140709"
146 -DEPEND=">=dev-util/cmake-2.8
147 - ${RDEPEND}"
148 -LLVM_MAX_SLOT=7
149 -
150 -# For now, we support amd64 multilib. Anyone is free to add more support here.
151 -MULTILIB_COMPAT=( abi_x86_{32,64} )
152 -
153 -detect_hardened() {
154 - gcc --version | grep -o Hardened
155 -}
156 -
157 -src_configure() {
158 - if use abi_x86_32 && use abi_x86_64; then
159 - sed -i 's#@ADDITIONAL_DEFAULT_LDC_SWITCHES@#,"-L-rpath=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@:@CMAKE_INSTALL_PREFIX@/lib@MULTILIB_SUFFIX@"@ADDITIONAL_DEFAULT_LDC_SWITCHES@#' ldc2_install.conf.in || die "Cannot patch ldc2_install.conf.in"
160 - else
161 - sed -i 's#@ADDITIONAL_DEFAULT_LDC_SWITCHES@#,"-L-rpath=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@"@ADDITIONAL_DEFAULT_LDC_SWITCHES@#' ldc2_install.conf.in || die "Cannot patch ldc2_install.conf.in"
162 - fi
163 - local mycmakeargs=(
164 - -DD_VERSION=2
165 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
166 - )
167 - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
168 - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' )
169 - cmake-utils_src_configure
170 -}
171 -
172 -src_compile() {
173 - cmake-utils_src_make
174 -}
175 -
176 -src_install() {
177 - cmake-utils_src_install
178 -
179 - rm -rf "${ED}"/usr/share/bash-completion
180 -}
181 -
182 -pkg_postinst() {
183 - # Update active ldc2
184 - "${ROOT}"/usr/bin/eselect dlang update ldc2
185 -}
186 -
187 -pkg_postrm() {
188 - "${ROOT}"/usr/bin/eselect dlang update ldc2
189 -}
190
191 diff --git a/dev-lang/ldc2/ldc2-1.10.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.10.0-r1.ebuild
192 deleted file mode 100644
193 index 60d8fb2..0000000
194 --- a/dev-lang/ldc2/ldc2-1.10.0-r1.ebuild
195 +++ /dev/null
196 @@ -1,81 +0,0 @@
197 -# Copyright 1999-2019 Gentoo Authors
198 -# Distributed under the terms of the GNU General Public License v2
199 -
200 -EAPI=6
201 -
202 -inherit multilib-build cmake-utils eapi7-ver llvm
203 -
204 -MY_PV="${PV//_/-}"
205 -MY_P="ldc-${MY_PV}-src"
206 -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz"
207 -S=${WORKDIR}/${MY_P}
208 -
209 -DESCRIPTION="LLVM D Compiler"
210 -HOMEPAGE="https://ldc-developers.github.com/ldc"
211 -KEYWORDS="amd64 ~arm x86"
212 -LICENSE="BSD"
213 -SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
214 -
215 -IUSE="static-libs"
216 -
217 -# We support LLVM 3.7 through 6.
218 -RDEPEND="|| (
219 - sys-devel/llvm:6
220 - )
221 - <sys-devel/llvm-7:=
222 - >=app-eselect/eselect-dlang-20140709"
223 -DEPEND=">=dev-util/cmake-2.8
224 - ${RDEPEND}"
225 -LLVM_MAX_SLOT=6
226 -PATCHES="${FILESDIR}/ldc2-1.9.0-link-defaultlib-shared.patch"
227 -
228 -# For now, we support amd64 multilib. Anyone is free to add more support here.
229 -MULTILIB_COMPAT=( abi_x86_{32,64} )
230 -
231 -DLANG_VERSION_RANGE="2.068-2.080"
232 -DLANG_PACKAGE_TYPE="single"
233 -
234 -inherit dlang
235 -
236 -detect_hardened() {
237 - gcc --version | grep -o Hardened
238 -}
239 -
240 -src_prepare() {
241 - cmake-utils_src_prepare
242 -}
243 -
244 -d_src_configure() {
245 - # Make sure libphobos2 is installed into ldc2's directory.
246 - export LIBDIR_${ABI}="${LIBDIR_HOST}"
247 - local mycmakeargs=(
248 - -DD_VERSION=2
249 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
250 - -DD_COMPILER="${DMD}"
251 - -DD_COMPILER_DMD_COMPAT=1
252 - -DLDC_WITH_LLD=OFF
253 - )
254 - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )
255 - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
256 - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' )
257 - cmake-utils_src_configure
258 -}
259 -
260 -d_src_compile() {
261 - cmake-utils_src_make
262 -}
263 -
264 -d_src_install() {
265 - cmake-utils_src_install
266 -
267 - rm -rf "${ED}"/usr/share/bash-completion
268 -}
269 -
270 -pkg_postinst() {
271 - # Update active ldc2
272 - "${ROOT}"/usr/bin/eselect dlang update ldc2
273 -}
274 -
275 -pkg_postrm() {
276 - "${ROOT}"/usr/bin/eselect dlang update ldc2
277 -}
278
279 diff --git a/dev-lang/ldc2/ldc2-1.11.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.11.0-r1.ebuild
280 deleted file mode 100644
281 index 3988581..0000000
282 --- a/dev-lang/ldc2/ldc2-1.11.0-r1.ebuild
283 +++ /dev/null
284 @@ -1,81 +0,0 @@
285 -# Copyright 1999-2019 Gentoo Authors
286 -# Distributed under the terms of the GNU General Public License v2
287 -
288 -EAPI=6
289 -
290 -inherit multilib-build cmake-utils eapi7-ver llvm
291 -
292 -MY_PV="${PV//_/-}"
293 -MY_P="ldc-${MY_PV}-src"
294 -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz"
295 -S=${WORKDIR}/${MY_P}
296 -
297 -DESCRIPTION="LLVM D Compiler"
298 -HOMEPAGE="https://ldc-developers.github.com/ldc"
299 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
300 -LICENSE="BSD"
301 -SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
302 -
303 -IUSE="static-libs"
304 -
305 -# We support LLVM 3.7 through 6.
306 -RDEPEND="|| (
307 - sys-devel/llvm:6
308 - )
309 - <sys-devel/llvm-7:=
310 - >=app-eselect/eselect-dlang-20140709"
311 -DEPEND=">=dev-util/cmake-2.8
312 - ${RDEPEND}"
313 -LLVM_MAX_SLOT=6
314 -PATCHES="${FILESDIR}/ldc2-1.9.0-link-defaultlib-shared.patch"
315 -
316 -# For now, we support amd64 multilib. Anyone is free to add more support here.
317 -MULTILIB_COMPAT=( abi_x86_{32,64} )
318 -
319 -DLANG_VERSION_RANGE="2.068-"
320 -DLANG_PACKAGE_TYPE="single"
321 -
322 -inherit dlang
323 -
324 -detect_hardened() {
325 - gcc --version | grep -o Hardened
326 -}
327 -
328 -src_prepare() {
329 - cmake-utils_src_prepare
330 -}
331 -
332 -d_src_configure() {
333 - # Make sure libphobos2 is installed into ldc2's directory.
334 - export LIBDIR_${ABI}="${LIBDIR_HOST}"
335 - local mycmakeargs=(
336 - -DD_VERSION=2
337 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
338 - -DD_COMPILER="${DMD}"
339 - -DD_COMPILER_DMD_COMPAT=1
340 - -DLDC_WITH_LLD=OFF
341 - )
342 - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )
343 - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
344 - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' )
345 - cmake-utils_src_configure
346 -}
347 -
348 -d_src_compile() {
349 - cmake-utils_src_make
350 -}
351 -
352 -d_src_install() {
353 - cmake-utils_src_install
354 -
355 - rm -rf "${ED}"/usr/share/bash-completion
356 -}
357 -
358 -pkg_postinst() {
359 - # Update active ldc2
360 - "${ROOT}"/usr/bin/eselect dlang update ldc2
361 -}
362 -
363 -pkg_postrm() {
364 - "${ROOT}"/usr/bin/eselect dlang update ldc2
365 -}
366
367 diff --git a/dev-lang/ldc2/ldc2-1.12.0-r2.ebuild b/dev-lang/ldc2/ldc2-1.12.0-r2.ebuild
368 index f4f3f74..7c3e1fc 100644
369 --- a/dev-lang/ldc2/ldc2-1.12.0-r2.ebuild
370 +++ b/dev-lang/ldc2/ldc2-1.12.0-r2.ebuild
371 @@ -21,7 +21,6 @@ IUSE="static-libs"
372 # We support LLVM 3.7 through 7.
373 RDEPEND="|| (
374 sys-devel/llvm:7
375 - sys-devel/llvm:6
376 )
377 <sys-devel/llvm-8:=
378 >=app-eselect/eselect-dlang-20140709"
379
380 diff --git a/dev-lang/ldc2/ldc2-1.13.0-r2.ebuild b/dev-lang/ldc2/ldc2-1.13.0-r2.ebuild
381 index 921184c..90148f2 100644
382 --- a/dev-lang/ldc2/ldc2-1.13.0-r2.ebuild
383 +++ b/dev-lang/ldc2/ldc2-1.13.0-r2.ebuild
384 @@ -21,7 +21,6 @@ IUSE="static-libs"
385 # We support LLVM 3.9 through 7.
386 RDEPEND="|| (
387 sys-devel/llvm:7
388 - sys-devel/llvm:6
389 )
390 <sys-devel/llvm-8:=
391 >=app-eselect/eselect-dlang-20140709"
392
393 diff --git a/dev-lang/ldc2/ldc2-1.14.0-r2.ebuild b/dev-lang/ldc2/ldc2-1.14.0-r2.ebuild
394 index 921184c..90148f2 100644
395 --- a/dev-lang/ldc2/ldc2-1.14.0-r2.ebuild
396 +++ b/dev-lang/ldc2/ldc2-1.14.0-r2.ebuild
397 @@ -21,7 +21,6 @@ IUSE="static-libs"
398 # We support LLVM 3.9 through 7.
399 RDEPEND="|| (
400 sys-devel/llvm:7
401 - sys-devel/llvm:6
402 )
403 <sys-devel/llvm-8:=
404 >=app-eselect/eselect-dlang-20140709"
405
406 diff --git a/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild b/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild
407 index f526ac8..72eecd3 100644
408 --- a/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild
409 +++ b/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild
410 @@ -22,7 +22,6 @@ IUSE="static-libs"
411 RDEPEND="|| (
412 sys-devel/llvm:8
413 sys-devel/llvm:7
414 - sys-devel/llvm:6
415 )
416 <sys-devel/llvm-9:=
417 >=app-eselect/eselect-dlang-20140709"
418
419 diff --git a/dev-lang/ldc2/ldc2-1.16.0.ebuild b/dev-lang/ldc2/ldc2-1.16.0.ebuild
420 index f526ac8..72eecd3 100644
421 --- a/dev-lang/ldc2/ldc2-1.16.0.ebuild
422 +++ b/dev-lang/ldc2/ldc2-1.16.0.ebuild
423 @@ -22,7 +22,6 @@ IUSE="static-libs"
424 RDEPEND="|| (
425 sys-devel/llvm:8
426 sys-devel/llvm:7
427 - sys-devel/llvm:6
428 )
429 <sys-devel/llvm-9:=
430 >=app-eselect/eselect-dlang-20140709"
431
432 diff --git a/dev-lang/ldc2/ldc2-1.17.0.ebuild b/dev-lang/ldc2/ldc2-1.17.0.ebuild
433 index f526ac8..72eecd3 100644
434 --- a/dev-lang/ldc2/ldc2-1.17.0.ebuild
435 +++ b/dev-lang/ldc2/ldc2-1.17.0.ebuild
436 @@ -22,7 +22,6 @@ IUSE="static-libs"
437 RDEPEND="|| (
438 sys-devel/llvm:8
439 sys-devel/llvm:7
440 - sys-devel/llvm:6
441 )
442 <sys-devel/llvm-9:=
443 >=app-eselect/eselect-dlang-20140709"
444
445 diff --git a/dev-lang/ldc2/ldc2-1.18.0.ebuild b/dev-lang/ldc2/ldc2-1.18.0.ebuild
446 index d15013d..eabd185 100644
447 --- a/dev-lang/ldc2/ldc2-1.18.0.ebuild
448 +++ b/dev-lang/ldc2/ldc2-1.18.0.ebuild
449 @@ -23,7 +23,6 @@ RDEPEND="|| (
450 sys-devel/llvm:9
451 sys-devel/llvm:8
452 sys-devel/llvm:7
453 - sys-devel/llvm:6
454 )
455 <sys-devel/llvm-10:=
456 >=app-eselect/eselect-dlang-20140709"
457
458 diff --git a/dev-lang/ldc2/ldc2-1.9.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.9.0-r1.ebuild
459 deleted file mode 100644
460 index 60d8fb2..0000000
461 --- a/dev-lang/ldc2/ldc2-1.9.0-r1.ebuild
462 +++ /dev/null
463 @@ -1,81 +0,0 @@
464 -# Copyright 1999-2019 Gentoo Authors
465 -# Distributed under the terms of the GNU General Public License v2
466 -
467 -EAPI=6
468 -
469 -inherit multilib-build cmake-utils eapi7-ver llvm
470 -
471 -MY_PV="${PV//_/-}"
472 -MY_P="ldc-${MY_PV}-src"
473 -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz"
474 -S=${WORKDIR}/${MY_P}
475 -
476 -DESCRIPTION="LLVM D Compiler"
477 -HOMEPAGE="https://ldc-developers.github.com/ldc"
478 -KEYWORDS="amd64 ~arm x86"
479 -LICENSE="BSD"
480 -SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
481 -
482 -IUSE="static-libs"
483 -
484 -# We support LLVM 3.7 through 6.
485 -RDEPEND="|| (
486 - sys-devel/llvm:6
487 - )
488 - <sys-devel/llvm-7:=
489 - >=app-eselect/eselect-dlang-20140709"
490 -DEPEND=">=dev-util/cmake-2.8
491 - ${RDEPEND}"
492 -LLVM_MAX_SLOT=6
493 -PATCHES="${FILESDIR}/ldc2-1.9.0-link-defaultlib-shared.patch"
494 -
495 -# For now, we support amd64 multilib. Anyone is free to add more support here.
496 -MULTILIB_COMPAT=( abi_x86_{32,64} )
497 -
498 -DLANG_VERSION_RANGE="2.068-2.080"
499 -DLANG_PACKAGE_TYPE="single"
500 -
501 -inherit dlang
502 -
503 -detect_hardened() {
504 - gcc --version | grep -o Hardened
505 -}
506 -
507 -src_prepare() {
508 - cmake-utils_src_prepare
509 -}
510 -
511 -d_src_configure() {
512 - # Make sure libphobos2 is installed into ldc2's directory.
513 - export LIBDIR_${ABI}="${LIBDIR_HOST}"
514 - local mycmakeargs=(
515 - -DD_VERSION=2
516 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
517 - -DD_COMPILER="${DMD}"
518 - -DD_COMPILER_DMD_COMPAT=1
519 - -DLDC_WITH_LLD=OFF
520 - )
521 - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )
522 - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
523 - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' )
524 - cmake-utils_src_configure
525 -}
526 -
527 -d_src_compile() {
528 - cmake-utils_src_make
529 -}
530 -
531 -d_src_install() {
532 - cmake-utils_src_install
533 -
534 - rm -rf "${ED}"/usr/share/bash-completion
535 -}
536 -
537 -pkg_postinst() {
538 - # Update active ldc2
539 - "${ROOT}"/usr/bin/eselect dlang update ldc2
540 -}
541 -
542 -pkg_postrm() {
543 - "${ROOT}"/usr/bin/eselect dlang update ldc2
544 -}
545
546 diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
547 index f23d817..29a4f78 100644
548 --- a/dev-util/dlang-tools/Manifest
549 +++ b/dev-util/dlang-tools/Manifest
550 @@ -22,7 +22,6 @@ DIST dlang-tools-2.084.1.tar.gz 113129 BLAKE2B eaa013e5d4c05561d3c91a2b597b3cc98
551 DIST dlang-tools-2.085.1.tar.gz 116351 BLAKE2B 0d5f0b1bcd4b7f98eeac6ca2214789b3c0c76617f7982df7dc1efcc18f25d322899f55a27c4556a4d742c60e7f484a57b50f066b88dc1a2697b99066a94c7a90 SHA512 8149d0f38d000012eab18c2bb85ff6f0d1f9211fd367684b6efe507e24fbca9c773a7b51c89195a37f4d12995d7005d9a7f4aadbaf402ecd7ba2db7bc4499903
552 DIST dlang-tools-2.086.1.tar.gz 116540 BLAKE2B 5a2e19f72fd8dd608e15dd5d5d4d6fe2296d7308fb926a064b1a438d8a698141e1acf0c9a829f65612e48d4b5b4c28336f8f3dc59b1a68cc856db13b80b1ee9d SHA512 9cb59613e43c31fcab4807451a6cb434226d3a0ff5ee9239f6d83fbceab8ef112dcf63e1545d93fb59980fccb55ee120aa0a724e18405b83efff7c913d229ef8
553 DIST dlang-tools-2.087.1.tar.gz 117096 BLAKE2B 3384882ff647c459d2a2380d35cf355eaeb0828d0b965ce4aa2bc7b8652662b3f38b137b01f60d33df0400982ec1c96a1d2d3b6363ccbfe4f52d01d88dccbb93 SHA512 af5adf9971ed818ca93f7d0e462d7d3f91920caacc77c4b26cc828ef00ee28ee2bb56574c4c7f8692853af2e2d32495e49bf1fca4956652df4452eac099b52cd
554 -DIST dlang-tools-2.088.0.tar.gz 117098 BLAKE2B 1b202aa34c0a0d34a9b415cd450da2310cb0d4fbf4d32c4ebe9d6d56dbff6534e026cb7260cfed68630be21b118c79c953109818948afc543b1bb075d9cee250 SHA512 767fa0e7c66a5e1932d96c2fadc49846db623501c62a59c3679e1c76a21154a9e03fa5d4ca9acecf8ef0bcb4c7f4e252a271e9f474b34627a28a6e643b8aeb7d
555 DIST dlang-tools-2.088.1.tar.gz 117104 BLAKE2B 2920cb8950fb0e921665bab161584c35a267acbc4a34713afabfab2edc40c6d391a2a55ae2bb3a0f28f2be2ef5ddbeec767b9afcea510d9b35d57d1cf9e5ca52 SHA512 288739656404e345e683e6692a6478a03af8455d3e3ad56d3ba22e1d7d9cb1e5156f70116e4444138c798bfa28cf4b38263b6cd32a8d2483417e8ae51192ea65
556 DIST dlang-tools-2.089.0.tar.gz 117576 BLAKE2B 73ff760a86bd537e8ae818287bd337c25a865c2a103ad7334f66abc02725b064b1190c2bdc29b32d6b3759adc69a36a2ac499285aef3f1c4b260f4d747750418 SHA512 a64bed8d0b24a33fd86ca1375895f85cd86b34d2b9eb871e7d3df34235e634be058addd6b1056c5a3b010050eb0593e5ef45d907720e07b081140fd265bc00e3
557 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9 SHA512 a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf
558
559 diff --git a/dev-util/dlang-tools/dlang-tools-2.088.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.088.0.ebuild
560 deleted file mode 100644
561 index 16a8df2..0000000
562 --- a/dev-util/dlang-tools/dlang-tools-2.088.0.ebuild
563 +++ /dev/null
564 @@ -1,54 +0,0 @@
565 -# Copyright 1999-2019 Gentoo Authors
566 -# Distributed under the terms of the GNU General Public License v2
567 -
568 -EAPI=6
569 -
570 -DESCRIPTION="Ancilliary tools for the D programming language compiler"
571 -HOMEPAGE="http://dlang.org/"
572 -LICENSE="Boost-1.0"
573 -
574 -SLOT="0"
575 -KEYWORDS="~amd64 ~x86"
576 -TOOLS="ddemangle detab dustmite rdmd"
577 -IUSE="+ddemangle detab dustmite +rdmd"
578 -REQUIRED_USE="|| ( ${TOOLS} )"
579 -
580 -inherit eapi7-ver
581 -
582 -DLANG_SLOT="$(ver_cut 1-2)"
583 -RESTRICT="mirror"
584 -
585 -BETA="$(ver_cut 4)"
586 -VERSION="$(ver_cut 1-3)"
587 -
588 -if [[ -n "${BETA}" ]]; then
589 - VERSION="${VERSION}-b${BETA:4}"
590 -fi
591 -SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-tools-${VERSION}.tar.gz"
592 -
593 -DLANG_VERSION_RANGE="2.076-"
594 -DLANG_PACKAGE_TYPE="single"
595 -
596 -inherit eutils dlang
597 -
598 -S="${WORKDIR}/tools-${VERSION}"
599 -
600 -d_src_compile() {
601 - use ddemangle && dlang_compile_bin ddemangle ddemangle.d
602 - use detab && dlang_compile_bin detab detab.d
603 - use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d
604 - use rdmd && dlang_compile_bin rdmd rdmd.d
605 -}
606 -
607 -d_src_install() {
608 - for tool in ${TOOLS}; do
609 - if use "${tool}"; then
610 - dobin "${tool}"
611 - fi
612 - done
613 -
614 - # file icons
615 - for size in 16 22 24 32 48 256; do
616 - newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
617 - done
618 -}
619
620 diff --git a/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
621 index 16a8df2..126e8dc 100644
622 --- a/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
623 +++ b/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
624 @@ -8,7 +8,7 @@ HOMEPAGE="http://dlang.org/"
625 LICENSE="Boost-1.0"
626
627 SLOT="0"
628 -KEYWORDS="~amd64 ~x86"
629 +KEYWORDS="amd64 x86"
630 TOOLS="ddemangle detab dustmite rdmd"
631 IUSE="+ddemangle detab dustmite +rdmd"
632 REQUIRED_USE="|| ( ${TOOLS} )"
633
634 diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
635 index 36decb3..4c83fb9 100644
636 --- a/dev-util/dub/Manifest
637 +++ b/dev-util/dub/Manifest
638 @@ -1,2 +1 @@
639 -DIST dub-1.17.0.tar.gz 1280689 BLAKE2B b7236bce2e2cc1218a8043ae95087876e6fa67e696e3320c2ba089451870eccc3f7d7aafb89d7ec192fad4bc5de89eab15f79c1e128ca7c12c1c906b4151ba1c SHA512 8907e7b66d5a5c3d6013a2073a61cdab2a9276454b9c63628b30bb787cee2a7f785bf5ee1db781bf241fe4196a792f74682872ad55bb42349ae5452ce0ffec92
640 DIST dub-1.18.0.tar.gz 1281488 BLAKE2B 69c1c2c10c4f3ede1fd30f31d87d135c0bc7435fddd14491ec86fc8a86e61e91a89b678ee32f11dbe180ed710859917a6c7a3de8900b4a0f7696bb3a4ffd13b4 SHA512 c8eff9e9fe1edf5f2cb01119463dade936f32f53971e9d58dad6e3d27cc2a013cd9bb6976d2d42c999b7c98a4bd8f9846a2064ba6496c9c1a6dc5e15421c9cfa
641
642 diff --git a/dev-util/dub/dub-1.17.0.ebuild b/dev-util/dub/dub-1.17.0.ebuild
643 deleted file mode 100644
644 index 757e33a..0000000
645 --- a/dev-util/dub/dub-1.17.0.ebuild
646 +++ /dev/null
647 @@ -1,39 +0,0 @@
648 -# Copyright 1999-2019 Gentoo Authors
649 -# Distributed under the terms of the GNU General Public License v2
650 -
651 -EAPI=6
652 -
653 -DESCRIPTION="Package and build management system for D"
654 -HOMEPAGE="http://code.dlang.org/"
655 -LICENSE="MIT"
656 -
657 -SLOT="0"
658 -KEYWORDS="amd64 ~arm x86"
659 -IUSE="debug"
660 -
661 -GITHUB_URI="https://codeload.github.com/dlang"
662 -SRC_URI="${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz"
663 -PATCHES="${FILESDIR}/${P}-gdc-dmd-pathfix.patch"
664 -
665 -DLANG_VERSION_RANGE="2.076-"
666 -DLANG_PACKAGE_TYPE="single"
667 -
668 -inherit dlang
669 -
670 -DEPEND="net-misc/curl"
671 -RDEPEND="${DEPEND}"
672 -
673 -d_src_compile() {
674 - local imports=source versions="DubApplication DubUseCurl" libs="curl z"
675 - dlang_compile_bin bin/dub $(<build-files.txt)
676 -}
677 -
678 -d_src_test() {
679 - echo "Test phase disabled due to multiple problems."
680 - #DUB="${S}/bin/dub" test/run-unittest.sh || die "Test phase failed"
681 -}
682 -
683 -d_src_install() {
684 - dobin bin/dub
685 - dodoc README.md
686 -}
687
688 diff --git a/dev-util/dub/dub-1.18.0.ebuild b/dev-util/dub/dub-1.18.0.ebuild
689 index 237a2db..757e33a 100644
690 --- a/dev-util/dub/dub-1.18.0.ebuild
691 +++ b/dev-util/dub/dub-1.18.0.ebuild
692 @@ -8,7 +8,7 @@ HOMEPAGE="http://code.dlang.org/"
693 LICENSE="MIT"
694
695 SLOT="0"
696 -KEYWORDS="~amd64 ~arm ~x86"
697 +KEYWORDS="amd64 ~arm x86"
698 IUSE="debug"
699
700 GITHUB_URI="https://codeload.github.com/dlang"
701
702 diff --git a/dev-util/dub/files/dub-1.17.0-gdc-dmd-pathfix.patch b/dev-util/dub/files/dub-1.17.0-gdc-dmd-pathfix.patch
703 deleted file mode 100644
704 index 497ef50..0000000
705 --- a/dev-util/dub/files/dub-1.17.0-gdc-dmd-pathfix.patch
706 +++ /dev/null
707 @@ -1,16 +0,0 @@
708 -diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d
709 ---- a/source/dub/generators/build.d
710 -+++ b/source/dub/generators/build.d
711 -@@ -119,10 +119,10 @@ class BuildGenerator : ProjectGenerator {
712 - auto build_id = computeBuildID(config, buildsettings, settings);
713 -
714 - // make all paths relative to shrink the command line
715 -- string makeRelative(string path) { return shrinkPath(NativePath(path), cwd); }
716 -+ /+string makeRelative(string path) { return shrinkPath(NativePath(path), cwd); }
717 - foreach (ref f; buildsettings.sourceFiles) f = makeRelative(f);
718 - foreach (ref p; buildsettings.importPaths) p = makeRelative(p);
719 -- foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p);
720 -+ foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p);+/
721 -
722 - // perform the actual build
723 - bool cached = false;
724
725 diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
726 index 318cb91..eefdc02 100644
727 --- a/eclass/dlang-compilers.eclass
728 +++ b/eclass/dlang-compilers.eclass
729 @@ -39,6 +39,7 @@ dlang-compilers_declare_versions() {
730 ["2.085"]="2.085 x86 amd64"
731 ["2.086"]="2.086 x86 amd64"
732 ["2.087"]="2.087 x86 amd64"
733 + ["2.088"]="2.088 x86 amd64"
734 )
735
736 # GDC (alpha, hppa, sparc: masked "d" USE-flag)
737 @@ -49,10 +50,6 @@ dlang-compilers_declare_versions() {
738
739 # LDC
740 __dlang_ldc2_frontend=(
741 - ["0.17"]="2.068 amd64 ~arm x86"
742 - ["1.9"]="2.079 amd64 ~arm x86"
743 - ["1.10"]="2.080 amd64 ~arm x86"
744 - ["1.11"]="2.081 amd64 ~arm ~arm64 ~ppc64 x86"
745 ["1.12"]="2.082 amd64 ~arm ~arm64 ~ppc64 x86"
746 ["1.13"]="2.083 amd64 ~arm ~arm64 ~ppc64 x86"
747 ["1.14"]="2.084 amd64 ~arm ~arm64 ~ppc64 x86"
748
749 diff --git a/profiles/use.desc b/profiles/use.desc
750 index 6f0ec5b..86e5a67 100644
751 --- a/profiles/use.desc
752 +++ b/profiles/use.desc
753 @@ -23,9 +23,9 @@ dmd-2_084 - Build for DMD 2.084
754 dmd-2_085 - Build for DMD 2.085
755 dmd-2_086 - Build for DMD 2.086
756 dmd-2_087 - Build for DMD 2.087
757 +dmd-2_088 - Build for DMD 2.088
758 gdc-6_4_0 - Build for GCC 6.4.0
759 gdc-7_3_0 - Build for GCC 7.3.0
760 -ldc2-0_17 - Build for ldc2 0.17
761 ldc2-1_9 - Build for ldc2 1.9
762 ldc2-1_10 - Build for ldc2 1.10
763 ldc2-1_11 - Build for ldc2 1.11