* [gentoo-commits] repo/user/dlang:master commit in: eclass/, dev-util/dlang-tools/, net-misc/onedrive/, dev-lang/ldc2/files/, ...
@ 2021-05-21 17:20 Marco Leise
0 siblings, 0 replies; only message in thread
From: Marco Leise @ 2021-05-21 17:20 UTC (permalink / raw
To: gentoo-commits
commit: 5727f546d3620c198dbe9c5321a5ec259ae43a4a
Author: Marco Leise <marco.leise <AT> gmx <DOT> de>
AuthorDate: Mon May 17 14:43:05 2021 +0000
Commit: Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Mon May 17 14:43:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=5727f546
stabilization sweep
Signed-off-by: Marco Leise <marco.leise <AT> gmx.de>
dev-lang/dmd/dmd-2.094.2.ebuild | 4 +-
dev-lang/ldc2/Manifest | 2 -
.../ldc2/files/ldc2-1.18.0-FileCheck-not.patch | 20 ------
dev-lang/ldc2/ldc2-1.18.0-r1.ebuild | 76 ----------------------
dev-lang/ldc2/ldc2-1.19.0-r1.ebuild | 75 ---------------------
dev-lang/ldc2/ldc2-1.20.1-r1.ebuild | 3 +-
dev-lang/ldc2/ldc2-1.21.0-r1.ebuild | 3 +-
dev-lang/ldc2/ldc2-1.22.0.ebuild | 3 +-
dev-lang/ldc2/ldc2-1.23.0.ebuild | 3 +-
dev-lang/ldc2/ldc2-1.24.0.ebuild | 3 +-
dev-util/dlang-tools/dlang-tools-2.094.2.ebuild | 4 +-
dev-util/dub/Manifest | 1 -
dev-util/dub/dub-1.23.0.ebuild | 39 -----------
dev-util/dub/dub-1.24.0.ebuild | 2 +-
.../dub/files/dub-1.23.0-gdc-dmd-pathfix.patch | 16 -----
eclass/dlang-compilers.eclass | 3 +-
eclass/dmd.eclass | 9 ++-
net-misc/onedrive/Manifest | 1 -
net-misc/onedrive/onedrive-2.4.7.ebuild | 64 ------------------
net-misc/onedrive/onedrive-2.4.9.ebuild | 2 +-
profiles/use.desc | 1 +
21 files changed, 19 insertions(+), 315 deletions(-)
diff --git a/dev-lang/dmd/dmd-2.094.2.ebuild b/dev-lang/dmd/dmd-2.094.2.ebuild
index cce541d..42e9e95 100644
--- a/dev-lang/dmd/dmd-2.094.2.ebuild
+++ b/dev-lang/dmd/dmd-2.094.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
YEAR=2020
DLANG_VERSION_RANGE="2.076-"
diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index 6808cea..a4e6e61 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -1,5 +1,3 @@
-DIST ldc-1.18.0-src.tar.gz 7183351 BLAKE2B 0affd49dda5f7c3df64e8d89fe66f2fce4c3a18c4bc5e4147e2e906d10f0b27316c8c460f5b9d767f3f50e5e909448b9f44cb17e156766d5488e237a71dd5009 SHA512 fe7529c33d0e43dfb71f474dfa381b88ee476b70933c8f80fc063d9a015df24a75e2b607a7242cc4b9cd4b6ac7559aec8f2883016bf7252342742322fcccbd4d
-DIST ldc-1.19.0-src.tar.gz 7222182 BLAKE2B 28a2256aad57f5304644126da63d88a9f0e4266402a537b7864605dd5ce97009b87d6767906b4271dd0ec9621bb1fb193531229c4799c66d0b47e6dad91c0766 SHA512 ffd1b085c7c8fe76162051234cc73e92f08a391cebac3f405c9dc6d03fcbf459d5e99295066ab4b0bd931bdce84dce53e23c33c1bc8ad35327f1b283f8e8f10a
DIST ldc-1.20.1-src.tar.gz 7283975 BLAKE2B ceb75e767562936606a5fc8383dd089a8daefd04e6fbcd8c6b360fccad50ecb7c6656d60c5351b11a3580d01bdb45101ed50ff6c7a9791af1fd25be160e9a037 SHA512 bb699999a69de1773a10998c653b5a1b0bce30e39cfcee0e19b036378b28519b3118ac369b341cfd305a8a9bd904564ffffe83f720a62ab4f2c1942c2e26bb53
DIST ldc-1.21.0-src.tar.gz 7355981 BLAKE2B 46f3289e3e39d8c3b2a4985e1de4b5ef0e218188af5095cb2007bb83eec2bdaf6c590786d7b655a1f886c7f46703db2c049cf054c0fac438f943a702d3ac7a3b SHA512 5759cb0ad04d2e62a075748b40efb30261c1ebefbc129024cddccf60ab59c211f20b87a0fe22b0a714a0435f53d54a722229cd8ad4ede7bfbf492809f23c679a
DIST ldc-1.22.0-src.tar.gz 7434646 BLAKE2B 317c9ebb3f75e495c939fadd24abbbea4baa2f9bf547894067d373adc48dfefd47c5bcc2136ac67ecd2bbbe2bf0cf879cfc9b978d9ff75d68ede7b0686dbfee9 SHA512 81c59e96b181fbe4a499d84a816ee4fbdbc8b6170fe87dc42e8a315e72d0be4a7f42b939084e5a529572987bcdc495926d83ca517aff8a7e5632767cf46d67d8
diff --git a/dev-lang/ldc2/files/ldc2-1.18.0-FileCheck-not.patch b/dev-lang/ldc2/files/ldc2-1.18.0-FileCheck-not.patch
deleted file mode 100644
index 3253da2..0000000
--- a/dev-lang/ldc2/files/ldc2-1.18.0-FileCheck-not.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/utils/CMakeLists.txt 2020-02-10 16:40:25.516183683 +0100
-+++ b/utils/CMakeLists.txt 2020-02-10 16:37:23.941181536 +0100
-@@ -31,7 +31,7 @@
- target_link_libraries(gen_gccbuiltins dl)
- endif()
-
--if (TARGET FileCheck)
-+if ((TARGET FileCheck) OR (EXISTS ${LLVM_ROOT_DIR}/bin/FileCheck))
- # already provided by LLVM
- else()
- # Build FileCheck for testing (build source version depending on LLVM version)
-@@ -50,7 +50,7 @@
- endif()
- endif()
-
--if (TARGET not)
-+if ((TARGET not) OR (EXISTS ${LLVM_ROOT_DIR}/bin/not))
- # already provided by LLVM
- else()
- # Build `not` for testing
diff --git a/dev-lang/ldc2/ldc2-1.18.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.18.0-r1.ebuild
deleted file mode 100644
index 78869a1..0000000
--- a/dev-lang/ldc2/ldc2-1.18.0-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib-build cmake llvm
-
-MY_PV="${PV//_/-}"
-MY_P="ldc-${MY_PV}-src"
-SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="LLVM D Compiler"
-HOMEPAGE="https://github.com/ldc-developers/ldc"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-LICENSE="BSD"
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-
-IUSE="static-libs"
-
-# We support LLVM 3.9 through 9.
-RDEPEND="|| (
- sys-devel/llvm:9
- )
- <sys-devel/llvm-10:=
- >=app-eselect/eselect-dlang-20140709"
-DEPEND="${RDEPEND}"
-LLVM_MAX_SLOT=9
-PATCHES="${FILESDIR}/ldc2-1.15.0-link-defaultlib-shared.patch\
- ${FILESDIR}/ldc2-1.18.0-FileCheck-not.patch"
-
-# For now, we support amd64 multilib. Anyone is free to add more support here.
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-DLANG_VERSION_RANGE="2.068 2.071-"
-DLANG_PACKAGE_TYPE="single"
-
-inherit dlang
-
-detect_hardened() {
- gcc --version | grep -o Hardened
-}
-
-src_prepare() {
- cmake_src_prepare
-}
-
-d_src_configure() {
- # Make sure libphobos2 is installed into ldc2's directory.
- export LIBDIR_${ABI}="${LIBDIR_HOST}"
- local mycmakeargs=(
- -DD_VERSION=2
- -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
- -DD_COMPILER="${DMD}"
- -DLDC_WITH_LLD=OFF
- )
- use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )
- use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
- detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' )
- cmake_src_configure
-}
-
-d_src_install() {
- cmake_src_install
-
- rm -rf "${ED}"/usr/share/bash-completion
-}
-
-pkg_postinst() {
- # Update active ldc2
- "${ROOT}"/usr/bin/eselect dlang update ldc2
-}
-
-pkg_postrm() {
- "${ROOT}"/usr/bin/eselect dlang update ldc2
-}
diff --git a/dev-lang/ldc2/ldc2-1.19.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.19.0-r1.ebuild
deleted file mode 100644
index c5f891a..0000000
--- a/dev-lang/ldc2/ldc2-1.19.0-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib-build cmake llvm
-
-MY_PV="${PV//_/-}"
-MY_P="ldc-${MY_PV}-src"
-SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="LLVM D Compiler"
-HOMEPAGE="https://github.com/ldc-developers/ldc"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-LICENSE="BSD"
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-
-IUSE="static-libs"
-
-# We support LLVM 3.9 through 9.
-RDEPEND="|| (
- sys-devel/llvm:9
- )
- <sys-devel/llvm-10:=
- >=app-eselect/eselect-dlang-20140709"
-DEPEND="${RDEPEND}"
-LLVM_MAX_SLOT=9
-PATCHES="${FILESDIR}/ldc2-1.15.0-link-defaultlib-shared.patch"
-
-# For now, we support amd64 multilib. Anyone is free to add more support here.
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-DLANG_VERSION_RANGE="2.068 2.071-"
-DLANG_PACKAGE_TYPE="single"
-
-inherit dlang
-
-detect_hardened() {
- gcc --version | grep -o Hardened
-}
-
-src_prepare() {
- cmake_src_prepare
-}
-
-d_src_configure() {
- # Make sure libphobos2 is installed into ldc2's directory.
- export LIBDIR_${ABI}="${LIBDIR_HOST}"
- local mycmakeargs=(
- -DD_VERSION=2
- -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
- -DD_COMPILER="${DMD}"
- -DLDC_WITH_LLD=OFF
- )
- use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )
- use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
- detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' )
- cmake_src_configure
-}
-
-d_src_install() {
- cmake_src_install
-
- rm -rf "${ED}"/usr/share/bash-completion
-}
-
-pkg_postinst() {
- # Update active ldc2
- "${ROOT}"/usr/bin/eselect dlang update ldc2
-}
-
-pkg_postrm() {
- "${ROOT}"/usr/bin/eselect dlang update ldc2
-}
diff --git a/dev-lang/ldc2/ldc2-1.20.1-r1.ebuild b/dev-lang/ldc2/ldc2-1.20.1-r1.ebuild
index 2892042..e79765a 100644
--- a/dev-lang/ldc2/ldc2-1.20.1-r1.ebuild
+++ b/dev-lang/ldc2/ldc2-1.20.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,6 @@ IUSE="static-libs"
# We support LLVM 3.9 through 10.
RDEPEND="|| (
sys-devel/llvm:10
- sys-devel/llvm:9
)
<sys-devel/llvm-11:=
>=app-eselect/eselect-dlang-20140709"
diff --git a/dev-lang/ldc2/ldc2-1.21.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.21.0-r1.ebuild
index 2892042..e79765a 100644
--- a/dev-lang/ldc2/ldc2-1.21.0-r1.ebuild
+++ b/dev-lang/ldc2/ldc2-1.21.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,6 @@ IUSE="static-libs"
# We support LLVM 3.9 through 10.
RDEPEND="|| (
sys-devel/llvm:10
- sys-devel/llvm:9
)
<sys-devel/llvm-11:=
>=app-eselect/eselect-dlang-20140709"
diff --git a/dev-lang/ldc2/ldc2-1.22.0.ebuild b/dev-lang/ldc2/ldc2-1.22.0.ebuild
index 2892042..e79765a 100644
--- a/dev-lang/ldc2/ldc2-1.22.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.22.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,6 @@ IUSE="static-libs"
# We support LLVM 3.9 through 10.
RDEPEND="|| (
sys-devel/llvm:10
- sys-devel/llvm:9
)
<sys-devel/llvm-11:=
>=app-eselect/eselect-dlang-20140709"
diff --git a/dev-lang/ldc2/ldc2-1.23.0.ebuild b/dev-lang/ldc2/ldc2-1.23.0.ebuild
index b2ac9b6..965d16c 100644
--- a/dev-lang/ldc2/ldc2-1.23.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.23.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,6 @@ IUSE="static-libs"
# We support LLVM 6.0 through 10.
RDEPEND="|| (
sys-devel/llvm:10
- sys-devel/llvm:9
)
<sys-devel/llvm-11:=
>=app-eselect/eselect-dlang-20140709"
diff --git a/dev-lang/ldc2/ldc2-1.24.0.ebuild b/dev-lang/ldc2/ldc2-1.24.0.ebuild
index b2ac9b6..965d16c 100644
--- a/dev-lang/ldc2/ldc2-1.24.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.24.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,6 @@ IUSE="static-libs"
# We support LLVM 6.0 through 10.
RDEPEND="|| (
sys-devel/llvm:10
- sys-devel/llvm:9
)
<sys-devel/llvm-11:=
>=app-eselect/eselect-dlang-20140709"
diff --git a/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
index 6b8a8e1..63ece33 100644
--- a/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -8,7 +8,7 @@ HOMEPAGE="http://dlang.org/"
LICENSE="Boost-1.0"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index 2a20ba7..cde9c50 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1,2 +1 @@
-DIST dub-1.23.0.tar.gz 1279525 BLAKE2B 98693ec9997c8d13a649c2388f88dc6855b48db9267475c81b37ca191792bc1cef4b68aee5991479f0eb9854b7bf50675adf8f70bf39ebfe5db2333654d7643f SHA512 667d6cc57bdfd0450b2e99319f843ceb9d4c5ee37273850c4d19ae715fad5389ab23386a6c7ff5c69cf9d0e86b1c9f7d1f6b10cb6d4efc0c025101759dc0d1fa
DIST dub-1.24.0.tar.gz 1302631 BLAKE2B eb3ed97ff643b8bafdd2448c3f5630d32417611528cec7a3f77242be35210e1b7a52b82f0058c0e894daccac35d94dcb3a4db2d1833be25cbe7acc3915f3f458 SHA512 39fdc8c1e1e8d57da4a1aeb832d2e661aa2acc2297a75e0900f9920be2dcfb84862d8893fdb9356e0c829f13dbea21ccd132e5abc2ef9c63968cc4a466edf00f
diff --git a/dev-util/dub/dub-1.23.0.ebuild b/dev-util/dub/dub-1.23.0.ebuild
deleted file mode 100644
index 1448104..0000000
--- a/dev-util/dub/dub-1.23.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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="https://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/dub-1.24.0.ebuild b/dev-util/dub/dub-1.24.0.ebuild
index 6c03a22..e60575b 100644
--- a/dev-util/dub/dub-1.24.0.ebuild
+++ b/dev-util/dub/dub-1.24.0.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://code.dlang.org/"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm x86"
IUSE="debug"
GITHUB_URI="https://codeload.github.com/dlang"
diff --git a/dev-util/dub/files/dub-1.23.0-gdc-dmd-pathfix.patch b/dev-util/dub/files/dub-1.23.0-gdc-dmd-pathfix.patch
deleted file mode 100644
index 497ef50..0000000
--- a/dev-util/dub/files/dub-1.23.0-gdc-dmd-pathfix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-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;
diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 7c99cc1..133f2ac 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -45,6 +45,7 @@ dlang-compilers_declare_versions() {
["2.091"]="2.091 x86 amd64"
["2.092"]="2.092 x86 amd64"
["2.093"]="2.093 x86 amd64"
+ ["2.094"]="2.094 x86 amd64"
)
# GDC (hppa, sparc: masked "d" USE-flag)
@@ -54,8 +55,6 @@ dlang-compilers_declare_versions() {
# LDC
__dlang_ldc2_frontend=(
- ["1.18"]="2.088 amd64 ~arm ~arm64 ~ppc64 x86"
- ["1.19"]="2.089 amd64 ~arm ~arm64 ~ppc64 x86"
["1.20"]="2.090 amd64 ~arm ~arm64 ~ppc64 x86"
["1.21"]="2.091 amd64 ~arm ~arm64 ~ppc64 x86"
["1.22"]="2.092 amd64 ~arm ~arm64 ~ppc64 x86"
diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index 6d29a46..3215f00 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -146,13 +146,16 @@ dmd_src_compile() {
"amd64") model=64;;
*) die "Self-hosting dmd on ${ARCH} is not currently supported."
esac
- export DMD="../../${kernel}/bin${model}/dmd"
+ export DMD="${kernel}/bin${model}/dmd"
+ if ! dmd_ge 2.094; then
+ export DMD="../../${DMD}"
+ fi
fi
if dmd_ge 2.094; then
einfo "Building dmd build script..."
- dlang_compile_bin dmd/generated/build dmd/src/build.d
+ DC="${DMD}" dlang_compile_bin dmd/generated/build dmd/src/build.d
einfo "Building dmd..."
- env ${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build dmd
+ env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" ${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build dmd
else
einfo "Building dmd..."
emake -C dmd/src -f posix.mak TARGET_CPU=X86 ${HOST_DMD}="${DMD}" ${HOST_CXX}="$(tc-getCXX)" ${ENABLE_RELEASE}=1 ${LTO}
diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest
index 12dbc55..153473c 100644
--- a/net-misc/onedrive/Manifest
+++ b/net-misc/onedrive/Manifest
@@ -1,2 +1 @@
-DIST onedrive-2.4.7.tar.gz 974339 BLAKE2B 6a45831068414fdbcfe0e8f0012f2c05bda0fd2882292fd984e3fb88dbf5fcf2ade78b1f277a6485d8b634e35d992f51049c5c4cd577909a699c8fc490d303bf SHA512 dde102ec985bbc4b1b6a0b0c1313b257e6561f15e736716f33502fd78c27747fbdc8ec8968717c3cbd4c46e21c014587a92e3e460d2ea78201f6664387b8a131
DIST onedrive-2.4.9.tar.gz 1016024 BLAKE2B c77bd74f6ab2a529aeed213e1dad66019ddc339c0e006f5c9c9933939eefbd4fb1800921bf078bca7989680ccfcc4c3ed905d584c8261905736e9175fd72faf6 SHA512 713abb3ddf7367c386efc1c2b1fb72115675befaef5c2627b1920cb707daecafe1af2358921be7f19b05f3e9df7cbb6014e2cf6367c61d27e72531f8afa0f4b4
diff --git a/net-misc/onedrive/onedrive-2.4.7.ebuild b/net-misc/onedrive/onedrive-2.4.7.ebuild
deleted file mode 100644
index 1f26203..0000000
--- a/net-misc/onedrive/onedrive-2.4.7.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Free Client for OneDrive on Linux"
-HOMEPAGE="https://abraunegg.github.io/"
-LICENSE="GPL-3"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-RDEPEND="
- >=dev-db/sqlite-3.7.15:3
- net-misc/curl
- libnotify? ( x11-libs/libnotify )
-"
-DEPEND="
- ${RDEPEND}
- virtual/pkgconfig
-"
-SRC_URI="https://codeload.github.com/abraunegg/onedrive/tar.gz/v${PV} -> ${P}.tar.gz"
-DLANG_VERSION_RANGE="2.082-"
-DLANG_PACKAGE_TYPE="single"
-IUSE="debug libnotify"
-
-inherit dlang systemd bash-completion-r1
-
-d_src_configure() {
- # LDC is supported without wrapper
- if [[ "${DLANG_VENDOR}" == "LDC" ]]; then
- export DC=${DC}
- export DCFLAGS=${DCFLAGS}
- else
- export DC=${DMD}
- export DCFLAGS=${DMDFLAGS}
- fi
- econf --disable-version-check --enable-completions $(use_enable debug) $(use_enable libnotify notifications) \
- --with-zsh-completion-dir=/usr/share/zsh/site-functions \
- --with-bash-completion-dir="$(get_bashcompdir)" \
- --with-fish-completion-dir=/usr/share/fish/completions \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
- --with-systemduserunitdir="$(systemd_get_userunitdir)"
-}
-
-src_install() {
- emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install
- # log directory
- keepdir /var/log/onedrive
- fperms 775 /var/log/onedrive
- fowners root:users /var/log/onedrive
- # init script
- dobin contrib/init.d/onedrive_service.sh
- newinitd contrib/init.d/onedrive.init onedrive
-}
-
-pkg_postinst() {
- elog "OneDrive Free Client needs to be authorized to access your data before the"
- elog "first use. To do so, run onedrive in a terminal for the user in question and"
- elog "follow the steps on screen."
- elog
- ewarn "When upgrading from 2.3 you are required you to reauthorise your client."
- ewarn "This is due to changing the client identifier to assist with resolving"
- ewarn "the correct handling of 429 error responses (activityLimitReached)"
-}
diff --git a/net-misc/onedrive/onedrive-2.4.9.ebuild b/net-misc/onedrive/onedrive-2.4.9.ebuild
index e6ca50f..a6d8d2b 100644
--- a/net-misc/onedrive/onedrive-2.4.9.ebuild
+++ b/net-misc/onedrive/onedrive-2.4.9.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://abraunegg.github.io/"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
RDEPEND="
>=dev-db/sqlite-3.7.15:3
net-misc/curl
diff --git a/profiles/use.desc b/profiles/use.desc
index 600c315..803e97b 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -29,6 +29,7 @@ dmd-2_090 - Build for DMD 2.090
dmd-2_091 - Build for DMD 2.091
dmd-2_092 - Build for DMD 2.092
dmd-2_093 - Build for DMD 2.093
+dmd-2_094 - Build for DMD 2.094
gdc-9_3_0 - Build for GCC 9.3.0
ldc2-1_18 - Build for ldc2 1.18
ldc2-1_19 - Build for ldc2 1.19
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-21 17:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-21 17:20 [gentoo-commits] repo/user/dlang:master commit in: eclass/, dev-util/dlang-tools/, net-misc/onedrive/, dev-lang/ldc2/files/, Marco Leise
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox