aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Leise <marco.leise@gmx.de>2020-05-16 21:48:42 +0200
committerMarco Leise <marco.leise@gmx.de>2020-05-16 21:48:42 +0200
commitd6a7f48dce12a2cdb317e801771c7931dd8e4d98 (patch)
tree041832974c67921b27e8fb303b4aa41c49b9ebc4 /dev-util
parentrepository maintenance: added missiing onedrive manifest, removed ldc2 versio... (diff)
downloaddlang-d6a7f48dce12a2cdb317e801771c7931dd8e4d98.tar.gz
dlang-d6a7f48dce12a2cdb317e801771c7931dd8e4d98.tar.bz2
dlang-d6a7f48dce12a2cdb317e801771c7931dd8e4d98.zip
dmd-2.091 and dub-1.20.1
Signed-off-by: Marco Leise <marco.leise@gmx.de>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/dlang-tools/Manifest2
-rw-r--r--dev-util/dlang-tools/dlang-tools-2.091.1.ebuild (renamed from dev-util/dlang-tools/dlang-tools-2.091.0.ebuild)0
-rw-r--r--dev-util/dub/Manifest1
-rw-r--r--dev-util/dub/dub-1.20.1.ebuild39
-rw-r--r--dev-util/dub/files/dub-1.20.1-gdc-dmd-pathfix.patch16
5 files changed, 57 insertions, 1 deletions
diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 38897a4..8d581ee 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -25,7 +25,7 @@ DIST dlang-tools-2.087.1.tar.gz 117096 BLAKE2B 3384882ff647c459d2a2380d35cf355ea
DIST dlang-tools-2.088.1.tar.gz 117104 BLAKE2B 2920cb8950fb0e921665bab161584c35a267acbc4a34713afabfab2edc40c6d391a2a55ae2bb3a0f28f2be2ef5ddbeec767b9afcea510d9b35d57d1cf9e5ca52 SHA512 288739656404e345e683e6692a6478a03af8455d3e3ad56d3ba22e1d7d9cb1e5156f70116e4444138c798bfa28cf4b38263b6cd32a8d2483417e8ae51192ea65
DIST dlang-tools-2.089.1.tar.gz 117693 BLAKE2B 6e499fd01bda7a58036b08f30319549ca2c786ea348ac93d045019fde745a3b30179af0d7c3999af8bd09f15d86876e43927cf069a70dc5120ebc08eb82a84c3 SHA512 ffc1eb9d42f167d2a519a052fdc87fb3db576d9b549dac80c993859f597dfbc492e783129b9c94dc664e33817bacf09b040d0cb2efbc679971ba768163eb4e42
DIST dlang-tools-2.090.1.tar.gz 117709 BLAKE2B 8a714a5bd6860bf4a856fbbde2a7188b404b819e11f9ed815688b9acb5fa6e95a95c0fb4aa407495da89a0e3b19dba584be1d90f3c60c2af95090d6e81f221d6 SHA512 82f6d3fd4a7f6fd013425894ec5f817c960764479649c97139a019802fc5c2a83671102f1b2a9427e88446055e5a1a4fa884a4b86400a84107b2d5ca322b7a32
-DIST dlang-tools-2.091.0.tar.gz 117712 BLAKE2B af1ccb162f5e2a9c95bf5e5b879ff670cadd1ac8fd4320c168745f40c1d57c5711348dbfda4a6a6cacede1c332b9878a46b6d1ac565792395181a01f727550b8 SHA512 b484074e22b7f7a6a6f1cc3cd184d5373474808eba1b195c275858905273335d033ed02b7b1fc993ecc6ef42d91fc1b3f2fc1ee32d5d2497ed7c992b46d13100
+DIST dlang-tools-2.091.1.tar.gz 117714 BLAKE2B bd0957f0e70401b1ededf29be7f942da1445c66e3ea4b47f31b136413b506c3dd03faa4cb1962a10ae51edd0cb18b282da072b0ba63f0f0d7e2cd3e460924e3a SHA512 b8fb4f4c1e9aed1e2134644152a32a7c6073d801458bf0a45a23e86cd761a19c4b517365112edc7af73fbef3c26b4106fa0ee7478a78fa41c531a060c25e3955
DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9 SHA512 a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf
DIST dlang.org-2.065.0.tar.gz 1005429 BLAKE2B 01fc8ec0c5148f910e2923be556208c08a18f00453ffa1f1a22d6725db6489b6f9022cd170caa3a05078baddde353ee819984da5efa53547e78006d2f0a97b9c SHA512 0fb185603766b54c3b9dc57824b18ec7ea9f37281610729860543630f4546591f9523bff48eee5414235d2ee656201c444e6d2efc44ba66a052b98a0d9b4729e
DIST dlang.org-2.066.1.tar.gz 1024075 BLAKE2B cfdb4922c38d9f0ced941eeb4578d71f09d65201d2f89cfc73e46ae73f0939c74fa92d7f003b87a28f814c5b2cc0dda6855b86e64fd86be3920c129f8c20df6a SHA512 d3838cc2ab6236d57c17f92fa5eaef8458176715985aecbea9653cc772725e1b9f813c9ffc8e06490e08c1031826ab84d1fcfbd88008791cac3257db814e3dc8
diff --git a/dev-util/dlang-tools/dlang-tools-2.091.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
index 6b8a8e1..6b8a8e1 100644
--- a/dev-util/dlang-tools/dlang-tools-2.091.0.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index 4a2569c..9544359 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1 +1,2 @@
DIST dub-1.20.0.tar.gz 1270037 BLAKE2B 33da3da316c2fc2b51b3d0febfd47c7f48e866195b47c6acbe621f46898f72961f78ec4b3cc61d0274f29b51378da77f2e0278b40ddaa8bca2296c4c8df7c6a8 SHA512 4ad750ab8b968005d1510f1ab6125d8167c67e1d2374b0f7df4d3624139430fedfa45d88b0ded64577981e0ffd863554eb4ee2b736eb22354d5ace4b0da589a8
+DIST dub-1.20.1.tar.gz 1269733 BLAKE2B 15f0e3042249687eb35d9e54b97bb22ba9db4184f54fd5154849aff952d667cd38cbb15a9d349573bd984fd1b30459c22003fab7d647961355c30498fa0b2203 SHA512 9509c5272f72811ddedb840379dc474abc2328b1863464dcc1cba1c4a017f7409c206d38366e68c5e37c602a380c50189d5fe300664015d16e3629aa57e48afb
diff --git a/dev-util/dub/dub-1.20.1.ebuild b/dev-util/dub/dub-1.20.1.ebuild
new file mode 100644
index 0000000..23205f6
--- /dev/null
+++ b/dev-util/dub/dub-1.20.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Package and build management system for D"
+HOMEPAGE="http://code.dlang.org/"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug"
+
+GITHUB_URI="https://codeload.github.com/dlang"
+SRC_URI="${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz"
+PATCHES="${FILESDIR}/${P}-gdc-dmd-pathfix.patch"
+
+DLANG_VERSION_RANGE="2.076-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang
+
+DEPEND="net-misc/curl"
+RDEPEND="${DEPEND}"
+
+d_src_compile() {
+ local imports=source versions="DubApplication DubUseCurl" libs="curl z"
+ dlang_compile_bin bin/dub $(<build-files.txt)
+}
+
+d_src_test() {
+ echo "Test phase disabled due to multiple problems."
+ #DUB="${S}/bin/dub" test/run-unittest.sh || die "Test phase failed"
+}
+
+d_src_install() {
+ dobin bin/dub
+ dodoc README.md
+}
diff --git a/dev-util/dub/files/dub-1.20.1-gdc-dmd-pathfix.patch b/dev-util/dub/files/dub-1.20.1-gdc-dmd-pathfix.patch
new file mode 100644
index 0000000..497ef50
--- /dev/null
+++ b/dev-util/dub/files/dub-1.20.1-gdc-dmd-pathfix.patch
@@ -0,0 +1,16 @@
+diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d
+--- a/source/dub/generators/build.d
++++ b/source/dub/generators/build.d
+@@ -119,10 +119,10 @@ class BuildGenerator : ProjectGenerator {
+ auto build_id = computeBuildID(config, buildsettings, settings);
+
+ // make all paths relative to shrink the command line
+- string makeRelative(string path) { return shrinkPath(NativePath(path), cwd); }
++ /+string makeRelative(string path) { return shrinkPath(NativePath(path), cwd); }
+ foreach (ref f; buildsettings.sourceFiles) f = makeRelative(f);
+ foreach (ref p; buildsettings.importPaths) p = makeRelative(p);
+- foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p);
++ foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p);+/
+
+ // perform the actual build
+ bool cached = false;