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/, eclass/, profiles/, dev-util/dub/files/
Date: Sun, 17 Nov 2019 15:38:52
Message-Id: 1574005001.7b07c6a1dd5e165595858a9a7224ec80b611c339.mleise@gentoo
1 commit: 7b07c6a1dd5e165595858a9a7224ec80b611c339
2 Author: Marco Leise <marco.leise <AT> gmx <DOT> de>
3 AuthorDate: Sun Nov 3 00:22:03 2019 +0000
4 Commit: Marco Leise <marco.leise <AT> gmx <DOT> de>
5 CommitDate: Sun Nov 17 15:36:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=7b07c6a1
7
8 stabilization sweep
9
10 Signed-off-by: Marco Leise <marco.leise <AT> gmx.de>
11
12 dev-lang/ldc2/ldc2-1.17.0.ebuild | 2 +-
13 dev-util/dub/Manifest | 1 -
14 dev-util/dub/dub-1.16.0.ebuild | 39 ----------------------
15 dev-util/dub/dub-1.17.0.ebuild | 2 +-
16 .../dub/files/dub-1.16.0-gdc-dmd-pathfix.patch | 16 ---------
17 eclass/dlang-compilers.eclass | 1 +
18 profiles/use.desc | 1 +
19 7 files changed, 4 insertions(+), 58 deletions(-)
20
21 diff --git a/dev-lang/ldc2/ldc2-1.17.0.ebuild b/dev-lang/ldc2/ldc2-1.17.0.ebuild
22 index d01e602..f526ac8 100644
23 --- a/dev-lang/ldc2/ldc2-1.17.0.ebuild
24 +++ b/dev-lang/ldc2/ldc2-1.17.0.ebuild
25 @@ -12,7 +12,7 @@ S=${WORKDIR}/${MY_P}
26
27 DESCRIPTION="LLVM D Compiler"
28 HOMEPAGE="https://ldc-developers.github.com/ldc"
29 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
30 +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
31 LICENSE="BSD"
32 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
33
34
35 diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
36 index df15b75..aefe6c2 100644
37 --- a/dev-util/dub/Manifest
38 +++ b/dev-util/dub/Manifest
39 @@ -1,2 +1 @@
40 -DIST dub-1.16.0.tar.gz 1280193 BLAKE2B c569e2b189609d64801478f219139463552717b82d12b69792f0488ed52ffaefbe3b9ccfcec56c8324e03851a92b0a33f55730b759e56ecd8c322155980185c0 SHA512 e088fcdb0930439606c7575183d96cc4d743109d0d513f3606ae1ac1df41d4862aff8bfd36be90228aed4c4fc2f46528cb7a650ec6f988f146b051a10ccce177
41 DIST dub-1.17.0.tar.gz 1280689 BLAKE2B b7236bce2e2cc1218a8043ae95087876e6fa67e696e3320c2ba089451870eccc3f7d7aafb89d7ec192fad4bc5de89eab15f79c1e128ca7c12c1c906b4151ba1c SHA512 8907e7b66d5a5c3d6013a2073a61cdab2a9276454b9c63628b30bb787cee2a7f785bf5ee1db781bf241fe4196a792f74682872ad55bb42349ae5452ce0ffec92
42
43 diff --git a/dev-util/dub/dub-1.16.0.ebuild b/dev-util/dub/dub-1.16.0.ebuild
44 deleted file mode 100644
45 index 757e33a..0000000
46 --- a/dev-util/dub/dub-1.16.0.ebuild
47 +++ /dev/null
48 @@ -1,39 +0,0 @@
49 -# Copyright 1999-2019 Gentoo Authors
50 -# Distributed under the terms of the GNU General Public License v2
51 -
52 -EAPI=6
53 -
54 -DESCRIPTION="Package and build management system for D"
55 -HOMEPAGE="http://code.dlang.org/"
56 -LICENSE="MIT"
57 -
58 -SLOT="0"
59 -KEYWORDS="amd64 ~arm x86"
60 -IUSE="debug"
61 -
62 -GITHUB_URI="https://codeload.github.com/dlang"
63 -SRC_URI="${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz"
64 -PATCHES="${FILESDIR}/${P}-gdc-dmd-pathfix.patch"
65 -
66 -DLANG_VERSION_RANGE="2.076-"
67 -DLANG_PACKAGE_TYPE="single"
68 -
69 -inherit dlang
70 -
71 -DEPEND="net-misc/curl"
72 -RDEPEND="${DEPEND}"
73 -
74 -d_src_compile() {
75 - local imports=source versions="DubApplication DubUseCurl" libs="curl z"
76 - dlang_compile_bin bin/dub $(<build-files.txt)
77 -}
78 -
79 -d_src_test() {
80 - echo "Test phase disabled due to multiple problems."
81 - #DUB="${S}/bin/dub" test/run-unittest.sh || die "Test phase failed"
82 -}
83 -
84 -d_src_install() {
85 - dobin bin/dub
86 - dodoc README.md
87 -}
88
89 diff --git a/dev-util/dub/dub-1.17.0.ebuild b/dev-util/dub/dub-1.17.0.ebuild
90 index 237a2db..757e33a 100644
91 --- a/dev-util/dub/dub-1.17.0.ebuild
92 +++ b/dev-util/dub/dub-1.17.0.ebuild
93 @@ -8,7 +8,7 @@ HOMEPAGE="http://code.dlang.org/"
94 LICENSE="MIT"
95
96 SLOT="0"
97 -KEYWORDS="~amd64 ~arm ~x86"
98 +KEYWORDS="amd64 ~arm x86"
99 IUSE="debug"
100
101 GITHUB_URI="https://codeload.github.com/dlang"
102
103 diff --git a/dev-util/dub/files/dub-1.16.0-gdc-dmd-pathfix.patch b/dev-util/dub/files/dub-1.16.0-gdc-dmd-pathfix.patch
104 deleted file mode 100644
105 index 497ef50..0000000
106 --- a/dev-util/dub/files/dub-1.16.0-gdc-dmd-pathfix.patch
107 +++ /dev/null
108 @@ -1,16 +0,0 @@
109 -diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d
110 ---- a/source/dub/generators/build.d
111 -+++ b/source/dub/generators/build.d
112 -@@ -119,10 +119,10 @@ class BuildGenerator : ProjectGenerator {
113 - auto build_id = computeBuildID(config, buildsettings, settings);
114 -
115 - // make all paths relative to shrink the command line
116 -- string makeRelative(string path) { return shrinkPath(NativePath(path), cwd); }
117 -+ /+string makeRelative(string path) { return shrinkPath(NativePath(path), cwd); }
118 - foreach (ref f; buildsettings.sourceFiles) f = makeRelative(f);
119 - foreach (ref p; buildsettings.importPaths) p = makeRelative(p);
120 -- foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p);
121 -+ foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p);+/
122 -
123 - // perform the actual build
124 - bool cached = false;
125
126 diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
127 index 443c767..318cb91 100644
128 --- a/eclass/dlang-compilers.eclass
129 +++ b/eclass/dlang-compilers.eclass
130 @@ -58,6 +58,7 @@ dlang-compilers_declare_versions() {
131 ["1.14"]="2.084 amd64 ~arm ~arm64 ~ppc64 x86"
132 ["1.15"]="2.085 amd64 ~arm ~arm64 ~ppc64 x86"
133 ["1.16"]="2.086 amd64 ~arm ~arm64 ~ppc64 x86"
134 + ["1.17"]="2.087 amd64 ~arm ~arm64 ~ppc64 x86"
135 )
136 }
137
138
139 diff --git a/profiles/use.desc b/profiles/use.desc
140 index da00b6f..6f0ec5b 100644
141 --- a/profiles/use.desc
142 +++ b/profiles/use.desc
143 @@ -34,3 +34,4 @@ ldc2-1_13 - Build for ldc2 1.13
144 ldc2-1_14 - Build for ldc2 1.14
145 ldc2-1_15 - Build for ldc2 1.15
146 ldc2-1_16 - Build for ldc2 1.16
147 +ldc2-1_17 - Build for ldc2 1.17