[gentoo-commits] repo/user/dlang:master commit in: /

2023-12-17 Thread Marco Leise
commit: 5b695e80806a87d6ca7f912549c26789c380fe9e
Author: Marco Leise  gmx  de>
AuthorDate: Sun Dec 17 12:00:38 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sun Dec 17 12:00:38 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=5b695e80

Stabilization sweep

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest  |  36 -
 dev-lang/dmd/dmd-2.064.2-r7.ebuild |  25 -
 dev-lang/dmd/dmd-2.065.0-r7.ebuild |  18 -
 dev-lang/dmd/dmd-2.066.1-r7.ebuild |  18 -
 dev-lang/dmd/dmd-2.067.1-r8.ebuild |  17 -
 dev-lang/dmd/dmd-2.068.2-r9.ebuild |  17 -
 dev-lang/dmd/dmd-2.069.2-r6.ebuild |  16 -
 dev-lang/dmd/dmd-2.070.2-r6.ebuild |  17 -
 dev-lang/dmd/dmd-2.071.2-r6.ebuild |  15 -
 dev-lang/dmd/dmd-2.072.2-r6.ebuild |  15 -
 dev-lang/dmd/dmd-2.073.2-r6.ebuild |  22 -
 dev-lang/dmd/dmd-2.074.1-r6.ebuild |  22 -
 dev-lang/dmd/dmd-2.075.1-r4.ebuild |  18 -
 dev-lang/dmd/dmd-2.076.1-r4.ebuild |  21 -
 dev-lang/dmd/dmd-2.077.1-r3.ebuild |  21 -
 dev-lang/dmd/dmd-2.078.3-r3.ebuild |  24 -
 dev-lang/dmd/dmd-2.079.1-r3.ebuild |  24 -
 dev-lang/dmd/dmd-2.080.1-r3.ebuild |  21 -
 dev-lang/dmd/dmd-2.081.2-r3.ebuild |  24 -
 dev-lang/dmd/dmd-2.082.1-r3.ebuild |  24 -
 dev-lang/dmd/dmd-2.083.1-r2.ebuild |  24 -
 dev-lang/dmd/dmd-2.084.1-r2.ebuild |  26 -
 dev-lang/dmd/dmd-2.085.1-r2.ebuild |  26 -
 dev-lang/dmd/dmd-2.087.1-r1.ebuild |  26 -
 dev-lang/dmd/dmd-2.088.1-r1.ebuild |  21 -
 dev-lang/dmd/dmd-2.089.1.ebuild|  21 -
 dev-lang/dmd/dmd-2.090.1.ebuild|  20 -
 dev-lang/dmd/dmd-2.091.1.ebuild|  20 -
 dev-lang/dmd/dmd-2.092.1.ebuild|  20 -
 dev-lang/dmd/dmd-2.093.1.ebuild|  14 -
 dev-lang/dmd/dmd-2.094.2.ebuild|  14 -
 dev-lang/dmd/dmd-2.095.1.ebuild|  14 -
 dev-lang/dmd/dmd-2.096.1.ebuild|  14 -
 dev-lang/dmd/dmd-2.097.2.ebuild|  14 -
 dev-lang/dmd/dmd-2.098.1.ebuild|  14 -
 dev-lang/dmd/dmd-2.099.1.ebuild|  14 -
 dev-lang/dmd/dmd-2.100.2.ebuild|  14 -
 dev-lang/dmd/dmd-2.101.2.ebuild|   2 +-
 dev-lang/dmd/dmd-2.102.2.ebuild|   2 +-
 dev-lang/dmd/dmd-2.103.1.ebuild|   2 +-
 dev-lang/dmd/dmd-2.104.2.ebuild|   2 +-
 .../dmd/files/2.063-replace-bits-mathdef-h.patch   |  12 -
 .../2.064-link-32-bit-shared-lib-with-ld.bfd.patch |  14 -
 dev-lang/dmd/files/2.064-makefile-multilib.patch   |  26 -
 dev-lang/dmd/files/2.064-no-narrowing.patch|  12 -
 .../2.065-link-32-bit-shared-lib-with-ld.bfd.patch |  14 -
 dev-lang/dmd/files/2.065-makefile-multilib.patch   |  49 --
 dev-lang/dmd/files/2.065-no-narrowing.patch|  12 -
 dev-lang/dmd/files/2.066-no-narrowing.patch|  14 -
 dev-lang/dmd/files/2.066.1-phobos-makefile.patch   |  81 ---
 dev-lang/dmd/files/2.067-no-narrowing.patch|  17 -
 .../dmd/files/2.068-replace-bits-mathdef-h.patch   |  12 -
 .../2.069-link-32-bit-shared-lib-with-ld.bfd.patch |  11 -
 dev-lang/dmd/files/2.069-no-narrowing.patch|  17 -
 dev-lang/dmd/files/2.070-disable-dwarf.patch   |  11 -
 dev-lang/dmd/files/2.073-default_ddoc_theme.ddoc   | 735 ---
 .../files/2.073-fix-out-of-bounds-in-evalu8.patch  |  11 -
 dev-lang/dmd/files/2.073-fix-segv-in-evalu8.patch  |  13 -
 .../files/2.074-fix-out-of-bounds-in-evalu8.patch  |  11 -
 dev-lang/dmd/files/2.074-fix-segv-in-evalu8.patch  |  13 -
 .../2.074-link-32-bit-shared-lib-with-ld.bfd.patch |  11 -
 dev-lang/dmd/files/2.076-config.sh |  17 -
 dev-lang/dmd/files/2.076-default_ddoc_theme.ddoc   | 737 ---
 dev-lang/dmd/files/2.078-allow-deprecations.patch  |  11 -
 dev-lang/dmd/files/2.080-default_ddoc_theme.ddoc   | 742 ---
 dev-lang/dmd/files/2.081-allow-deprecations.patch  |  11 -
 dev-lang/dmd/files/2.084-config.d  |  77 --
 dev-lang/dmd/files/2.084-default_ddoc_theme.ddoc   | 783 -
 dev-lang/ldc2/ldc2-1.30.0-r1.ebuild|   2 +-
 dev-lang/ldc2/ldc2-1.31.0.ebuild   |   2 +-
 dev-lang/ldc2/ldc2-1.32.2.ebuild   |   2 +-
 dev-lang/ldc2/ldc2-1.33.0.ebuild   |   2 +-
 dev-lang/ldc2/ldc2-1.34.0.ebuild   |   2 +-
 dev-lang/ldc2/ldc2-1.35.0.ebuild   |   2 +-
 dev-libs/gtkd/Manifest |   1 -
 dev-libs/gtkd/gtkd-2.4.2-r1.ebuild | 112

[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/, eclass/, dev-util/dub/, dev-util/dcd/, dev-lang/dmd/, ...

2023-12-17 Thread Marco Leise
commit: 728dd9d044473329572c6c04bd202d915d8d2417
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Mon Dec 11 11:03:57 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Dec 16 12:41:20 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=728dd9d0

stabilization sweep

Signed-off-by: Horodniceanu Andrei  proton.me>

 dev-lang/dmd/dmd-2.100.2.ebuild |  2 +-
 dev-lang/dmd/dmd-2.101.2.ebuild |  2 +-
 dev-lang/dmd/dmd-2.102.2.ebuild |  2 +-
 dev-lang/dmd/dmd-2.103.1.ebuild |  2 +-
 dev-lang/dmd/dmd-2.104.2.ebuild |  2 +-
 dev-lang/ldc2/ldc2-1.30.0-r1.ebuild |  2 +-
 dev-lang/ldc2/ldc2-1.31.0.ebuild|  2 +-
 dev-lang/ldc2/ldc2-1.32.2.ebuild|  2 +-
 dev-lang/ldc2/ldc2-1.33.0.ebuild|  2 +-
 dev-lang/ldc2/ldc2-1.34.0.ebuild|  2 +-
 dev-lang/ldc2/ldc2-1.35.0.ebuild|  2 +-
 dev-util/dcd/dcd-0.13.4.ebuild  |  4 ++--
 dev-util/dlang-tools/dlang-tools-2.104.2.ebuild |  2 +-
 dev-util/dub/dub-1.33.0.ebuild  |  2 +-
 eclass/dlang-compilers.eclass   | 22 +++---
 net-misc/onedrive/onedrive-2.4.25.ebuild|  4 ++--
 16 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/dev-lang/dmd/dmd-2.100.2.ebuild b/dev-lang/dmd/dmd-2.100.2.ebuild
index 6ed0d65..5551d12 100644
--- a/dev-lang/dmd/dmd-2.100.2.ebuild
+++ b/dev-lang/dmd/dmd-2.100.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 YEAR=2022
 DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.100"
 

diff --git a/dev-lang/dmd/dmd-2.101.2.ebuild b/dev-lang/dmd/dmd-2.101.2.ebuild
index e4c61e8..457cef9 100644
--- a/dev-lang/dmd/dmd-2.101.2.ebuild
+++ b/dev-lang/dmd/dmd-2.101.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 YEAR=2023
 DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.102"
 

diff --git a/dev-lang/dmd/dmd-2.102.2.ebuild b/dev-lang/dmd/dmd-2.102.2.ebuild
index e4c61e8..457cef9 100644
--- a/dev-lang/dmd/dmd-2.102.2.ebuild
+++ b/dev-lang/dmd/dmd-2.102.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 YEAR=2023
 DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.102"
 

diff --git a/dev-lang/dmd/dmd-2.103.1.ebuild b/dev-lang/dmd/dmd-2.103.1.ebuild
index 8c2ab85..5a3cf0f 100644
--- a/dev-lang/dmd/dmd-2.103.1.ebuild
+++ b/dev-lang/dmd/dmd-2.103.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 YEAR=2023
 DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.105"
 

diff --git a/dev-lang/dmd/dmd-2.104.2.ebuild b/dev-lang/dmd/dmd-2.104.2.ebuild
index 8c2ab85..5a3cf0f 100644
--- a/dev-lang/dmd/dmd-2.104.2.ebuild
+++ b/dev-lang/dmd/dmd-2.104.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 YEAR=2023
 DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.105"
 

diff --git a/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild 
b/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild
index 85daa28..d258c53 100644
--- a/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild
+++ b/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/${MY_P}
 
 DESCRIPTION="LLVM D Compiler"
 HOMEPAGE="https://github.com/ldc-developers/ldc;
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 LICENSE="BSD"
 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
 

diff --git a/dev-lang/ldc2/ldc2-1.31.0.ebuild b/dev-lang/ldc2/ldc2-1.31.0.ebuild
index 0f8cad1..91d1490 100644
--- a/dev-lang/ldc2/ldc2-1.31.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.31.0.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/${MY_P}
 
 DESCRIPTION="LLVM D Compiler"
 HOMEPAGE="https://github.com/ldc-developers/ldc;
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 LICENSE="BSD"
 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
 

diff --git a/dev-lang/ldc2/ldc2-1.32.2.ebuild b/dev-lang/ldc2/ldc2-1.32.2.ebuild
index 921f641..76f8bba 100644
--- a/dev-lang/ldc2/ldc2-1.32.2.ebuild
+++ b/dev-lang/ldc2/ldc2-1.32.2.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/${MY_P}
 
 DESCRIPTION="LLVM D Compiler"
 HOMEPAGE="https://github.com/ldc-developers/ldc;
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 LICENSE="BSD"
 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
 

diff --git a/dev-lang/ldc2/ldc2-1.33.0.ebuild b/dev-lang/ldc2/ldc2-1.33.0.ebuild
index 921f641..76f8bba 100644
--- a/dev-lang/ldc2/ldc2-1.33.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.33.0.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/${MY_P}
 
 DESCRIPTION="LLVM D Compiler"
 HOMEPAGE="https://github.com/ldc-developers/ldc;
-KEYWORDS="~

[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-12-17 Thread Marco Leise
commit: c6ab2690ead707fa368813014edd75509b07727b
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Thu Nov 30 13:34:14 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Dec  9 18:13:15 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c6ab2690

dlang.eclass: Properly set LIBDIR_$ABI for single type packages

Previously, only packages that set DLANG_PACKAGE_TYPE to multi
received a valid value in LIBDIR_$ABI, the path to the compiler
specific directory for libraries, in order to know where to
install their libraries.

Now, both types of packages will have this value set properly,
alowing single type packages to know the exact path to the
compiler library directory for easy access to auxiliary files
like pkg-config files.

Signed-off-by: Horodniceanu Andrei  proton.me>

 eclass/dlang.eclass | 11 ---
 eclass/dmd.eclass   | 18 ++
 2 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/eclass/dlang.eclass b/eclass/dlang.eclass
index 385a458..2817779 100644
--- a/eclass/dlang.eclass
+++ b/eclass/dlang.eclass
@@ -584,7 +584,7 @@ _dlang_build_configurations() {
variants="${variants} 
${abi}-${version_component}"
done
else
-   variants="default-${version_component}"
+   
variants="${DEFAULT_ABI:-default}-${version_component}"
fi
;;
selfhost)
@@ -647,10 +647,15 @@ _dlang_use_build_vars() {
# gcc's SLOT is its major version component.
export 
DC="/usr/${CHOST_default}/gcc-bin/${DC_VERSION}/${CHOST_default}-gdc"
export DMD="/usr/${CHOST_default}/gcc-bin/${DC_VERSION}/gdmd"
-   if [[ "${DLANG_PACKAGE_TYPE}" == "multi" ]] && 
multilib_is_native_abi; then
+   if [[ ${DLANG_PACKAGE_TYPE} != multi ]]; then
+   # Both single and dmd enter this branch
export 
LIBDIR_${ABI}="lib/gcc/${CHOST_default}/${DC_VERSION}"
else
-   export 
LIBDIR_${ABI}="lib/gcc/${CHOST_default}/${DC_VERSION}/${MODEL}"
+   if multilib_is_native_abi; then
+   export 
LIBDIR_${ABI}="lib/gcc/${CHOST_default}/${DC_VERSION}"
+   else
+   export 
LIBDIR_${ABI}="lib/gcc/${CHOST_default}/${DC_VERSION}/${MODEL}"
+   fi
fi
export DCFLAGS="${GDCFLAGS} -shared-libphobos"
export DLANG_LINKER_FLAG="-Xlinker "

diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index 7d9e1f5..2292e12 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -295,8 +295,26 @@ EOF
fi
 
# Install shared lib.
+   # dlang.eclass will set LIBDIR_$ABI to the path of the host 
compiler
+   # library direcory (if not selfhosting). We don't care about 
that
+   # location, however, and we instead want to have it point
+   # to the path where this package is supposed to install the 
libraries
+   # to, i.e. the system library directory. We can use $LIBDIR_HOST
+   # to restore that value to the correct one but only if the ABI
+   # this function is running into is the same as the one set
+   # by dlang.eclass. Since dlang.eclass treats dmd as a 'single'
+   # type package, it will only treat the case where $ABI is the
+   # native one.
+   if ! use selfhost && multilib_is_native_abi; then
+   # We aren't going to use LIBDIR_$ABI for this ABI 
anymore
+   # so just overwrite it, don't bother saving it.
+   export LIBDIR_${ABI}="${LIBDIR_HOST}"
+   fi
+
+   # We are installing the real file into the system libdir.
dolib.so phobos/generated/linux/release/${MODEL}/"${SONAME}"
dosym "${SONAME}" /usr/"$(get_libdir)"/"${SONAME_SYM}"
+   # We create an additional symlink in this package's specific 
libdir.
dosym ../../../../../usr/"$(get_libdir)"/"${SONAME}" 
/usr/"${libdir}"/libphobos2.so
 
# Install static lib if requested.



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-12-17 Thread Marco Leise
commit: 8c977f9dc9d15ebcf73032411eed7acf033782fb
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Thu Nov 30 19:32:20 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sun Dec 10 21:53:54 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=8c977f9d

dlang.eclass: Support DLANG_COMPILER_DISABLED_BACKENDS

Add support for filtering out possible compilers by their backend,
on top of the frontend version filtering already implemented.
This allows packages that do not support a particular compiler backend
not to advertise USE flags that will fail to build.

Signed-off-by: Horodniceanu Andrei  proton.me>

 eclass/dlang.eclass | 91 +++--
 1 file changed, 60 insertions(+), 31 deletions(-)

diff --git a/eclass/dlang.eclass b/eclass/dlang.eclass
index ab41b18..5c7d3f9 100644
--- a/eclass/dlang.eclass
+++ b/eclass/dlang.eclass
@@ -30,6 +30,14 @@
 # @DESCRIPTION:
 # The path that is used to install include files. A sub-directory specific to 
the package should be used.
 
+# @ECLASS_VARIABLE: DLANG_COMPILER_DISABLED_BACKENDS
+# @PRE_INHERIT
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# Optional list of D compiler backends to disable as a Bash array.
+# Possible values include dmd, ldc2, and gdc.
+# Set before inheritting the eclass.
+
 if [[ ${_ECLASS_ONCE_DLANG} != "recur -_+^+_- spank" ]] ; then
 _ECLASS_ONCE_DLANG="recur -_+^+_- spank"
 
@@ -402,39 +410,45 @@ _dlang_compiler_masked_archs_for_version_range() {
 _dlang_filter_compilers() {
local dc_version mapping iuse depend
 
-   # filter for DMD (hardcoding support for x86 and amd64 only)
-   for dc_version in "${!_dlang_dmd_frontend[@]}"; do
-   mapping="${_dlang_dmd_frontend[${dc_version}]}"
-   iuse="dmd-$(ver_rs 1- _ $dc_version)"
-   if [ "${DLANG_PACKAGE_TYPE}" == "multi" ]; then
-   depend="[${MULTILIB_USEDEP}]"
-   else
-   depend=""
-   fi
-   depend="dev-lang/dmd:$dc_version=$depend"
-   _dlang_compiler_masked_archs_for_version_range "$iuse" 
"$depend" "$mapping" "$1" "$2"
-   done
+   if _dlang_compiler_backend_is_enabled "dmd"; then
+   # filter for DMD (hardcoding support for x86 and amd64 only)
+   for dc_version in "${!_dlang_dmd_frontend[@]}"; do
+   mapping="${_dlang_dmd_frontend[${dc_version}]}"
+   iuse="dmd-$(ver_rs 1- _ $dc_version)"
+   if [ "${DLANG_PACKAGE_TYPE}" == "multi" ]; then
+   depend="[${MULTILIB_USEDEP}]"
+   else
+   depend=""
+   fi
+   depend="dev-lang/dmd:$dc_version=$depend"
+   _dlang_compiler_masked_archs_for_version_range "$iuse" 
"$depend" "$mapping" "$1" "$2"
+   done
+   fi
 
-   # GDC (doesn't support sub-slots, to stay compatible with upstream GCC)
-   for dc_version in "${!_dlang_gdc_frontend[@]}"; do
-   mapping="${_dlang_gdc_frontend[${dc_version}]}"
-   iuse="gdc-${dc_version}"
-   depend="sys-devel/gcc:$dc_version[d,-d-bootstrap(-)]"
-   _dlang_compiler_masked_archs_for_version_range "$iuse" 
"$depend" "$mapping" "$1" "$2"
-   done
+   if _dlang_compiler_backend_is_enabled "gdc"; then
+   # GDC (doesn't support sub-slots, to stay compatible with 
upstream GCC)
+   for dc_version in "${!_dlang_gdc_frontend[@]}"; do
+   mapping="${_dlang_gdc_frontend[${dc_version}]}"
+   iuse="gdc-${dc_version}"
+   depend="sys-devel/gcc:$dc_version[d,-d-bootstrap(-)]"
+   _dlang_compiler_masked_archs_for_version_range "$iuse" 
"$depend" "$mapping" "$1" "$2"
+   done
+   fi
 
-   # filter for LDC2
-   for dc_version in "${!_dlang_ldc2_frontend[@]}"; do
-   mapping="${_dlang_ldc2_frontend[${dc_version}]}"
-   iuse=ldc2-$(ver_rs 1- _ $dc_version)
-   if [ "${DLANG_PACKAGE_TYPE}" == "multi" ]; then
-   depend="[${MULTILIB_USEDEP}]"
-   else
-   depend=""
-   fi
-   depend="dev-lang/ldc2:$dc_version=$depend"
- 

[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-12-17 Thread Marco Leise
commit: 1bb2eb6ab240eec201a15cb78ed0fed2d7c6f9c3
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Thu Nov 30 19:13:46 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sun Dec 10 21:53:34 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=1bb2eb6a

dlang.eclass: export PKG_CONFIG_* in phase functions

PKG_CONFIG_LIBDIR and PKG_CONFIG_PATH will now be set to a list of the
the system pkg-config directories and the compiler specific one, allowing
packages that use build systems to easily find both their C and D
dependencies.

Signed-off-by: Horodniceanu Andrei  proton.me>

 eclass/dlang.eclass | 18 ++
 1 file changed, 18 insertions(+)

diff --git a/eclass/dlang.eclass b/eclass/dlang.eclass
index 2817779..ab41b18 100644
--- a/eclass/dlang.eclass
+++ b/eclass/dlang.eclass
@@ -610,6 +610,17 @@ _dlang_use_build_vars() {
# The original value is exported as LIBDIR_HOST.
local libdir_var="LIBDIR_${ABI}"
export LIBDIR_HOST="${!libdir_var}"
+   # Save the default pkgconfig path
+   if [[ ! -v DLANG_SAVE_PKG_CONFIG_PATH ]]; then
+   # Copy the logic from meson.eclass for setting PKG_CONFIG_PATH
+   export 
DLANG_SAVE_PKG_CONFIG_PATH="${PKG_CONFIG_PATH}${PKG_CONFIG_PATH:+:}/usr/share/pkgconfig"
+   fi
+   if [[ ! -v DLANG_SAVE_PKG_CONFIG_LIBDIR ]]; then
+   # either save the value or provide a sane default lest other 
eclasses get confused.
+   # e.g. meson.eclass will set PKG_CONFIG_LIBDIR using 
$(get_libdir) which won't
+   # work properly since we will overwrite $LIBDIR_$ABI
+   export 
DLANG_SAVE_PKG_CONFIG_LIBDIR="${PKG_CONFIG_LIBDIR:-/usr/$(get_libdir)/pkgconfig}"
+   fi
export ABI="$(echo ${MULTIBUILD_VARIANT} | cut -d- -f1)"
export DC="$(echo ${MULTIBUILD_VARIANT} | cut -d- -f2)"
export DC_VERSION="$(echo ${MULTIBUILD_VARIANT} | cut -d- -f3)"
@@ -699,6 +710,13 @@ _dlang_use_build_vars() {
filter-ldflags -f{no-,}use-linker-plugin -f{no-,}lto -flto=*
fi
export LDFLAGS=`dlang_convert_ldflags`
+
+   # Add the compiler specific pkgconfig paths.
+   export 
PKG_CONFIG_PATH="${DLANG_SAVE_PKG_CONFIG_PATH}:/usr/$(get_libdir)/pkgconfig"
+   # Technically, this value will stay the same so it's enough to export 
it once
+   # but it's cleaner to keep these 2 variables close together.
+   export PKG_CONFIG_LIBDIR="${DLANG_SAVE_PKG_CONFIG_LIBDIR}"
+
"${@}"
 }
 



[gentoo-commits] repo/user/dlang:master commit in: /

2023-09-27 Thread Marco Leise
commit: a8b4131ec5890145f2dfa0f06aeac57abcad0708
Author: Marco Leise  gmx  de>
AuthorDate: Tue Sep 26 20:02:05 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Tue Sep 26 20:02:05 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=a8b4131e

Merge branch 'various-fixes'

Signed-off-by: Marco Leise  gmx.de>

 .../{ldc2-1.29.0-r1.ebuild => ldc2-1.29.0-r2.ebuild} |  9 ++---
 .../ldc2/{ldc2-1.30.0.ebuild => ldc2-1.30.0-r1.ebuild}   |  9 ++---
 dev-util/dlang-tools/dlang-tools-2.064.2.ebuild  | 10 +-
 dev-util/dlang-tools/dlang-tools-2.065.0.ebuild  | 10 +-
 dev-util/dlang-tools/dlang-tools-2.066.1.ebuild  | 10 +-
 dev-util/dlang-tools/dlang-tools-2.067.1.ebuild  | 10 +-
 dev-util/dlang-tools/dlang-tools-2.068.2.ebuild  | 10 +-
 dev-util/dlang-tools/dlang-tools-2.069.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.070.2.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.071.2.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.072.2.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.073.2.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.074.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.075.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.076.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.077.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.078.3.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.079.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.080.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.081.2.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.082.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.083.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.084.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.085.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.086.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.087.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.088.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.089.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.090.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.091.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.092.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.093.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.094.2.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.095.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.096.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.097.2.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.098.1.ebuild  | 13 +++--
 dev-util/dlang-tools/dlang-tools-2.099.1.ebuild  | 13 +++--
 eclass/dmd.eclass| 16 
 39 files changed, 402 insertions(+), 85 deletions(-)

diff --cc eclass/dmd.eclass
index e5129e8,16f926a..0333a2b
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@@ -182,9 -179,9 +183,9 @@@ dmd_src_compile() 
fi
if dmd_ge 2.094; then
einfo "Building dmd build script..."
 -  DC="${DMD}" dlang_compile_bin dmd/generated/build 
dmd/src/build.d
 +  DC="${actual_compiler}" dlang_compile_bin dmd/generated/build 
dmd/src/build.d
einfo "Building dmd..."
-   env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" 
${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build DFLAGS="$(dlang_dmdw_dcflags)" 
dmd
+   env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" 
${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build DFLAGS="$(dlang_dmdw_dcflags)" 
dmd || die
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}



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/

2023-09-27 Thread Marco Leise
commit: e5550afb3550d6b76a46d15a524deb1ca9f709dc
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Thu Aug 31 20:49:21 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Sep  1 21:12:51 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e5550afb

dev-util/dlang-tools: add calls to xdg_icon_cache_update

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-util/dlang-tools/dlang-tools-2.064.2.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.065.0.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.066.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.067.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.068.2.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.069.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.070.2.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.071.2.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.072.2.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.073.2.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.074.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.075.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.076.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.077.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.078.3.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.079.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.080.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.081.2.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.082.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.083.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.084.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.085.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.086.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.087.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.088.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.089.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.090.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.091.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.092.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.093.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.094.2.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.095.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.096.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.097.2.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.098.1.ebuild | 10 +-
 dev-util/dlang-tools/dlang-tools-2.099.1.ebuild | 10 +-
 36 files changed, 324 insertions(+), 36 deletions(-)

diff --git a/dev-util/dlang-tools/dlang-tools-2.064.2.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.064.2.ebuild
index 41b6034..dd5e9c4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.064.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.064.2.ebuild
@@ -28,7 +28,7 @@ DEPEND="dman? ( =dev-lang/dmd-${PV}*:${DLANG_SLOT} )"
 DLANG_VERSION_RANGE="${DLANG_SLOT}"
 DLANG_PACKAGE_TYPE="single"
 
-inherit eutils dlang
+inherit eutils dlang xdg-utils
 
 S="${WORKDIR}"
 
@@ -64,3 +64,11 @@ d_src_install() {
fi
done
 }
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}

diff --git a/dev-util/dlang-tools/dlang-tools-2.065.0.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.065.0.ebuild
index d9b4a2a..62558dd 100644
--- a/dev-util/dlang-tools/dlang-tools-2.065.0.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.065.0.ebuild
@@ -28,7 +28,7 @@ DEPEND="dman? ( =dev-lang/dmd-${PV}*:${DLANG_SLOT} )"
 DLANG_VERSION_RANGE="${DLANG_SLOT}-2.071"
 DLANG_PACKAGE_TYPE="single"
 
-inherit eutils dlang
+inherit eutils dlang xdg-utils
 
 S="${WORKDIR}"
 
@@ -66,3 +66,11 @@ d_src_install() {
fi
done
 }
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}

diff --git a/dev-util/dlang-tools/dlang-tools-2.066.1.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.066.1.ebuild
index 18f609e..2f2d6ac 100644
--- a/dev-util/dlang-tools/dlang-tools-2.066.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.066.1.ebuild
@@ -28,7 +28,7 @@ DEPEND="dman? ( =dev-lang/dmd-${PV}*:${DLANG_SLOT} )"
 DLANG_VERSION_RANGE="${DLANG_SLOT}"
 DLANG_PACKAGE_TYPE="single"
 
-inherit eutils dlang
+inherit eutils dlang xdg-utils
 
 S="${WORKDIR}"
 
@@ -66,3 +66,11 @@ d_src_install() {
fi
done
 }
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}

diff --git a/dev-util/dlang-tools/dlang-tools-2.067.1.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.067.1.ebuild
index 5463e53..af

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/

2023-09-27 Thread Marco Leise
commit: 841e9c539667ee3291375d30f0a3950a0202d5d4
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Fri Aug 25 08:23:52 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Sep  1 21:12:51 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=841e9c53

dev-util/dlang-tools: Fix SRC_URI for beta and rc versions

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-util/dlang-tools/dlang-tools-2.069.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.070.2.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.071.2.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.072.2.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.073.2.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.074.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.075.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.076.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.077.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.078.3.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.079.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.080.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.081.2.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.082.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.083.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.084.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.085.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.086.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.087.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.088.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.089.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.090.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.091.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.092.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.093.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.094.2.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.095.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.096.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.097.2.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.098.1.ebuild | 3 ++-
 dev-util/dlang-tools/dlang-tools-2.099.1.ebuild | 3 ++-
 31 files changed, 62 insertions(+), 31 deletions(-)

diff --git a/dev-util/dlang-tools/dlang-tools-2.069.1.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.069.1.ebuild
index 31fbb30..47e82c7 100644
--- a/dev-util/dlang-tools/dlang-tools-2.069.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.069.1.ebuild
@@ -22,7 +22,8 @@ BETA="$(ver_cut 4)"
 VERSION="$(ver_cut 1-3)"
 
 if [[ -n "${BETA}" ]]; then
-   VERSION="${VERSION}-b${BETA:4}"
+   # We want to convert a Gentoo version string into an upstream one: 
2.097.0_rc1 -> 2.097.0-rc.1
+   VERSION="$(ver_rs 3 "-" 4 ".")"
 fi
 SRC_URI="${GITHUB_URI}/v${VERSION}.tar.gz -> dlang-tools-${VERSION}.tar.gz"
 

diff --git a/dev-util/dlang-tools/dlang-tools-2.070.2.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.070.2.ebuild
index c965183..a1fe54f 100644
--- a/dev-util/dlang-tools/dlang-tools-2.070.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.070.2.ebuild
@@ -22,7 +22,8 @@ BETA="$(ver_cut 4)"
 VERSION="$(ver_cut 1-3)"
 
 if [[ -n "${BETA}" ]]; then
-   VERSION="${VERSION}-b${BETA:4}"
+   # We want to convert a Gentoo version string into an upstream one: 
2.097.0_rc1 -> 2.097.0-rc.1
+   VERSION="$(ver_rs 3 "-" 4 ".")"
 fi
 SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> 
dlang-tools-${VERSION}.tar.gz"
 

diff --git a/dev-util/dlang-tools/dlang-tools-2.071.2.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.071.2.ebuild
index 2c2791d..0b8f508 100644
--- a/dev-util/dlang-tools/dlang-tools-2.071.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.071.2.ebuild
@@ -22,7 +22,8 @@ BETA="$(ver_cut 4)"
 VERSION="$(ver_cut 1-3)"
 
 if [[ -n "${BETA}" ]]; then
-   VERSION="${VERSION}-b${BETA:4}"
+   # We want to convert a Gentoo version string into an upstream one: 
2.097.0_rc1 -> 2.097.0-rc.1
+   VERSION="$(ver_rs 3 "-" 4 ".")"
 fi
 SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> 
dlang-tools-${VERSION}.tar.gz"
 

diff --git a/dev-util/dlang-tools/dlang-tools-2.072.2.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.072.2.ebuild
index 2c2791d..0b8f508 100644
--- a/dev-util/dlang-tools/dlang-tools-2.072.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.072.2.ebuild
@@ -22,7 +22,8 @@ BETA="$(ver_cut 4)"
 VERSION="$(ver_cut 1-3)"
 
 if [[ -n "${BETA}" ]]; then
-   VERSION="${VERSION}-b${BETA:4}"
+   # We want to convert a Gentoo version string into an upstream one: 
2.097.0_rc1 -> 2.097.0-rc.1
+   VERSION="$(ver_rs 3 "-" 4 ".")"

[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-09-27 Thread Marco Leise
commit: e003cbcab41e39e82bfcf6bd3bb055c1a2bf2986
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Mon Sep  4 17:10:24 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Sep  4 17:13:40 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e003cbca

dmd.eclass: respect CC

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 eclass/dmd.eclass | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index ad99b43..16f926a 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -194,11 +194,18 @@ dmd_src_compile() {
fi
 
compile_libraries() {
+   local mymakeargs=(
+   DMD="../$(dmd_gen_exe_dir)/dmd"
+   MODEL="${MODEL}"
+   PIC=1
+   CC="$(tc-getCC)"
+   )
+
einfo 'Building druntime...'
-   emake -C druntime -f posix.mak DMD="../$(dmd_gen_exe_dir)/dmd" 
MODEL=${MODEL} PIC=1 MANIFEST=
+   emake -C druntime -f posix.mak "${mymakeargs[@]}" MANIFEST=
 
einfo 'Building Phobos 2...'
-   emake -C phobos -f posix.mak DMD="../$(dmd_gen_exe_dir)/dmd" 
MODEL=${MODEL} PIC=1 CUSTOM_DRUNTIME=1
+   emake -C phobos -f posix.mak "${mymakeargs[@]}" 
CUSTOM_DRUNTIME=1
}
 
dmd_foreach_abi compile_libraries



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-09-27 Thread Marco Leise
commit: 52fbe825e5cd9252ce80e3297aebc9805ec5f57d
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Tue Jan 24 13:47:52 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Sep  1 21:12:51 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=52fbe825

dmd.eclass: die if the build script fails

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 eclass/dmd.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index 008cbbf..ad99b43 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -181,7 +181,7 @@ dmd_src_compile() {
einfo "Building dmd build script..."
DC="${DMD}" dlang_compile_bin dmd/generated/build 
dmd/src/build.d
einfo "Building dmd..."
-   env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" 
${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build DFLAGS="$(dlang_dmdw_dcflags)" 
dmd
+   env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" 
${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build DFLAGS="$(dlang_dmdw_dcflags)" 
dmd || die
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}



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2023-09-27 Thread Marco Leise
commit: 72c6d16962c09d24a336ef2bd92087f35735
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Mon Aug 21 13:27:42 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Sep  1 18:13:01 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=72c6

dev-lang/ldc2: don't embed -relocation-model=pic

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/ldc2/{ldc2-1.29.0-r1.ebuild => ldc2-1.29.0-r2.ebuild} | 7 +--
 dev-lang/ldc2/{ldc2-1.30.0.ebuild => ldc2-1.30.0-r1.ebuild}| 7 +--
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/dev-lang/ldc2/ldc2-1.29.0-r1.ebuild 
b/dev-lang/ldc2/ldc2-1.29.0-r2.ebuild
similarity index 89%
rename from dev-lang/ldc2/ldc2-1.29.0-r1.ebuild
rename to dev-lang/ldc2/ldc2-1.29.0-r2.ebuild
index be9d229..f42c22d 100644
--- a/dev-lang/ldc2/ldc2-1.29.0-r1.ebuild
+++ b/dev-lang/ldc2/ldc2-1.29.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -38,10 +38,6 @@ DLANG_PACKAGE_TYPE="single"
 
 inherit dlang
 
-detect_hardened() {
-   gcc --version | grep -o Hardened
-}
-
 src_prepare() {
cmake_src_prepare
 }
@@ -57,7 +53,6 @@ d_src_configure() {
)
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
 }
 

diff --git a/dev-lang/ldc2/ldc2-1.30.0.ebuild 
b/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild
similarity index 89%
rename from dev-lang/ldc2/ldc2-1.30.0.ebuild
rename to dev-lang/ldc2/ldc2-1.30.0-r1.ebuild
index 2b27d1d..fb22627 100644
--- a/dev-lang/ldc2/ldc2-1.30.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -39,10 +39,6 @@ DLANG_PACKAGE_TYPE="single"
 
 inherit dlang
 
-detect_hardened() {
-   gcc --version | grep -o Hardened
-}
-
 src_prepare() {
cmake_src_prepare
 }
@@ -58,7 +54,6 @@ d_src_configure() {
)
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
 }
 



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-09-27 Thread Marco Leise
commit: c4612259e75b37bc013ce7adba21df5c86516a50
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Tue Jan 24 13:39:55 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Sep  1 21:12:42 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c4612259

dmd.eclass: Fix SRC_URI for beta and rc versions

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 eclass/dmd.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index 47fc51a..008cbbf 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -92,7 +92,8 @@ fi
 EXPORT_FUNCTIONS src_prepare src_compile src_test src_install pkg_postinst 
pkg_postrm
 
 if [[ -n "${BETA}" ]]; then
-   
SRC_URI="http://downloads.dlang.org/pre-releases/${MAJOR}.x/${VERSION}/${PN}.${VERSION}-b${BETA:4}.${ARCHIVE};
+   # We want to convert a Gentoo version string to an upstream one: 
2.097.0_rc1 -> 2.097.0-rc.1
+   
SRC_URI="http://downloads.dlang.org/pre-releases/${MAJOR}.x/${VERSION}/${PN}.$(ver_rs
 3 "-" 4 ".").${ARCHIVE}"
 else
SRC_URI="mirror://aws/${YEAR}/${PN}.${PV}.${ARCHIVE}"
 fi



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2023-09-27 Thread Marco Leise
commit: 826ae8226782d246235941f396253aa323d84fc3
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Sat Aug 26 21:56:17 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Sep  1 21:12:51 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=826ae822

dev-lang/ldc2: Respect $DCFLAGS

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/ldc2/ldc2-1.29.0-r2.ebuild | 2 +-
 dev-lang/ldc2/ldc2-1.30.0-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ldc2/ldc2-1.29.0-r2.ebuild 
b/dev-lang/ldc2/ldc2-1.29.0-r2.ebuild
index f42c22d..cb01cfe 100644
--- a/dev-lang/ldc2/ldc2-1.29.0-r2.ebuild
+++ b/dev-lang/ldc2/ldc2-1.29.0-r2.ebuild
@@ -48,7 +48,7 @@ d_src_configure() {
local mycmakeargs=(
-DD_VERSION=2
-DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
-   -DD_COMPILER="${DMD}"
+   -DD_COMPILER="${DMD} $(dlang_dmdw_dcflags)"
-DLDC_WITH_LLD=OFF
)
use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || 
mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )

diff --git a/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild 
b/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild
index fb22627..85daa28 100644
--- a/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild
+++ b/dev-lang/ldc2/ldc2-1.30.0-r1.ebuild
@@ -49,7 +49,7 @@ d_src_configure() {
local mycmakeargs=(
-DD_VERSION=2
-DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
-   -DD_COMPILER="${DMD}"
+   -DD_COMPILER="${DMD} $(dlang_dmdw_dcflags)"
-DLDC_WITH_LLD=OFF
)
use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || 
mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-09-04 Thread Marco Leise
commit: a1be7a24454f9e4985157de636f3fe61f29197b6
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Mon Aug 21 13:33:07 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Aug 31 21:07:01 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=a1be7a24

dmd.eclass: Properly assign DC when not selfhosting

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 eclass/dmd.eclass | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index 47fc51a..e5129e8 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -159,7 +159,7 @@ dmd_src_compile() {
dmd_ge 2.081 && ENABLE_RELEASE="ENABLE_RELEASE" || 
ENABLE_RELEASE="RELEASE"
 
# Special case for self-hosting (i.e. no compiler USE flag selected).
-   local kernel model
+   local kernel model actual_compiler
if [ "${DC_VERSION}" == "selfhost" ]; then
case "${KERNEL}" in
"linux")   kernel="linux";;
@@ -175,10 +175,14 @@ dmd_src_compile() {
if ! dmd_ge 2.094; then
export DMD="../../${DMD}"
fi
+   actual_compiler="${S}/${DMD}"
+   else
+   # Not selfhosting, leave the compiler variable unchanged
+   actual_compiler="${DC}"
fi
if dmd_ge 2.094; then
einfo "Building dmd build script..."
-   DC="${DMD}" dlang_compile_bin dmd/generated/build 
dmd/src/build.d
+   DC="${actual_compiler}" dlang_compile_bin dmd/generated/build 
dmd/src/build.d
einfo "Building dmd..."
env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" 
${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build DFLAGS="$(dlang_dmdw_dcflags)" 
dmd
else



[gentoo-commits] repo/user/dlang:master commit in: profiles/, dev-util/gdmd/, eclass/

2023-08-29 Thread Marco Leise
commit: 6284b7e75055e596bd929cd2bf40f20c0dcd9993
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Sat Jul 22 18:41:40 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Aug 24 15:19:55 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=6284b7e7

dev-util/gdmd: sync with gcc

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-util/gdmd/gdmd-11.ebuild |  2 +-
 dev-util/gdmd/gdmd-12.ebuild |  2 +-
 dev-util/gdmd/{gdmd-11.ebuild => gdmd-13.ebuild} |  2 +-
 eclass/dlang-compilers.eclass| 13 -
 profiles/use.desc| 13 -
 5 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/dev-util/gdmd/gdmd-11.ebuild b/dev-util/gdmd/gdmd-11.ebuild
index 59d7b8b..8943312 100644
--- a/dev-util/gdmd/gdmd-11.ebuild
+++ b/dev-util/gdmd/gdmd-11.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.gdcproject.org/;
 LICENSE="GPL-3+"
 
 SLOT="${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 x86"
 RDEPEND="sys-devel/gcc:${PV}[d]"
 RELEASE="0.1.0"
 
SRC_URI="https://codeload.github.com/D-Programming-GDC/gdmd/tar.gz/script-${RELEASE}
 -> gdmd-${RELEASE}.tar.gz"

diff --git a/dev-util/gdmd/gdmd-12.ebuild b/dev-util/gdmd/gdmd-12.ebuild
index e123d22..6645a52 100644
--- a/dev-util/gdmd/gdmd-12.ebuild
+++ b/dev-util/gdmd/gdmd-12.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.gdcproject.org/;
 LICENSE="GPL-3+"
 
 SLOT="${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 x86"
 RDEPEND="sys-devel/gcc:${PV}[d]"
 RELEASE="0.1.0"
 
SRC_URI="https://codeload.github.com/D-Programming-GDC/gdmd/tar.gz/script-${RELEASE}
 -> gdmd-${RELEASE}.tar.gz"

diff --git a/dev-util/gdmd/gdmd-11.ebuild b/dev-util/gdmd/gdmd-13.ebuild
similarity index 88%
copy from dev-util/gdmd/gdmd-11.ebuild
copy to dev-util/gdmd/gdmd-13.ebuild
index 59d7b8b..1e36f20 100644
--- a/dev-util/gdmd/gdmd-11.ebuild
+++ b/dev-util/gdmd/gdmd-13.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.gdcproject.org/;
 LICENSE="GPL-3+"
 
 SLOT="${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~x86"
 RDEPEND="sys-devel/gcc:${PV}[d]"
 RELEASE="0.1.0"
 
SRC_URI="https://codeload.github.com/D-Programming-GDC/gdmd/tar.gz/script-${RELEASE}
 -> gdmd-${RELEASE}.tar.gz"

diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 59ace86..b0ec369 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -64,11 +64,14 @@ dlang-compilers_declare_versions() {
 
# GDC (hppa, sparc: masked "d" USE-flag)
_dlang_gdc_frontend=(
-   ["11.3.1_p20221209"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-   ["11.3.1_p20230120"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-   ["11.3.1_p20230303"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-   ["12.2.1_p20230121"]="2.100 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86"
-   ["12.2.1_p20230304"]="2.100 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+   ["11.3.1_p20230427"]="2.076 ~alpha amd64 arm arm64 ~ia64 ~m68k 
~mips ppc ppc64 ~riscv ~s390 x86"
+   ["11.4.0"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~x86"
+   ["11.4.1_p20230622"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~ia64 
~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 x86"
+   ["12.2.1_p20230428"]="2.100 ~alpha amd64 arm arm64 ~ia64 ~m68k 
~mips ~ppc ppc64 ~riscv ~s390 x86"
+   ["12.3.1_p20230526"]="2.100 ~alpha amd64 arm arm64 ~ia64 ~m68k 
~mips ~ppc ppc64 ~riscv ~s390 x86"
+   ["12.3.1_p20230623"]="2.100 ~alpha ~amd64 ~arm ~arm64 ~ia64 
~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
+   ["13.1.1_p20230527"]="2.103 ~alpha ~amd64 ~arm ~arm64 ~ia64 
~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s39

[gentoo-commits] repo/user/dlang:master commit in: scripts/

2023-08-29 Thread Marco Leise
commit: 9460651c8b18809b99b13e5015fbbb302637d8fa
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Sat Jul 22 18:45:47 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Aug 24 15:19:47 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=9460651c

scripts: Add update-gdc-versions.sh

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 scripts/update-gdc-versions.sh | 279 +
 1 file changed, 279 insertions(+)

diff --git a/scripts/update-gdc-versions.sh b/scripts/update-gdc-versions.sh
new file mode 100755
index 000..4b0050f
--- /dev/null
+++ b/scripts/update-gdc-versions.sh
@@ -0,0 +1,279 @@
+#!/bin/bash
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This script uses various utilities from app-portage/portage-utils
+
+# No -u because /lib/gentoo/functions.sh doesn't work with it
+set -eo pipefail
+shopt -s nullglob
+
+source /lib/gentoo/functions.sh
+
+REPO="$(dirname "${0}")"
+cd "${REPO}/.."
+readonly EROOT=$(portageq envvar EROOT)
+readonly PORTDIR=$(portageq get_repo_path "${EROOT}" gentoo)
+
+# Associative array betwen gcc $PVRs and their keywords
+declare -A GCC_TO_KEYWORDS
+# Associative array between gcc slots (gdmd versions) and a combination
+# of the keywords of each gcc version is said slot.
+declare -A SLOT_TO_KEYWORDS
+# Program to use for running privileged commands.
+# The user may specify this manually, or it will be autodetected.
+declare SUDO
+
+die () {
+   eerror "${@}"
+   exit 1
+}
+
+keyword_to_arch () {
+   [[ $# -ne 1 ]] && die "Internal error: Passed $# arguments to 
${FUNCNAME}"
+
+   if [[ ${1:0:1} == @(-|~) ]]; then
+   echo "${1:1}"
+   else
+   echo "${1}"
+   fi
+}
+
+keyword_to_stability () {
+   [[ $# -ne 1 ]] && die "Internal error: Passed $# arguments to 
${FUNCNAME}"
+
+   if [[ ${1:0:1} = '-' ]]; then
+   echo 0
+   elif [[ ${1:0:1} = '~' ]]; then
+   echo 1
+   else
+   echo 2
+   fi
+}
+
+# Combines 2 keywords for the same arch so that the more stable one is chosen
+# amd64 - stable
+# ~amd64 - unstable
+# -amd64 - disabled
+combine_arch_keywords () {
+   [[ $# -ne 2 ]] && die "Internal error: Passed $# arguments to 
${FUNCNAME}"
+   local k1="${1}" k2="${2}"
+   [[ $(keyword_to_arch $k1) != $(keyword_to_arch $k2) ]] && \
+   die "Internal error: ${FUNCNAME} got keywords for difference 
arches"
+
+
+   local s1=$(keyword_to_stability "${k1}")
+   local s2=$(keyword_to_stability "${k2}")
+
+   if [[ $s1 -ge $s2 ]]; then
+   echo "${k1}"
+   else
+   echo "${k2}"
+   fi
+}
+
+# Given 2 list of keywords returns a new list with the most stable keywords 
taken
+# from both lists
+combine_keywords () {
+   [[ $# -ne 2 ]] && die "Internal error: Passed $# arguments to 
${FUNCNAME}"
+   local v1=($1) v2=($2) # We want the expansion
+
+   # We take advantage that the keyword arrays are sorted
+   local n=${#v1[@]} m=${#v2[@]}
+   local i=0 j=0
+
+   local result=()
+
+   while (( i < n && j < m )); do
+   local a1=$(keyword_to_arch "${v1[$i]}")
+   local a2=$(keyword_to_arch "${v2[$j]}")
+
+   if [[ $a1 = $a2 ]]; then
+   result+=("$(combine_arch_keywords "${v1[$i]}" 
"${v2[$j]}")")
+   ((++i, ++j)) || true
+   elif [[ $a1 < $a2 ]]; then
+   result+=("${v1[$i]}")
+   ((++i)) || true
+   else
+   result+=("${v2[$j]}")
+   ((++j)) || true
+   fi
+   done
+
+   result+=("${v1[@]:$i}")
+   result+=("${v2[@]:$j}")
+
+   echo "${result[@]}"
+}
+
+# Check if there is an ebuild of gdmd for a specific version of gcc.
+# $1 can either be a gcc slot of a gcc version, they are both calculated
+# in the same way.
+can_handle () {
+   [[ $# -ne 1 ]] && die "Internal error: Passed $# arguments to 
${FUNCNAME}"
+
+   local slot="${1%%\.*}"
+
+   [[ -f "dev-util/gdmd/gdmd-${slot}.ebuild" ]]
+}
+
+# Run a privileged command
+asroot () {
+   [[ $# -eq 0 ]] && die "Internal error: Didn't pass any arguments to 
${FUNCNAME}"
+   if [[ ${EUID} -ne 0 && -z ${SUDO} ]]; then
+   # Check for either sudo or doas in PATH
+   if type -P sudo > /dev/null; then
+   SUDO=sudo
+ 

[gentoo-commits] repo/user/dlang:master commit in: /

2023-08-15 Thread Marco Leise
commit: 141119b4678d642ab0ced7bdd312e74b290c60b5
Author: Marco Leise  gmx  de>
AuthorDate: Tue Aug 15 02:35:10 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Tue Aug 15 02:35:10 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=141119b4

Merge branch 'onedrivegui'

Signed-off-by: Marco Leise  gmx.de>

 net-misc/onedrivegui/Manifest  |  1 +
 net-misc/onedrivegui/files/OneDriveGUI |  2 ++
 net-misc/onedrivegui/files/OneDriveGUI.desktop |  7 ++
 net-misc/onedrivegui/metadata.xml  |  7 ++
 net-misc/onedrivegui/onedrivegui-1.0.3.ebuild  | 33 ++
 net-misc/onedrivegui/onedrivegui-.ebuild   | 30 +++
 6 files changed, 80 insertions(+)



[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrivegui/, net-misc/onedrivegui/files/

2023-08-15 Thread Marco Leise
commit: 6438749b30125ab4bbd05681237e29e8af9e1aab
Author: Gonçalo Duarte  gmail  com>
AuthorDate: Mon Jul 24 21:27:34 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jul 24 21:27:34 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=6438749b

net-misc/onedrivegui: new package, add 1.0.2, 

Signed-off-by: Gonçalo Duarte  gmail.com>

 net-misc/onedrivegui/Manifest  |  1 +
 net-misc/onedrivegui/files/OneDriveGUI |  2 ++
 net-misc/onedrivegui/files/OneDriveGUI.desktop |  7 ++
 net-misc/onedrivegui/metadata.xml  |  7 ++
 net-misc/onedrivegui/onedrivegui-1.0.2.ebuild  | 33 ++
 net-misc/onedrivegui/onedrivegui-.ebuild   | 30 +++
 6 files changed, 80 insertions(+)

diff --git a/net-misc/onedrivegui/Manifest b/net-misc/onedrivegui/Manifest
new file mode 100644
index 000..c5be263
--- /dev/null
+++ b/net-misc/onedrivegui/Manifest
@@ -0,0 +1 @@
+DIST onedrivegui.tar.gz 100431 BLAKE2B 
39badff725e6f51ccb80f57fe646c20b1b4c81b931aea54130f47db3970770e22aa0c17650462da033f36e2dd97df44afeed892a8be535dac60999f3e0f8914b
 SHA512 
153a276ba8245d33ee9a977cf887da54c50fedb4ddef237796125211adf1375e0339396a5d85c2fae81dde20c14e44ec02e6dfcb3b9f571d8b653868ad04687a

diff --git a/net-misc/onedrivegui/files/OneDriveGUI 
b/net-misc/onedrivegui/files/OneDriveGUI
new file mode 100644
index 000..4286f78
--- /dev/null
+++ b/net-misc/onedrivegui/files/OneDriveGUI
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/python /opt/OneDriveGUI/OneDriveGUI.py
\ No newline at end of file

diff --git a/net-misc/onedrivegui/files/OneDriveGUI.desktop 
b/net-misc/onedrivegui/files/OneDriveGUI.desktop
new file mode 100644
index 000..784f423
--- /dev/null
+++ b/net-misc/onedrivegui/files/OneDriveGUI.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=OneDriveGUI
+StartupNotify=true
+Exec=/usr/bin/python /opt/OneDriveGUI/OneDriveGUI.py
+Terminal=false
+Icon=OneDriveGUI
+Type=Application
\ No newline at end of file

diff --git a/net-misc/onedrivegui/metadata.xml 
b/net-misc/onedrivegui/metadata.xml
new file mode 100644
index 000..2b4bfb1
--- /dev/null
+++ b/net-misc/onedrivegui/metadata.xml
@@ -0,0 +1,7 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   bpozdena/OneDriveGUI
+   
+

diff --git a/net-misc/onedrivegui/onedrivegui-1.0.2.ebuild 
b/net-misc/onedrivegui/onedrivegui-1.0.2.ebuild
new file mode 100644
index 000..7a0d1c7
--- /dev/null
+++ b/net-misc/onedrivegui/onedrivegui-1.0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+M_PN=OneDriveGUI
+
+inherit desktop
+SRC_URI="https://github.com/bpozdena/OneDriveGUI/archive/refs/tags/v${PV}.tar.gz
 -> ${PN}.tar.gz"
+DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account 
support."
+HOMEPAGE="https://github.com/bpozdena/OneDriveGUI;
+
+DEPEND="net-misc/onedrive
+   dev-python/requests
+   dev-python/pyside6[webengine(+)]
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${M_PN}-${PV}"
+
+src_install() {
+   #Install binary and alias command
+   insinto /opt/OneDriveGUI/ && doins -r "${S}/src/resources" && doins -r 
"${S}/src/ui" && doins -r "${S}/src/OneDriveGUI.py"
+   insinto /opt/bin/ && doins "${FILESDIR}/OneDriveGUI"
+   fperms +x /opt/OneDriveGUI/OneDriveGUI.py /opt/bin/OneDriveGUI
+
+   #Icon and Desktop File
+   doicon "${S}/src/resources/images/OneDriveGUI.ico"
+   domenu "${FILESDIR}/OneDriveGUI.desktop"
+}

diff --git a/net-misc/onedrivegui/onedrivegui-.ebuild 
b/net-misc/onedrivegui/onedrivegui-.ebuild
new file mode 100644
index 000..92da3df
--- /dev/null
+++ b/net-misc/onedrivegui/onedrivegui-.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+M_PN=OneDriveGUI
+
+inherit desktop git-r3
+EGIT_REPO_URI="https://github.com/bpozdena/OneDriveGUI.git;
+DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account 
support."
+HOMEPAGE="https://github.com/bpozdena/OneDriveGUI;
+
+DEPEND="net-misc/onedrive
+   dev-python/requests
+   dev-python/pyside6[webengine(+)]
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+src_install() {
+   #Install binary and alias command
+   insinto /opt/OneDriveGUI/ && doins -r "${S}/src/resources" && doins -r 
"${S}/src/ui" && doins -r "${S}/src/OneDriveGUI.py"
+   insinto /opt/bin/ && doins "${FILESDIR}/OneDriveGUI"
+   fperms +x /opt/OneDriveGUI/OneDriveGUI.py /opt/bin/OneDriveGUI
+
+   #Icon and Desktop File
+   doicon "${S}/src/resources/images/OneDriveGUI.ico"
+   domenu "${FILESDIR}/OneDriveGUI.desktop"
+}



[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrivegui/

2023-08-15 Thread Marco Leise
commit: 8ccb2dbce6a8c2374032dd07363d0bbe49680c5a
Author: Gonçalo Duarte  gmail  com>
AuthorDate: Fri Aug 11 11:55:54 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Aug 11 11:55:54 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=8ccb2dbc

net-misc/onedrivegui: add 1.0.3, drop 1.0.2

Signed-off-by: Gonçalo Duarte  gmail.com>

 net-misc/onedrivegui/Manifest   | 2 +-
 .../onedrivegui/{onedrivegui-1.0.2.ebuild => onedrivegui-1.0.3.ebuild}  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/onedrivegui/Manifest b/net-misc/onedrivegui/Manifest
index c5be263..7231fc6 100644
--- a/net-misc/onedrivegui/Manifest
+++ b/net-misc/onedrivegui/Manifest
@@ -1 +1 @@
-DIST onedrivegui.tar.gz 100431 BLAKE2B 
39badff725e6f51ccb80f57fe646c20b1b4c81b931aea54130f47db3970770e22aa0c17650462da033f36e2dd97df44afeed892a8be535dac60999f3e0f8914b
 SHA512 
153a276ba8245d33ee9a977cf887da54c50fedb4ddef237796125211adf1375e0339396a5d85c2fae81dde20c14e44ec02e6dfcb3b9f571d8b653868ad04687a
+DIST onedrivegui.tar.gz 102208 BLAKE2B 
1a2ce7b260411eeff3a0ff599e41f1dc1f94e2dee6b3c3a6c25c846201e839cfa3819b21b22c19a62f836cb23615d24499efb3ec5d8c093e9181b9983ad272d1
 SHA512 
79b012384530124e6c66eb544a9f2f12ff002118f49f7d1b9dd769c75914b2295703ae63b048ee29fa640603486db4c589b0e7e2fb9496087304f2e9490e2668

diff --git a/net-misc/onedrivegui/onedrivegui-1.0.2.ebuild 
b/net-misc/onedrivegui/onedrivegui-1.0.3.ebuild
similarity index 97%
rename from net-misc/onedrivegui/onedrivegui-1.0.2.ebuild
rename to net-misc/onedrivegui/onedrivegui-1.0.3.ebuild
index 7a0d1c7..9e13b33 100644
--- a/net-misc/onedrivegui/onedrivegui-1.0.2.ebuild
+++ b/net-misc/onedrivegui/onedrivegui-1.0.3.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/bpozdena/OneDriveGUI/archive/refs/tags/v${PV}.tar.gz
 DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account 
support."
 HOMEPAGE="https://github.com/bpozdena/OneDriveGUI;
 
-DEPEND="net-misc/onedrive
+RDEPEND="net-misc/onedrive
dev-python/requests
dev-python/pyside6[webengine(+)]
 "



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-08-14 Thread Marco Leise
commit: 2adabe76d14583809ed58fceec03bdee9d4a194a
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Thu Aug 10 06:13:24 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Aug 10 06:16:13 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=2adabe76

dmd.eclass: specify compiler path when selfhosting

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 eclass/dmd.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index f972961..47fc51a 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -178,7 +178,7 @@ dmd_src_compile() {
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 VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" 
${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build DFLAGS="$(dlang_dmdw_dcflags)" 
dmd
else



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-07-22 Thread Marco Leise
commit: 9e1a32ae03e9dd8798a95c6aab5953cd74646bdc
Author: Marco Leise  gmx  de>
AuthorDate: Sat Jul 22 14:09:43 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 22 14:09:43 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=9e1a32ae

Fixed pkgcheck documentation errors.

Signed-off-by: Marco Leise  gmx.de>

 eclass/dlang-compilers.eclass |   9 
 eclass/dlang.eclass   | 111 +-
 eclass/dmd.eclass |  22 +
 3 files changed, 107 insertions(+), 35 deletions(-)

diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 5d1c924..59ace86 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -8,6 +8,15 @@
 if [[ ${_ECLASS_ONCE_DLANG_COMPILERS} != "recur -_+^+_- spank" ]] ; then
 _ECLASS_ONCE_DLANG_COMPILERS="recur -_+^+_- spank"
 
+# @FUNCTION: dlang-compilers_declare_versions
+# @DESCRIPTION:
+# Exports an associative array of all available Dlang compiler versions and 
their corresponding language support as well
+# as the list of stable and unstable keywords. The language support is 
basically the DMD front-end version that the
+# compiler is based on. For DMD it will be the same as the compiler version, 
while for GDC and LDC2 it will differ.
+# The keywords are required, because we offer many compilers to be used for 
Dlang packages and pull them in as build
+# time dependencies. A stable package cannot depend on an unstable package 
though, so short of manually looking for
+# KEYWORDS in compiler ebuilds we just keep them up-to-date here. GDC in 
particular needs constant attention as
+# architectures get markes stable all the time.
 dlang-compilers_declare_versions() {
declare -gA _dlang_dmd_frontend
declare -gA _dlang_gdc_frontend

diff --git a/eclass/dlang.eclass b/eclass/dlang.eclass
index 751dde4..b86f3bc 100644
--- a/eclass/dlang.eclass
+++ b/eclass/dlang.eclass
@@ -20,6 +20,15 @@
 # and RDEPEND for Dlang compilers based on above variables. The ebuild is 
responsible
 # for providing them as required by the function it uses from this eclass.
 
+# @ECLASS_VARIABLE: DLANG_COMPILER_USE
+# @DESCRIPTION:
+# Holds the active Dlang compiler for an application as a USE flag to be 
passed on to depencencies (libraries).
+# Using this variable one can ensure that all required libraries must be 
compiled with the same compiler.
+
+# @ECLASS_VARIABLE: DLANG_IMPORT_DIR
+# @DESCRIPTION:
+# The path that is used to install include files. A sub-directory specific to 
the package should be used.
+
 if [[ ${_ECLASS_ONCE_DLANG} != "recur -_+^+_- spank" ]] ; then
 _ECLASS_ONCE_DLANG="recur -_+^+_- spank"
 
@@ -66,8 +75,6 @@ dlang-compilers_declare_versions
 #   as a prefix for a single argument that should be passed to the linker.
 #   dmd: -L, gdc: -Xlinker, ldc: -L=
 # DLANG_LIB_DIR: The compiler and compiler version specific library directory.
-# DLANG_IMPORT_DIR: This is actually set globally. Place includes in a
-#   sub-directory.
 dlang_foreach_config() {
debug-print-function ${FUNCNAME} "${@}"
 
@@ -96,8 +103,9 @@ dlang_foreach_config() {
multibuild_foreach_variant multibuild_wrapper "${@}"
 }
 
-export DLANG_IMPORT_DIR="usr/include/dlang"
-
+# @FUNCTION: dlang_single_config
+# @DESCRIPTION:
+# Wrapper for build phases when only a single build configuraion is used. See 
`dlang_foreach_config()` for more details.
 dlang_single_config() {
debug-print-function ${FUNCNAME} "${@}"
 
@@ -106,6 +114,7 @@ dlang_single_config() {
_dlang_use_build_vars "${@}"
 }
 
+export DLANG_IMPORT_DIR="usr/include/dlang"
 
 # @FUNCTION: dlang_src_prepare
 # @DESCRIPTION:
@@ -306,24 +315,25 @@ declare -a _dlang_compiler_iuse
 declare -a _dlang_compiler_iuse_mask
 declare -a _dlang_depends
 
+# @FUNCTION: _dlang_compiler_masked_archs_for_version_range
+# @DESCRIPTION:
+# Given a Dlang compiler represented through an IUSE flag (e.g. "ldc2-1_1")
+# and DEPEND atom (e.g. "dev-lang/ldc2:1.1="), this function tests if the
+# current ebuild can depend and thus be compiled with that compiler on
+# one or more architectures.
+# A compiler that is less stable than the current ebuild for all
+# architectures, is dropped completely. A compiler that disqualifies
+# for only some, but not all architectures, on the other hand, is disabled
+# though REQUIRED_USE (e.g. "!amd64? ( ldc2-1_1? ( dev-lang/ldc2:1.1= ) )").
+# Available compilers are accumulated in the _dlang_compiler_iuse array,
+# which is later turned into the IUSE variable.
+# Partially available compilers are additionally masked out for particular
+# architectures by adding them to the _dlang_compiler_iuse_mask array,
+# which is later appended to REQUIRED_USE.
+# Finally, the _dlang_depends array receives the USE-flag en

[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-07-22 Thread Marco Leise
commit: 1d86b0bbaccf420383f7e38fba23b82bc07334ff
Author: Marco Leise  gmx  de>
AuthorDate: Sat Jul 22 12:39:43 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 22 12:47:42 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=1d86b0bb

Fixed pkgcheck EclassReservedName errors, mostly symbols starting with two 
underscores.

Signed-off-by: Marco Leise  gmx.de>

 eclass/dlang-compilers.eclass |  16 ++---
 eclass/dlang.eclass   | 136 +-
 eclass/dmd.eclass |   4 +-
 3 files changed, 78 insertions(+), 78 deletions(-)

diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index a42496b..5d1c924 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -5,16 +5,16 @@
 # @DESCRIPTION:
 # Contains the available D compiler versions with their stable archs.
 
-if [[ ${___ECLASS_ONCE_DLANG_COMPILERS} != "recur -_+^+_- spank" ]] ; then
-___ECLASS_ONCE_DLANG_COMPILERS="recur -_+^+_- spank"
+if [[ ${_ECLASS_ONCE_DLANG_COMPILERS} != "recur -_+^+_- spank" ]] ; then
+_ECLASS_ONCE_DLANG_COMPILERS="recur -_+^+_- spank"
 
 dlang-compilers_declare_versions() {
-   declare -gA __dlang_dmd_frontend
-   declare -gA __dlang_gdc_frontend
-   declare -gA __dlang_ldc2_frontend
+   declare -gA _dlang_dmd_frontend
+   declare -gA _dlang_gdc_frontend
+   declare -gA _dlang_ldc2_frontend
 
# DMD
-   __dlang_dmd_frontend=(
+   _dlang_dmd_frontend=(
["2.064"]="2.064 x86 amd64"
["2.065"]="2.065 x86 amd64"
["2.066"]="2.066 x86 amd64"
@@ -54,7 +54,7 @@ dlang-compilers_declare_versions() {
)
 
# GDC (hppa, sparc: masked "d" USE-flag)
-   __dlang_gdc_frontend=(
+   _dlang_gdc_frontend=(
["11.3.1_p20221209"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
["11.3.1_p20230120"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
["11.3.1_p20230303"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
@@ -63,7 +63,7 @@ dlang-compilers_declare_versions() {
)
 
# LDC
-   __dlang_ldc2_frontend=(
+   _dlang_ldc2_frontend=(
["1.29"]="2.099 amd64 ~arm ~arm64 ~ppc64 x86"
["1.30"]="2.100 ~amd64 ~arm ~arm64 ~ppc64 ~x86"
)

diff --git a/eclass/dlang.eclass b/eclass/dlang.eclass
index f9f8072..751dde4 100644
--- a/eclass/dlang.eclass
+++ b/eclass/dlang.eclass
@@ -20,8 +20,8 @@
 # and RDEPEND for Dlang compilers based on above variables. The ebuild is 
responsible
 # for providing them as required by the function it uses from this eclass.
 
-if [[ ${___ECLASS_ONCE_DLANG} != "recur -_+^+_- spank" ]] ; then
-___ECLASS_ONCE_DLANG="recur -_+^+_- spank"
+if [[ ${_ECLASS_ONCE_DLANG} != "recur -_+^+_- spank" ]] ; then
+_ECLASS_ONCE_DLANG="recur -_+^+_- spank"
 
 if has ${EAPI:-0} 0 1 2 3 4 5; then
die "EAPI must be >= 6 for dlang packages."
@@ -71,7 +71,7 @@ dlang-compilers_declare_versions
 dlang_foreach_config() {
debug-print-function ${FUNCNAME} "${@}"
 
-   local MULTIBUILD_VARIANTS=($(__dlang_build_configurations))
+   local MULTIBUILD_VARIANTS=($(_dlang_build_configurations))
 
multibuild_wrapper() {
debug-print-function ${FUNCNAME} "${@}"
@@ -79,17 +79,17 @@ dlang_foreach_config() {
# We need to reset CC, else when dmd calls it, the result is:
# "x86_64-pc-linux-gnu-gcc -m32": No such file or directory
if [[ -v CC ]]; then
-   local __ORIGINAL_CC="${CC}"
+   local _ORIGINAL_CC="${CC}"
fi
multilib_toolchain_setup "${ABI}"
-   if [[ -v __ORIGINAL_CC ]]; then
-   CC="${__ORIGINAL_CC}"
+   if [[ -v _ORIGINAL_CC ]]; then
+   CC="${_ORIGINAL_CC}"
else
unset CC
fi
mkdir -p "${BUILD_DIR}" || die
pushd "${BUILD_DIR}" >/dev/null || die
-   __dlang_use_build_vars "${@}"
+   _dlang_use_build_vars "${@}"
popd >/dev/null || die
}
 
@@ -101,9 +101,9 @@ export DLANG_IMPORT_DIR="usr/include/dlang"
 dlang_single_config() {
debug-print-function ${FUNCNAME} "${@}"
 
-   local MULTIBUILD

[gentoo-commits] repo/user/dlang:master commit in: /

2023-07-22 Thread Marco Leise
commit: e998c4be4210da63b0b6c54c6a50262f72703495
Author: Marco Leise  gmx  de>
AuthorDate: Sat Jul 22 11:53:27 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 22 11:53:27 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e998c4be

Merge branch 'change_gdc_slot_calculation'

Signed-off-by: Marco Leise  gmx.de>

 .../gdmd/{gdmd-11.2.1.ebuild => gdmd-11.ebuild}|  6 ++--
 .../gdmd/{gdmd-11.3.0.ebuild => gdmd-12.ebuild}|  6 ++--
 eclass/dlang-compilers.eclass  |  7 ++--
 eclass/dlang.eclass| 41 --
 profiles/use.desc  |  7 ++--
 5 files changed, 46 insertions(+), 21 deletions(-)



[gentoo-commits] repo/user/dlang:master commit in: profiles/, dev-util/gdmd/, eclass/

2023-07-22 Thread Marco Leise
commit: 07911fadb2494944810e4a49cc72291539506d3a
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Sat Mar 11 17:13:13 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Mar 11 18:26:39 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=07911fad

eclass/dlang.eclass: Change gdc slot calculation.

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 .../gdmd/{gdmd-11.2.1.ebuild => gdmd-11.ebuild}|  6 ++--
 .../gdmd/{gdmd-11.3.0.ebuild => gdmd-12.ebuild}|  6 ++--
 eclass/dlang-compilers.eclass  |  7 ++--
 eclass/dlang.eclass| 41 --
 profiles/use.desc  |  7 ++--
 5 files changed, 46 insertions(+), 21 deletions(-)

diff --git a/dev-util/gdmd/gdmd-11.2.1.ebuild b/dev-util/gdmd/gdmd-11.ebuild
similarity index 79%
rename from dev-util/gdmd/gdmd-11.2.1.ebuild
rename to dev-util/gdmd/gdmd-11.ebuild
index 48216ba..59d7b8b 100644
--- a/dev-util/gdmd/gdmd-11.2.1.ebuild
+++ b/dev-util/gdmd/gdmd-11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,8 +8,8 @@ HOMEPAGE="https://www.gdcproject.org/;
 LICENSE="GPL-3+"
 
 SLOT="${PV}"
-KEYWORDS=" amd64 arm arm64 ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 x86"
-RDEPEND="=sys-devel/gcc-${PV}*[d]"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+RDEPEND="sys-devel/gcc:${PV}[d]"
 RELEASE="0.1.0"
 
SRC_URI="https://codeload.github.com/D-Programming-GDC/gdmd/tar.gz/script-${RELEASE}
 -> gdmd-${RELEASE}.tar.gz"
 PATCHES="${FILESDIR}/${PN}-no-dmd-conf.patch"

diff --git a/dev-util/gdmd/gdmd-11.3.0.ebuild b/dev-util/gdmd/gdmd-12.ebuild
similarity index 79%
rename from dev-util/gdmd/gdmd-11.3.0.ebuild
rename to dev-util/gdmd/gdmd-12.ebuild
index 0d5b47f..e123d22 100644
--- a/dev-util/gdmd/gdmd-11.3.0.ebuild
+++ b/dev-util/gdmd/gdmd-12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,8 +8,8 @@ HOMEPAGE="https://www.gdcproject.org/;
 LICENSE="GPL-3+"
 
 SLOT="${PV}"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 x86"
-RDEPEND="=sys-devel/gcc-${PV}*[d]"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+RDEPEND="sys-devel/gcc:${PV}[d]"
 RELEASE="0.1.0"
 
SRC_URI="https://codeload.github.com/D-Programming-GDC/gdmd/tar.gz/script-${RELEASE}
 -> gdmd-${RELEASE}.tar.gz"
 PATCHES="${FILESDIR}/${PN}-no-dmd-conf.patch"

diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index a872872..baf547f 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -54,8 +54,11 @@ dlang-compilers_declare_versions() {
 
# GDC (hppa, sparc: masked "d" USE-flag)
__dlang_gdc_frontend=(
-   ["11.2.1"]="2.076 amd64 arm arm64 ~ia64 ~m68k ~mips ppc ~ppc64 
~riscv ~s390 x86"
-   ["11.3.0"]="2.076 ~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc 
ppc64 ~riscv ~s390 x86"
+   ["11.3.1_p20221209"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+   ["11.3.1_p20230120"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+   ["11.3.1_p20230303"]="2.076 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+   ["12.2.1_p20230121"]="2.100 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86"
+   ["12.2.1_p20230304"]="2.100 ~alpha ~amd64 ~arm ~arm64 ~hppa 
~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
)
 
# LDC

diff --git a/eclass/dlang.eclass b/eclass/dlang.eclass
index 5c86088..8c1eda4 100644
--- a/eclass/dlang.eclass
+++ b/eclass/dlang.eclass
@@ -274,7 +274,8 @@ dlang_system_imports() {
if [[ "${DLANG_VENDOR}" == "DigitalMars" ]]; then
echo "/usr/lib/dmd/${DC_VERSION}/import"
elif [[ "${DLANG_VENDOR}" == "GNU" ]]; then
-   echo "/usr/lib/gcc/${CHOST_default}/${DC_VERSION}/include/d"
+   # gcc's SLOT is its major version component.
+   echo "/usr/lib/gcc/${CHOST_default}/$(ver_cut 1 
${DC_VERSION})/include/d"
elif [[ "${DLA

[gentoo-commits] repo/user/dlang:master commit in: profiles/

2023-07-22 Thread Marco Leise
commit: 6e385c4c973faea94fb782b322173a3a58e81eab
Author: Marco Leise  gmx  de>
AuthorDate: Sat Jul 22 11:54:47 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 22 11:54:47 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=6e385c4c

Fixed spelling of GCC in USE flag descriptions.

Signed-off-by: Marco Leise  gmx.de>

 profiles/use.desc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/profiles/use.desc b/profiles/use.desc
index 4898598..701c079 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -36,8 +36,8 @@ dmd-2_098 - Build for DMD 2.098
 dmd-2_099 - Build for DMD 2.099
 gdc-11_3_1_p20221209 - Build for GCC 11.3.1_p20221209
 gdc-11_3_1_p20230120 - Build for GCC 11.3.1_p20230120
-gdc-11_3_1_p20230303 - Build for GGG 11.3.1_p20230303
-gdc-12_2_1_p20230121 - Build for GGG 12.2.1_p20230121
-gdc-12_2_1_p20230304 - Build for GGG 12.2.1_p20230304
+gdc-11_3_1_p20230303 - Build for GCC 11.3.1_p20230303
+gdc-12_2_1_p20230121 - Build for GCC 12.2.1_p20230121
+gdc-12_2_1_p20230304 - Build for GCC 12.2.1_p20230304
 ldc2-1_29 - Build for ldc2 1.29
 ldc2-1_30 - Build for ldc2 1.30



[gentoo-commits] repo/user/dlang:master commit in: /

2023-07-22 Thread Marco Leise
commit: 29b1cd77e1de4baad1e60fbf6f93f2de7e9027ae
Author: Marco Leise  gmx  de>
AuthorDate: Sat Jul 22 11:45:32 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 22 11:45:32 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=29b1cd77

Merge branch 'net-misc/onedrive: add 2.4.25, remove olds'

Signed-off-by: Marco Leise  gmx.de>

 net-misc/onedrive/Manifest |  3 +-
 net-misc/onedrive/onedrive-2.4.22.ebuild   | 64 --
 ...edrive-2.4.21.ebuild => onedrive-2.4.25.ebuild} |  0
 3 files changed, 1 insertion(+), 66 deletions(-)



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2023-07-22 Thread Marco Leise
commit: 140bf7a1cb7eae744bc7a12485e89304548b2e00
Author: Marco Leise  gmx  de>
AuthorDate: Sat Jul 22 11:35:13 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 22 11:35:13 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=140bf7a1

pkgcheck: Fixed @MAINTAINER paragraphs formatting.

Signed-off-by: Marco Leise  gmx.de>

 eclass/dlang-compilers.eclass | 3 ++-
 eclass/dlang.eclass   | 3 ++-
 eclass/dmd.eclass | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index a872872..6882c16 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -1,5 +1,6 @@
 # @ECLASS: dlang-compilers.eclass
-# @MAINTAINER: marco.le...@gmx.de
+# @MAINTAINER:
+# Marco Leise 
 # @BLURB: Support data for dlang.eclass
 # @DESCRIPTION:
 # Contains the available D compiler versions with their stable archs.

diff --git a/eclass/dlang.eclass b/eclass/dlang.eclass
index 5c86088..0d313db 100644
--- a/eclass/dlang.eclass
+++ b/eclass/dlang.eclass
@@ -1,5 +1,6 @@
 # @ECLASS: dlang.eclass
-# @MAINTAINER: marco.le...@gmx.de
+# @MAINTAINER:
+# Marco Leise 
 # @BLURB: install D libraries in multiple locations for each D version and 
compiler
 # @DESCRIPTION:
 # The dlang eclass faciliates creating dependiencies on D libraries for use

diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index 55f62e8..c9b3adf 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -1,5 +1,6 @@
 # @ECLASS: dmd.eclass
-# @MAINTAINER: marco.le...@gmx.de
+# @MAINTAINER:
+# Marco Leise 
 # @BLURB: Captures most of the logic for installing DMD
 # @DESCRIPTION:
 # Helps with the maintenance of the various DMD versions by capturing common



[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/

2023-07-22 Thread Marco Leise
commit: e42cb32545631646c7a9de64d44cd4b9d74a42c7
Author: Joe Kappus  wt  gd>
AuthorDate: Thu Jul 20 20:25:31 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Jul 20 20:25:31 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e42cb325

net-misc/onedrive: drop 2.4.21, 2.4.22

Signed-off-by: Joe Kappus  wt.gd>

 net-misc/onedrive/Manifest   |  2 -
 net-misc/onedrive/onedrive-2.4.21.ebuild | 64 
 net-misc/onedrive/onedrive-2.4.22.ebuild | 64 
 3 files changed, 130 deletions(-)

diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest
index 25d9bfc..920c137 100644
--- a/net-misc/onedrive/Manifest
+++ b/net-misc/onedrive/Manifest
@@ -1,4 +1,2 @@
-DIST onedrive-2.4.21.tar.gz 1223054 BLAKE2B 
ecb424c303ec1e47ea49f3429c6db5436573df537ae4f75468a80385f4dc43d56a99253baa8b1b537450836326c78609ccd924ed7ae0cc0599e4e90561394801
 SHA512 
e1f74d68e82dd65027642b0585e5379a41c7d900fdad3015cd55d4e161bdd3ed5580f1a3a0bd3ea69faa34c417d17ab13774bec58c3497368eeae9017dd46ecd
-DIST onedrive-2.4.22.tar.gz 1232399 BLAKE2B 
bf17688ab1c86422c7e32c5229451a44db9d2d28a75f3f40fbbfcad87375b044b3062c933ddfea8ded756b575dae679bdd3c7fc1e198de945cb9c7d31dae06ac
 SHA512 
865ccbb4ff8c8253a0e4028f7488d5e3cb92a7cb915d753e1a3be946d8dc223f8d96497ddb71ead7de6d3e1cd1a0f5e17b53958ee26d2b647f14163da3fbda42
 DIST onedrive-2.4.23.tar.gz 1233921 BLAKE2B 
acf12b29101732dbb392d8a440cc08a7a321e4a7452d485366141b10623167be6f06d07d8840a728f8fbef1c09a7e42e30226a5600f42ac276fa001b51c4c261
 SHA512 
7117e23ee6e6e8499664aef899f37a3efbace57491f1756574c76fd0bfe6ddb76cf95b3001c717609cab7a6d7591d4347a24bc55437423b035b6e39fca4a7d3d
 DIST onedrive-2.4.25.tar.gz 1243977 BLAKE2B 
0bcf0b3786586395746c343c0c808c9e868e71b5c0d7b1e789add2a1d1c1305741a8251e239ce48f4d7d76bb9b4ec4c6fbe247874545a0c24c84aeea47b93576
 SHA512 
bbf1a87be25f69041a36f41967ee5ee692faae012f38d050fdeca7de1fc35c4ff79bf597032354fc7421699f2e9b75b458364c45c17de2db112f884dac42d781

diff --git a/net-misc/onedrive/onedrive-2.4.21.ebuild 
b/net-misc/onedrive/onedrive-2.4.21.ebuild
deleted file mode 100644
index eff9231..000
--- a/net-misc/onedrive/onedrive-2.4.21.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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.087-"
-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 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.22.ebuild 
b/net-misc/onedrive/onedrive-2.4.22.ebuild
deleted file mode 100644
index eff9231..000
--- a/net-misc/onedrive/onedrive-2.4.22.ebuild
+++ /de

[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/

2023-07-22 Thread Marco Leise
commit: 05d3574dbf6c7846bc1e619319b3b6df46575683
Author: Joe Kappus  wt  gd>
AuthorDate: Thu Jul 20 20:25:13 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Jul 20 20:25:13 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=05d3574d

net-misc/onedrive: add 2.4.25

Signed-off-by: Joe Kappus  wt.gd>

 net-misc/onedrive/Manifest   |  1 +
 net-misc/onedrive/onedrive-2.4.25.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest
index 68de89d..25d9bfc 100644
--- a/net-misc/onedrive/Manifest
+++ b/net-misc/onedrive/Manifest
@@ -1,3 +1,4 @@
 DIST onedrive-2.4.21.tar.gz 1223054 BLAKE2B 
ecb424c303ec1e47ea49f3429c6db5436573df537ae4f75468a80385f4dc43d56a99253baa8b1b537450836326c78609ccd924ed7ae0cc0599e4e90561394801
 SHA512 
e1f74d68e82dd65027642b0585e5379a41c7d900fdad3015cd55d4e161bdd3ed5580f1a3a0bd3ea69faa34c417d17ab13774bec58c3497368eeae9017dd46ecd
 DIST onedrive-2.4.22.tar.gz 1232399 BLAKE2B 
bf17688ab1c86422c7e32c5229451a44db9d2d28a75f3f40fbbfcad87375b044b3062c933ddfea8ded756b575dae679bdd3c7fc1e198de945cb9c7d31dae06ac
 SHA512 
865ccbb4ff8c8253a0e4028f7488d5e3cb92a7cb915d753e1a3be946d8dc223f8d96497ddb71ead7de6d3e1cd1a0f5e17b53958ee26d2b647f14163da3fbda42
 DIST onedrive-2.4.23.tar.gz 1233921 BLAKE2B 
acf12b29101732dbb392d8a440cc08a7a321e4a7452d485366141b10623167be6f06d07d8840a728f8fbef1c09a7e42e30226a5600f42ac276fa001b51c4c261
 SHA512 
7117e23ee6e6e8499664aef899f37a3efbace57491f1756574c76fd0bfe6ddb76cf95b3001c717609cab7a6d7591d4347a24bc55437423b035b6e39fca4a7d3d
+DIST onedrive-2.4.25.tar.gz 1243977 BLAKE2B 
0bcf0b3786586395746c343c0c808c9e868e71b5c0d7b1e789add2a1d1c1305741a8251e239ce48f4d7d76bb9b4ec4c6fbe247874545a0c24c84aeea47b93576
 SHA512 
bbf1a87be25f69041a36f41967ee5ee692faae012f38d050fdeca7de1fc35c4ff79bf597032354fc7421699f2e9b75b458364c45c17de2db112f884dac42d781

diff --git a/net-misc/onedrive/onedrive-2.4.25.ebuild 
b/net-misc/onedrive/onedrive-2.4.25.ebuild
new file mode 100644
index 000..eff9231
--- /dev/null
+++ b/net-misc/onedrive/onedrive-2.4.25.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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.087-"
+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 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)"
+}



[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/

2023-01-13 Thread Marco Leise
commit: 213b3eff71c67f8f5d0b7a7ac05d6f91ea5a9fba
Author: Joe Kappus  wt  gd>
AuthorDate: Sun Jan  8 22:48:31 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sun Jan  8 22:48:31 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=213b3eff

net-misc/onedrive: add 2.4.23

Signed-off-by: Joe Kappus  wt.gd>

 net-misc/onedrive/Manifest   |  1 +
 net-misc/onedrive/onedrive-2.4.23.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest
index 47fbbaa..71e762b 100644
--- a/net-misc/onedrive/Manifest
+++ b/net-misc/onedrive/Manifest
@@ -2,3 +2,4 @@ DIST onedrive-2.4.19.tar.gz 1145669 BLAKE2B 
ab2537089be2da474fcdff23c9e12c002136
 DIST onedrive-2.4.20.tar.gz 1147454 BLAKE2B 
397fb17d6b0f71ad20a91ca7e8d75a0cbd0c91562d25f24961b48d7c6704af0931d2a9a3bd2bce7a4c3d6a4560b198f7d8acd45da09b2fda499c50106a967e46
 SHA512 
c70f0ad894358298bc6612d94c1b4d53992da78e8e578ba24f9dbb422f37527decfac02e0745f853b32f5546debc30dc27bec30cc7cf9587204e0189e11f
 DIST onedrive-2.4.21.tar.gz 1223054 BLAKE2B 
ecb424c303ec1e47ea49f3429c6db5436573df537ae4f75468a80385f4dc43d56a99253baa8b1b537450836326c78609ccd924ed7ae0cc0599e4e90561394801
 SHA512 
e1f74d68e82dd65027642b0585e5379a41c7d900fdad3015cd55d4e161bdd3ed5580f1a3a0bd3ea69faa34c417d17ab13774bec58c3497368eeae9017dd46ecd
 DIST onedrive-2.4.22.tar.gz 1232399 BLAKE2B 
bf17688ab1c86422c7e32c5229451a44db9d2d28a75f3f40fbbfcad87375b044b3062c933ddfea8ded756b575dae679bdd3c7fc1e198de945cb9c7d31dae06ac
 SHA512 
865ccbb4ff8c8253a0e4028f7488d5e3cb92a7cb915d753e1a3be946d8dc223f8d96497ddb71ead7de6d3e1cd1a0f5e17b53958ee26d2b647f14163da3fbda42
+DIST onedrive-2.4.23.tar.gz 1233921 BLAKE2B 
acf12b29101732dbb392d8a440cc08a7a321e4a7452d485366141b10623167be6f06d07d8840a728f8fbef1c09a7e42e30226a5600f42ac276fa001b51c4c261
 SHA512 
7117e23ee6e6e8499664aef899f37a3efbace57491f1756574c76fd0bfe6ddb76cf95b3001c717609cab7a6d7591d4347a24bc55437423b035b6e39fca4a7d3d

diff --git a/net-misc/onedrive/onedrive-2.4.23.ebuild 
b/net-misc/onedrive/onedrive-2.4.23.ebuild
new file mode 100644
index 000..eff9231
--- /dev/null
+++ b/net-misc/onedrive/onedrive-2.4.23.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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.087-"
+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 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)"
+}



[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/

2023-01-13 Thread Marco Leise
commit: e60f1e1032652170cbc01372440d6b1d564a0865
Author: Joe Kappus  wt  gd>
AuthorDate: Sun Jan  8 22:50:09 2023 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sun Jan  8 22:50:09 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e60f1e10

net-misc/onedrive: drop 2.4.19, 2.4.20

Signed-off-by: Joe Kappus  wt.gd>

 net-misc/onedrive/Manifest   |  2 -
 net-misc/onedrive/onedrive-2.4.19.ebuild | 64 
 net-misc/onedrive/onedrive-2.4.20.ebuild | 64 
 3 files changed, 130 deletions(-)

diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest
index 71e762b..68de89d 100644
--- a/net-misc/onedrive/Manifest
+++ b/net-misc/onedrive/Manifest
@@ -1,5 +1,3 @@
-DIST onedrive-2.4.19.tar.gz 1145669 BLAKE2B 
ab2537089be2da474fcdff23c9e12c002136b07ad8a97d0e1182314d9205c938747381b3ad2870ffaf22adb29e39130a0ff0a7ca078809143fb8c3f0ee8f93d3
 SHA512 
e1542efd12b0dd30c5a17ff8afbceadc23d9b280d7bbe856dad3e93e3c88ae65ab7c50e6cd7dec0bab3e84ac941e7b0f318134ee33c245fe81deddb4a3bce91f
-DIST onedrive-2.4.20.tar.gz 1147454 BLAKE2B 
397fb17d6b0f71ad20a91ca7e8d75a0cbd0c91562d25f24961b48d7c6704af0931d2a9a3bd2bce7a4c3d6a4560b198f7d8acd45da09b2fda499c50106a967e46
 SHA512 
c70f0ad894358298bc6612d94c1b4d53992da78e8e578ba24f9dbb422f37527decfac02e0745f853b32f5546debc30dc27bec30cc7cf9587204e0189e11f
 DIST onedrive-2.4.21.tar.gz 1223054 BLAKE2B 
ecb424c303ec1e47ea49f3429c6db5436573df537ae4f75468a80385f4dc43d56a99253baa8b1b537450836326c78609ccd924ed7ae0cc0599e4e90561394801
 SHA512 
e1f74d68e82dd65027642b0585e5379a41c7d900fdad3015cd55d4e161bdd3ed5580f1a3a0bd3ea69faa34c417d17ab13774bec58c3497368eeae9017dd46ecd
 DIST onedrive-2.4.22.tar.gz 1232399 BLAKE2B 
bf17688ab1c86422c7e32c5229451a44db9d2d28a75f3f40fbbfcad87375b044b3062c933ddfea8ded756b575dae679bdd3c7fc1e198de945cb9c7d31dae06ac
 SHA512 
865ccbb4ff8c8253a0e4028f7488d5e3cb92a7cb915d753e1a3be946d8dc223f8d96497ddb71ead7de6d3e1cd1a0f5e17b53958ee26d2b647f14163da3fbda42
 DIST onedrive-2.4.23.tar.gz 1233921 BLAKE2B 
acf12b29101732dbb392d8a440cc08a7a321e4a7452d485366141b10623167be6f06d07d8840a728f8fbef1c09a7e42e30226a5600f42ac276fa001b51c4c261
 SHA512 
7117e23ee6e6e8499664aef899f37a3efbace57491f1756574c76fd0bfe6ddb76cf95b3001c717609cab7a6d7591d4347a24bc55437423b035b6e39fca4a7d3d

diff --git a/net-misc/onedrive/onedrive-2.4.19.ebuild 
b/net-misc/onedrive/onedrive-2.4.19.ebuild
deleted file mode 100644
index 8e7d0a1..000
--- a/net-misc/onedrive/onedrive-2.4.19.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2022 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.087-"
-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 to reauthorise your 
client."
-   ewarn "This is due to changing the client identifier to assist with 
re

[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/

2022-12-19 Thread Marco Leise
commit: a0b89e5e6edff4189d8a6d9073a268492a2a85b9
Author: Joe Kappus  wt  gd>
AuthorDate: Sat Dec 17 10:25:24 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Dec 17 10:25:24 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=a0b89e5e

net-misc/onedrive: add 2.4.22

Signed-off-by: Joe Kappus  wt.gd>

 net-misc/onedrive/Manifest   |  1 +
 net-misc/onedrive/onedrive-2.4.22.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest
index 718d2c4..47fbbaa 100644
--- a/net-misc/onedrive/Manifest
+++ b/net-misc/onedrive/Manifest
@@ -1,3 +1,4 @@
 DIST onedrive-2.4.19.tar.gz 1145669 BLAKE2B 
ab2537089be2da474fcdff23c9e12c002136b07ad8a97d0e1182314d9205c938747381b3ad2870ffaf22adb29e39130a0ff0a7ca078809143fb8c3f0ee8f93d3
 SHA512 
e1542efd12b0dd30c5a17ff8afbceadc23d9b280d7bbe856dad3e93e3c88ae65ab7c50e6cd7dec0bab3e84ac941e7b0f318134ee33c245fe81deddb4a3bce91f
 DIST onedrive-2.4.20.tar.gz 1147454 BLAKE2B 
397fb17d6b0f71ad20a91ca7e8d75a0cbd0c91562d25f24961b48d7c6704af0931d2a9a3bd2bce7a4c3d6a4560b198f7d8acd45da09b2fda499c50106a967e46
 SHA512 
c70f0ad894358298bc6612d94c1b4d53992da78e8e578ba24f9dbb422f37527decfac02e0745f853b32f5546debc30dc27bec30cc7cf9587204e0189e11f
 DIST onedrive-2.4.21.tar.gz 1223054 BLAKE2B 
ecb424c303ec1e47ea49f3429c6db5436573df537ae4f75468a80385f4dc43d56a99253baa8b1b537450836326c78609ccd924ed7ae0cc0599e4e90561394801
 SHA512 
e1f74d68e82dd65027642b0585e5379a41c7d900fdad3015cd55d4e161bdd3ed5580f1a3a0bd3ea69faa34c417d17ab13774bec58c3497368eeae9017dd46ecd
+DIST onedrive-2.4.22.tar.gz 1232399 BLAKE2B 
bf17688ab1c86422c7e32c5229451a44db9d2d28a75f3f40fbbfcad87375b044b3062c933ddfea8ded756b575dae679bdd3c7fc1e198de945cb9c7d31dae06ac
 SHA512 
865ccbb4ff8c8253a0e4028f7488d5e3cb92a7cb915d753e1a3be946d8dc223f8d96497ddb71ead7de6d3e1cd1a0f5e17b53958ee26d2b647f14163da3fbda42

diff --git a/net-misc/onedrive/onedrive-2.4.22.ebuild 
b/net-misc/onedrive/onedrive-2.4.22.ebuild
new file mode 100644
index 000..eff9231
--- /dev/null
+++ b/net-misc/onedrive/onedrive-2.4.22.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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.087-"
+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 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)"
+}



[gentoo-commits] repo/user/dlang:master commit in: /

2022-10-13 Thread Marco Leise
commit: b102561d43d4b8cbaa992a9e0ccae8fec0a548f8
Author: Marco Leise  gmx  de>
AuthorDate: Thu Oct 13 16:02:32 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Oct 13 16:02:32 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=b102561d

Merge branch 'odbump'

Signed-off-by: Marco Leise  gmx.de>

 net-misc/onedrive/Manifest   | 1 +
 net-misc/onedrive/{onedrive-2.4.20.ebuild => onedrive-2.4.21.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)



[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/

2022-10-13 Thread Marco Leise
commit: 9c98703f7ec567198e57eeaf9baef45deaf175f7
Author: Joe Kappus  wt  gd>
AuthorDate: Thu Oct  6 22:07:41 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Oct  6 22:07:41 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=9c98703f

net-misc/onedrive: add 2.4.21

Also move to EAPI 8.

Signed-off-by: Joe Kappus  wt.gd>

 net-misc/onedrive/Manifest   |  1 +
 net-misc/onedrive/onedrive-2.4.21.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest
index 36973fd..718d2c4 100644
--- a/net-misc/onedrive/Manifest
+++ b/net-misc/onedrive/Manifest
@@ -1,2 +1,3 @@
 DIST onedrive-2.4.19.tar.gz 1145669 BLAKE2B 
ab2537089be2da474fcdff23c9e12c002136b07ad8a97d0e1182314d9205c938747381b3ad2870ffaf22adb29e39130a0ff0a7ca078809143fb8c3f0ee8f93d3
 SHA512 
e1542efd12b0dd30c5a17ff8afbceadc23d9b280d7bbe856dad3e93e3c88ae65ab7c50e6cd7dec0bab3e84ac941e7b0f318134ee33c245fe81deddb4a3bce91f
 DIST onedrive-2.4.20.tar.gz 1147454 BLAKE2B 
397fb17d6b0f71ad20a91ca7e8d75a0cbd0c91562d25f24961b48d7c6704af0931d2a9a3bd2bce7a4c3d6a4560b198f7d8acd45da09b2fda499c50106a967e46
 SHA512 
c70f0ad894358298bc6612d94c1b4d53992da78e8e578ba24f9dbb422f37527decfac02e0745f853b32f5546debc30dc27bec30cc7cf9587204e0189e11f
+DIST onedrive-2.4.21.tar.gz 1223054 BLAKE2B 
ecb424c303ec1e47ea49f3429c6db5436573df537ae4f75468a80385f4dc43d56a99253baa8b1b537450836326c78609ccd924ed7ae0cc0599e4e90561394801
 SHA512 
e1f74d68e82dd65027642b0585e5379a41c7d900fdad3015cd55d4e161bdd3ed5580f1a3a0bd3ea69faa34c417d17ab13774bec58c3497368eeae9017dd46ecd

diff --git a/net-misc/onedrive/onedrive-2.4.21.ebuild 
b/net-misc/onedrive/onedrive-2.4.21.ebuild
new file mode 100644
index 000..eff9231
--- /dev/null
+++ b/net-misc/onedrive/onedrive-2.4.21.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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.087-"
+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 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)"
+}



[gentoo-commits] repo/user/dlang:master commit in: eclass/, profiles/

2022-10-13 Thread Marco Leise
commit: 655270085d33b7b3b166df4d5ef5086121cab380
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Sun Oct  9 15:56:46 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sun Oct  9 15:56:46 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=65527008

Fix dlang-compilers.eclass keyword mismatch, remove obsolete dmd-2_063 
reference.

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 eclass/dlang-compilers.eclass | 6 +++---
 profiles/use.desc | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 7ae7285..a872872 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -47,9 +47,9 @@ dlang-compilers_declare_versions() {
["2.094"]="2.094 x86 amd64"
["2.095"]="2.095 x86 amd64"
["2.096"]="2.096 x86 amd64"
-   ["2.097"]="2.097 ~x86 ~amd64"
-   ["2.098"]="2.098 ~x86 ~amd64"
-   ["2.099"]="2.099 ~x86 ~amd64"
+   ["2.097"]="2.097 x86 amd64"
+   ["2.098"]="2.098 x86 amd64"
+   ["2.099"]="2.099 x86 amd64"
)
 
# GDC (hppa, sparc: masked "d" USE-flag)

diff --git a/profiles/use.desc b/profiles/use.desc
index d9c78c3..f8d195d 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -1,4 +1,3 @@
-dmd-2_063 - Build for DMD 2.063
 dmd-2_064 - Build for DMD 2.064
 dmd-2_065 - Build for DMD 2.065
 dmd-2_066 - Build for DMD 2.066



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dub/files/, dev-util/dub/

2022-08-19 Thread Marco Leise
commit: beae9775d4a49f0dbe72b15c5b0b17d48bcdedf1
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Sun Aug 14 11:39:39 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sun Aug 14 11:41:41 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=beae9775

dev-util/dub version bump

Also added man pages support.

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-util/dub/Manifest |  2 +-
 dev-util/dub/{dub-1.25.0.ebuild => dub-1.29.0.ebuild} | 15 ---
 ...dmd-pathfix.patch => dub-1.29.0-gdc-dmd-pathfix.patch} |  0
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index b53e909..4c543e0 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1 +1 @@
-DIST dub-1.25.0.tar.gz 1303972 BLAKE2B 
64579b3150904b3e2ce76aa0dd5930f8d861afa7bb4ab0a2cf7b5796161adb61c0f510f07bea2b82bc23f64fd1f614c9222cec12c3254e0d18b510f4fa39aff1
 SHA512 
9694d79933283c79ef9e272a52f141f49097d65d2e203b78443da2b6e10ed249fe4ce4614f8357d11fb1de0bddfd56ea8cd2dd2b243ec25231ee1f7db5538d8c
+DIST dub-1.29.0.tar.gz 1321720 BLAKE2B 
c24f55cb4d356538a22eda86b8abec0d0ccdb3ede6bc1e49424ba8350d0ac95b2c3b9307c6eaa9b9547be6a040548824ea32a019aac62287f8410c9beec07bd2
 SHA512 
f851ceccb7aa1ee00560c64fca2cf4239f0b260c7c2eee5c3688a555f7f37ff7bc4894cbc944ec0cf3a5b1cb1cf33d6d1e9cf23b24b42e098ccb3f432354a97c

diff --git a/dev-util/dub/dub-1.25.0.ebuild b/dev-util/dub/dub-1.29.0.ebuild
similarity index 61%
rename from dev-util/dub/dub-1.25.0.ebuild
rename to dev-util/dub/dub-1.29.0.ebuild
index e60575b..29c03c0 100644
--- a/dev-util/dub/dub-1.25.0.ebuild
+++ b/dev-util/dub/dub-1.29.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,14 +8,15 @@ 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;
 SRC_URI="${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz"
 PATCHES="${FILESDIR}/${P}-gdc-dmd-pathfix.patch"
 
-DLANG_VERSION_RANGE="2.081-"
+# Upstream recommends the latest version available
+DLANG_VERSION_RANGE="2.083-"
 DLANG_PACKAGE_TYPE="single"
 
 inherit dlang
@@ -26,6 +27,9 @@ RDEPEND="${DEPEND}"
 d_src_compile() {
local imports=source versions="DubApplication DubUseCurl" libs="curl z"
dlang_compile_bin bin/dub $(

[gentoo-commits] repo/user/dlang:master commit in: /

2022-07-25 Thread Marco Leise
commit: 57cb270d995d5ec830295c788c7b0a943faf9863
Author: Marco Leise  gmx  de>
AuthorDate: Mon Jul 25 11:01:20 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jul 25 11:11:11 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=57cb270d

Merge branch 'add-ldc2-1.30'

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/ldc2/Manifest  | 1 +
 dev-lang/ldc2/{ldc2-1.29.0-r1.ebuild => ldc2-1.30.0.ebuild} | 5 +++--
 eclass/dlang-compilers.eclass   | 1 +
 profiles/use.desc   | 1 +
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --cc dev-lang/ldc2/Manifest
index 8298964,5e06b38..8520d03
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@@ -1,1 -1,6 +1,2 @@@
 -DIST ldc-1.25.1-src.tar.gz 7625687 BLAKE2B 
02eacb06c334608d4b649d8fdffdef03cd1645a2d237063c888728c840a8c939df1c1ff9aefe3efab395358a7757dd287d1efa7a704b37f0b2661c8c1b5faaca
 SHA512 
a087f48ec8f559eea17f88f9c00893c84db17bfcb10590011f43d6d1573a30286067207133ad6d249897fe51cb22829c2ddf00bf23210f01aa059b1f87790fae
 -DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f856530ca7e6948c795ec5f943e4be32513b4a956aa9217df4acd45806bc81ff855ebab757aa3f6a1943fa7c394b3e3ce
 SHA512 
7bb2aa464f5ba834c07f67743f4af01db6588d56611d6c9e250a6908ebe93a0dcd9d3a79f8f252fc92eeb4826bfa62de6c51c4db03ff80e60a8d993e4451f573
 -DIST ldc-1.27.1-src.tar.gz 7742031 BLAKE2B 
d459d70e6745930aca1293cf17ec186526393ce3ff3888c0aad3781f215ed53d6a44a08e3a1bc69e91ba0b039c443e277a0b526e7054e18445e074be1de12e87
 SHA512 
d10118c9c52a26510f3f9d8d93b38f89144aca7b861ef663e807df0bcf1bb3bc12d1410e6617891e58a3f2cfe160e31bb8478bb1f39f79d026c97ce7e72a9f65
 -DIST ldc-1.28.1-src.tar.gz 7937120 BLAKE2B 
fae97676064506989883c03f628685bc8ddd3bb3cd1f41afef9a34bba83c9d803a6cff186145a26e8605479b18b7a7661bb14a950f5891ab27b195f045a219a9
 SHA512 
3ec4c754873db4c00fb2e45ec42a3641f46ed6a7d882c0a00edb9ee8a5686fad7c43e45068b7a216b2df89395860ccfc700a7f3efea38c2d3d0ac3b90dd5d3a1
  DIST ldc-1.29.0-src.tar.gz 8080420 BLAKE2B 
37890b283f8097e6d845d6d849b9c04e64bdca5654f483bd83e0d387f0bc4d1cacdef023ccab67dd140a57615e0e7ba9f92acffb18f49211ca130a503f8307e8
 SHA512 
f8a1e23150b84ef31d3616b9be8ca4c1a64df2b3f26fbedb1119a7d2d3dacad10cd86b6b9bf79728c8c725213f8f7ae88acdeb7a0d9e2f3f5068857f97c39a7e
+ DIST ldc-1.30.0-src.tar.gz 8292548 BLAKE2B 
e2e9846b055837bd2fbeb4b17481f0dd1a49978d8794ee380ad2c14b9713065e98486c62c76a02e9ac2deead8664191409d768da99c7cf447bc5c1d3c77c
 SHA512 
6da36e70cdb7e298b103642d40465fad7a08f05e5424ca9205783c9db867a2e75058d4d3b0124fe305ac69d853cd3dae41e179f80c5359d771f206b76a8b7e80
diff --cc eclass/dlang-compilers.eclass
index d3751b8,af1fa54..7ae7285
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@@ -60,7 -60,12 +60,8 @@@ dlang-compilers_declare_versions() 
  
# LDC
__dlang_ldc2_frontend=(
 -  ["1.25"]="2.095 amd64 ~arm ~arm64 ~ppc64 x86"
 -  ["1.26"]="2.096 amd64 ~arm ~arm64 ~ppc64 x86"
 -  ["1.27"]="2.097 amd64 ~arm ~arm64 ~ppc64 x86"
 -  ["1.28"]="2.098 amd64 ~arm ~arm64 ~ppc64 x86"
["1.29"]="2.099 amd64 ~arm ~arm64 ~ppc64 x86"
+   ["1.30"]="2.100 ~amd64 ~arm ~arm64 ~ppc64 ~x86"
)
  }
  
diff --cc profiles/use.desc
index 2a5980f,59da989..d9c78c3
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@@ -37,4 -37,9 +37,5 @@@ dmd-2_098 - Build for DMD 2.09
  dmd-2_099 - Build for DMD 2.099
  gdc-11_2_1 - Build for GCC 11.2.1
  gdc-11_3_0 - Build for GCC 11.3.0
 -ldc2-1_25 - Build for ldc2 1.25
 -ldc2-1_26 - Build for ldc2 1.26
 -ldc2-1_27 - Build for ldc2 1.27
 -ldc2-1_28 - Build for ldc2 1.28
  ldc2-1_29 - Build for ldc2 1.29
+ ldc2-1_30 - Build for ldc2 1.30



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2022-07-25 Thread Marco Leise
commit: 118781d0346e695903064f76e6a17c4fa50c8074
Author: Marco Leise  gmx  de>
AuthorDate: Mon Jul 25 11:11:40 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jul 25 11:11:40 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=118781d0

fixed KEYWORDS on ldc2-1.29

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/ldc2/ldc2-1.29.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ldc2/ldc2-1.29.0-r1.ebuild 
b/dev-lang/ldc2/ldc2-1.29.0-r1.ebuild
index 1880f4d..be9d229 100644
--- a/dev-lang/ldc2/ldc2-1.29.0-r1.ebuild
+++ b/dev-lang/ldc2/ldc2-1.29.0-r1.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/${MY_P}
 
 DESCRIPTION="LLVM D Compiler"
 HOMEPAGE="https://github.com/ldc-developers/ldc;
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 LICENSE="BSD"
 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
 



[gentoo-commits] repo/user/dlang:master commit in: profiles/, eclass/, dev-lang/ldc2/

2022-07-25 Thread Marco Leise
commit: 641467b8cf4aae98a725577cf08f7581e3ae08c2
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Fri Jul 22 14:31:58 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 23 12:36:45 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=641467b8

Add ldc2-1.30

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/ldc2/Manifest   |  1 +
 dev-lang/ldc2/ldc2-1.30.0.ebuild | 83 
 eclass/dlang-compilers.eclass|  1 +
 profiles/use.desc|  1 +
 4 files changed, 86 insertions(+)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index bd2a3ec..5e06b38 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -3,3 +3,4 @@ DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f85653
 DIST ldc-1.27.1-src.tar.gz 7742031 BLAKE2B 
d459d70e6745930aca1293cf17ec186526393ce3ff3888c0aad3781f215ed53d6a44a08e3a1bc69e91ba0b039c443e277a0b526e7054e18445e074be1de12e87
 SHA512 
d10118c9c52a26510f3f9d8d93b38f89144aca7b861ef663e807df0bcf1bb3bc12d1410e6617891e58a3f2cfe160e31bb8478bb1f39f79d026c97ce7e72a9f65
 DIST ldc-1.28.1-src.tar.gz 7937120 BLAKE2B 
fae97676064506989883c03f628685bc8ddd3bb3cd1f41afef9a34bba83c9d803a6cff186145a26e8605479b18b7a7661bb14a950f5891ab27b195f045a219a9
 SHA512 
3ec4c754873db4c00fb2e45ec42a3641f46ed6a7d882c0a00edb9ee8a5686fad7c43e45068b7a216b2df89395860ccfc700a7f3efea38c2d3d0ac3b90dd5d3a1
 DIST ldc-1.29.0-src.tar.gz 8080420 BLAKE2B 
37890b283f8097e6d845d6d849b9c04e64bdca5654f483bd83e0d387f0bc4d1cacdef023ccab67dd140a57615e0e7ba9f92acffb18f49211ca130a503f8307e8
 SHA512 
f8a1e23150b84ef31d3616b9be8ca4c1a64df2b3f26fbedb1119a7d2d3dacad10cd86b6b9bf79728c8c725213f8f7ae88acdeb7a0d9e2f3f5068857f97c39a7e
+DIST ldc-1.30.0-src.tar.gz 8292548 BLAKE2B 
e2e9846b055837bd2fbeb4b17481f0dd1a49978d8794ee380ad2c14b9713065e98486c62c76a02e9ac2deead8664191409d768da99c7cf447bc5c1d3c77c
 SHA512 
6da36e70cdb7e298b103642d40465fad7a08f05e5424ca9205783c9db867a2e75058d4d3b0124fe305ac69d853cd3dae41e179f80c5359d771f206b76a8b7e80

diff --git a/dev-lang/ldc2/ldc2-1.30.0.ebuild b/dev-lang/ldc2/ldc2-1.30.0.ebuild
new file mode 100644
index 000..2b27d1d
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.30.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 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 9.0 through 14.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:13
+   sys-devel/llvm:14
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=14
+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} )
+
+# Upstream supports "2.079-"
+DLANG_VERSION_RANGE="2.075-2.080 2.082-"
+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_compile()
+{
+   cmake_src_compile
+}
+
+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/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 25c17cd..af1fa54 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -65,6 +65,7 @@ dlang-compilers_declare_versions() {
["1.27"]="2.097 amd64 ~a

[gentoo-commits] repo/user/dlang:master commit in: profiles/, eclass/, dev-lang/ldc2/

2022-07-25 Thread Marco Leise
commit: 67933f488e18b8a672e975d103cfcbd14c1ed06e
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Sat Jul 23 11:38:47 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 23 12:49:20 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=67933f48

Remove llvm-12 dependency

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/ldc2/Manifest |  4 --
 dev-lang/ldc2/ldc2-1.25.1-r1.ebuild| 81 --
 dev-lang/ldc2/ldc2-1.26.0-r1.ebuild| 81 --
 dev-lang/ldc2/ldc2-1.27.1.ebuild   | 81 --
 dev-lang/ldc2/ldc2-1.28.1.ebuild   | 81 --
 .../{ldc2-1.29.0.ebuild => ldc2-1.29.0-r1.ebuild}  |  1 -
 eclass/dlang-compilers.eclass  |  4 --
 profiles/use.desc  |  4 --
 8 files changed, 337 deletions(-)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index bd2a3ec..8298964 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -1,5 +1 @@
-DIST ldc-1.25.1-src.tar.gz 7625687 BLAKE2B 
02eacb06c334608d4b649d8fdffdef03cd1645a2d237063c888728c840a8c939df1c1ff9aefe3efab395358a7757dd287d1efa7a704b37f0b2661c8c1b5faaca
 SHA512 
a087f48ec8f559eea17f88f9c00893c84db17bfcb10590011f43d6d1573a30286067207133ad6d249897fe51cb22829c2ddf00bf23210f01aa059b1f87790fae
-DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f856530ca7e6948c795ec5f943e4be32513b4a956aa9217df4acd45806bc81ff855ebab757aa3f6a1943fa7c394b3e3ce
 SHA512 
7bb2aa464f5ba834c07f67743f4af01db6588d56611d6c9e250a6908ebe93a0dcd9d3a79f8f252fc92eeb4826bfa62de6c51c4db03ff80e60a8d993e4451f573
-DIST ldc-1.27.1-src.tar.gz 7742031 BLAKE2B 
d459d70e6745930aca1293cf17ec186526393ce3ff3888c0aad3781f215ed53d6a44a08e3a1bc69e91ba0b039c443e277a0b526e7054e18445e074be1de12e87
 SHA512 
d10118c9c52a26510f3f9d8d93b38f89144aca7b861ef663e807df0bcf1bb3bc12d1410e6617891e58a3f2cfe160e31bb8478bb1f39f79d026c97ce7e72a9f65
-DIST ldc-1.28.1-src.tar.gz 7937120 BLAKE2B 
fae97676064506989883c03f628685bc8ddd3bb3cd1f41afef9a34bba83c9d803a6cff186145a26e8605479b18b7a7661bb14a950f5891ab27b195f045a219a9
 SHA512 
3ec4c754873db4c00fb2e45ec42a3641f46ed6a7d882c0a00edb9ee8a5686fad7c43e45068b7a216b2df89395860ccfc700a7f3efea38c2d3d0ac3b90dd5d3a1
 DIST ldc-1.29.0-src.tar.gz 8080420 BLAKE2B 
37890b283f8097e6d845d6d849b9c04e64bdca5654f483bd83e0d387f0bc4d1cacdef023ccab67dd140a57615e0e7ba9f92acffb18f49211ca130a503f8307e8
 SHA512 
f8a1e23150b84ef31d3616b9be8ca4c1a64df2b3f26fbedb1119a7d2d3dacad10cd86b6b9bf79728c8c725213f8f7ae88acdeb7a0d9e2f3f5068857f97c39a7e

diff --git a/dev-lang/ldc2/ldc2-1.25.1-r1.ebuild 
b/dev-lang/ldc2/ldc2-1.25.1-r1.ebuild
deleted file mode 100644
index 9e27b2c..000
--- a/dev-lang/ldc2/ldc2-1.25.1-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2022 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 6.0 through 12.
-RDEPEND="dev-util/ninja
-   || (
-   sys-devel/llvm:12
-   )
-   =app-eselect/eselect-dlang-20140709"
-DEPEND="${RDEPEND}"
-LLVM_MAX_SLOT=12
-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.075-"
-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_compile()
-{
-   cmake_src_compile
-}
-
-d_src_install() {
-   cmake_src_install
-
-   rm -rf "

[gentoo-commits] repo/user/dlang:master commit in: /

2022-07-23 Thread Marco Leise
commit: 398a12ac63cb7901c0d3236fd36df3b24c5d3a60
Author: Marco Leise  gmx  de>
AuthorDate: Sat Jul 23 12:23:42 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 23 12:23:42 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=398a12ac

Merge branch 'add-gdc-11.3.0'

Signed-off-by: Marco Leise  gmx.de>

 .../{gdmd-11.2.1.ebuild => gdmd-11.3.0.ebuild} |  2 +-
 eclass/dlang-compilers.eclass  |  1 +
 eclass/dlang.eclass| 31 ++
 eclass/dmd.eclass  |  6 +++--
 profiles/use.desc  |  1 +
 5 files changed, 38 insertions(+), 3 deletions(-)



[gentoo-commits] repo/user/dlang:master commit in: eclass/, profiles/, dev-util/gdmd/

2022-07-23 Thread Marco Leise
commit: 72ca12b107ee7021e18a382617520205d2ba1211
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Mon Jul 18 16:27:56 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jul 18 16:44:17 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=72ca12b1

Add gdc.11.3.0

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-util/gdmd/gdmd-11.3.0.ebuild | 27 +++
 eclass/dlang-compilers.eclass|  1 +
 profiles/use.desc|  1 +
 3 files changed, 29 insertions(+)

diff --git a/dev-util/gdmd/gdmd-11.3.0.ebuild b/dev-util/gdmd/gdmd-11.3.0.ebuild
new file mode 100644
index 000..0d5b47f
--- /dev/null
+++ b/dev-util/gdmd/gdmd-11.3.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Wrapper script for gdc that emulates the dmd command"
+HOMEPAGE="https://www.gdcproject.org/;
+LICENSE="GPL-3+"
+
+SLOT="${PV}"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 x86"
+RDEPEND="=sys-devel/gcc-${PV}*[d]"
+RELEASE="0.1.0"
+SRC_URI="https://codeload.github.com/D-Programming-GDC/gdmd/tar.gz/script-${RELEASE}
 -> gdmd-${RELEASE}.tar.gz"
+PATCHES="${FILESDIR}/${PN}-no-dmd-conf.patch"
+S="${WORKDIR}/gdmd-script-${RELEASE}"
+
+src_compile() {
+   :
+}
+
+src_install() {
+   local binPath="usr/${CHOST}/gcc-bin/${PV}"
+   exeinto "${binPath}"
+   newexe dmd-script "${CHOST}-gdmd"
+   ln -f "${D}/${binPath}/${CHOST}-gdmd" "${D}/${binPath}/gdmd" || die 
"Could not create 'gdmd' hardlink"
+}

diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 1fa07bf..53eac98 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -55,6 +55,7 @@ dlang-compilers_declare_versions() {
# GDC (hppa, sparc: masked "d" USE-flag)
__dlang_gdc_frontend=(
["11.2.1"]="2.076 amd64 arm arm64 ~ia64 ~m68k ~mips ppc ~ppc64 
~riscv ~s390 x86"
+   ["11.3.0"]="2.076 ~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc 
ppc64 ~riscv ~s390 x86"
)
 
# LDC

diff --git a/profiles/use.desc b/profiles/use.desc
index d4da5ed..20b3a65 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -36,6 +36,7 @@ dmd-2_097 - Build for DMD 2.097
 dmd-2_098 - Build for DMD 2.098
 dmd-2_099 - Build for DMD 2.099
 gdc-11_2_1 - Build for GCC 11.2.1
+gdc-11_3_0 - Build for GCC 11.3.0
 ldc2-1_25 - Build for ldc2 1.25
 ldc2-1_26 - Build for ldc2 1.26
 ldc2-1_27 - Build for ldc2 1.27



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2022-07-23 Thread Marco Leise
commit: 675421df42f5689e496af2b54dd2b20c2804af3a
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Fri Jul 22 11:20:23 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Jul 22 11:20:23 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=675421df

Improve dmd.eclass support for gdc

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 eclass/dlang.eclass | 31 +++
 eclass/dmd.eclass   |  6 --
 2 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/eclass/dlang.eclass b/eclass/dlang.eclass
index 80dea3a..5c86088 100644
--- a/eclass/dlang.eclass
+++ b/eclass/dlang.eclass
@@ -234,6 +234,37 @@ dlang_convert_ldflags() {
fi
 }
 
+# @FUNCTION: dlang_dmdw_dcflags
+# @DESCRIPTION:
+# Convertes compiler specific $DCFLAGS to something that can be passed to the
+# dmd wrapper of said compiler. Calls `die` if the flags could not be
+# converted.
+dlang_dmdw_dcflags() {
+   if [[ "${DLANG_VENDOR}" == "DigitalMars" ]]; then
+   # There's no translation that needs to be done.
+   echo "${DCFLAGS}"
+   elif [[ "${DLANG_VENDOR}" == "LDC" ]]; then
+   # ldmd2 passes all the arguments that it doesn't understand to 
ldc2.
+   echo "${DCFLAGS}"
+   elif [[ "${DLANG_VENDOR}" == "GNU" ]]; then
+   # From `gdmd --help`:   -q,arg1,...pass arg1, arg2, etc. to 
gdc
+   if [[ "${DCFLAGS}" =~ .*,.* ]]; then
+   eerror "DCFLAGS (${DCFLAGS}) contain a comma and can 
not be passed to gdmd."
+   eerror "Please remove the comma, use a different 
compiler, or call gdc directly."
+   die "DCFLAGS contain an unconvertable comma."
+   fi
+
+   local set flags=()
+   for set in ${DCFLAGS}; do
+   flags+=("-q,${set}")
+   done
+   echo "${flags[@]}"
+   else
+   die "Set DLANG_VENDOR to DigitalMars, LDC or GNU prior to 
calling ${FUNCNAME}()."
+   fi
+}
+
+
 # @FUNCTION: dlang_system_imports
 # @DESCRIPTION:
 # Returns a list of standard system import paths (one per line) for the current

diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index 3215f00..55f62e8 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -103,6 +103,8 @@ dmd_src_prepare() {
ln -s ../druntime src/druntime || die "Failed to symlink 'druntime' to 
'src/druntime'"
ln -s ../phobos   src/phobos   || die "Failed to symlink 'phobos' to 
'src/phobos'"
 
+   mkdir dmd/generated || die "Could not create output directory"
+
# Convert line-endings of file-types that start as cr-lf and are 
installed later on
for file in $( find . -name "*.txt" -o -name "*.html" -o -name "*.d" -o 
-name "*.di" -o -name "*.ddoc" -type f ); do
edos2unix $file || die "Failed to convert DOS line-endings to 
Unix."
@@ -153,9 +155,9 @@ dmd_src_compile() {
fi
if dmd_ge 2.094; then
einfo "Building dmd build script..."
-   DC="${DMD}" dlang_compile_bin dmd/generated/build 
dmd/src/build.d
+   dlang_compile_bin dmd/generated/build dmd/src/build.d
einfo "Building dmd..."
-   env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" 
${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build dmd
+   env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" 
${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build DFLAGS="$(dlang_dmdw_dcflags)" 
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}



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/, dev-lang/dmd/, eclass/, dev-lang/ldc2/

2022-07-23 Thread Marco Leise
commit: afcb1ee42c2bd21163a578ca707c123230b5e2b2
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Mon Jul 18 18:23:51 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jul 18 18:23:51 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=afcb1ee4

Stabilization sweep

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/dmd/dmd-2.099.1.ebuild | 2 +-
 dev-lang/ldc2/ldc2-1.29.0.ebuild| 2 +-
 dev-util/dlang-tools/dlang-tools-2.099.1.ebuild | 4 ++--
 eclass/dlang-compilers.eclass   | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-lang/dmd/dmd-2.099.1.ebuild b/dev-lang/dmd/dmd-2.099.1.ebuild
index c63e4fe..a68cc0c 100644
--- a/dev-lang/dmd/dmd-2.099.1.ebuild
+++ b/dev-lang/dmd/dmd-2.099.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 YEAR=2022
 DLANG_VERSION_RANGE="2.076-"
 

diff --git a/dev-lang/ldc2/ldc2-1.29.0.ebuild b/dev-lang/ldc2/ldc2-1.29.0.ebuild
index d5fa6fc..21c3f35 100644
--- a/dev-lang/ldc2/ldc2-1.29.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.29.0.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/${MY_P}
 
 DESCRIPTION="LLVM D Compiler"
 HOMEPAGE="https://github.com/ldc-developers/ldc;
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 LICENSE="BSD"
 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
 

diff --git a/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild
index 73cdfeb..6de79ce 100644
--- a/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 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/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 1fa07bf..bf1090d 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -49,7 +49,7 @@ dlang-compilers_declare_versions() {
["2.096"]="2.096 x86 amd64"
["2.097"]="2.097 ~x86 ~amd64"
["2.098"]="2.098 ~x86 ~amd64"
-   ["2.099"]="2.099 ~x86 ~amd64"
+   ["2.099"]="2.099 x86 amd64"
)
 
# GDC (hppa, sparc: masked "d" USE-flag)
@@ -63,7 +63,7 @@ dlang-compilers_declare_versions() {
["1.26"]="2.096 amd64 ~arm ~arm64 ~ppc64 x86"
["1.27"]="2.097 amd64 ~arm ~arm64 ~ppc64 x86"
["1.28"]="2.098 amd64 ~arm ~arm64 ~ppc64 x86"
-   ["1.29"]="2.099 ~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   ["1.29"]="2.099 amd64 ~arm ~arm64 ~ppc64 x86"
)
 }
 



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/dmd/, eclass/, dev-lang/ldc2/

2022-07-23 Thread Marco Leise
commit: 8e3666dcf022b3120ab61ebcf80ee7db5e281a51
Author: Marco Leise  gmx  de>
AuthorDate: Fri Jul 22 09:07:51 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Jul 23 12:15:22 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=8e3666dc

stabilization sweep additions

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/dmd-2.081.2-r3.ebuild | 4 ++--
 dev-lang/dmd/dmd-2.082.1-r3.ebuild | 4 ++--
 dev-lang/dmd/dmd-2.083.1-r2.ebuild | 4 ++--
 dev-lang/dmd/dmd-2.084.1-r2.ebuild | 2 +-
 dev-lang/dmd/dmd-2.085.1-r2.ebuild | 2 +-
 dev-lang/dmd/dmd-2.086.1-r1.ebuild | 2 +-
 dev-lang/dmd/dmd-2.087.1-r1.ebuild | 2 +-
 dev-lang/dmd/dmd-2.088.1-r1.ebuild | 4 ++--
 dev-lang/dmd/dmd-2.089.1.ebuild| 4 ++--
 dev-lang/dmd/dmd-2.092.1.ebuild| 4 ++--
 dev-lang/dmd/dmd-2.093.1.ebuild| 4 ++--
 dev-lang/dmd/dmd-2.094.2.ebuild| 4 ++--
 dev-lang/dmd/dmd-2.095.1.ebuild| 4 ++--
 dev-lang/dmd/dmd-2.096.1.ebuild| 4 ++--
 dev-lang/dmd/dmd-2.097.2.ebuild| 2 +-
 dev-lang/dmd/dmd-2.098.1.ebuild| 2 +-
 dev-lang/dmd/dmd-2.099.1.ebuild| 2 +-
 dev-lang/ldc2/ldc2-1.29.0.ebuild   | 2 +-
 eclass/dlang-compilers.eclass  | 2 +-
 19 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/dev-lang/dmd/dmd-2.081.2-r3.ebuild 
b/dev-lang/dmd/dmd-2.081.2-r3.ebuild
index 71abcf7..1635594 100644
--- a/dev-lang/dmd/dmd-2.081.2-r3.ebuild
+++ b/dev-lang/dmd/dmd-2.081.2-r3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2018
-DLANG_VERSION_RANGE="2.068-"
+DLANG_VERSION_RANGE="2.068-2.098"
 
 inherit dmd
 

diff --git a/dev-lang/dmd/dmd-2.082.1-r3.ebuild 
b/dev-lang/dmd/dmd-2.082.1-r3.ebuild
index 54f2016..e60d41b 100644
--- a/dev-lang/dmd/dmd-2.082.1-r3.ebuild
+++ b/dev-lang/dmd/dmd-2.082.1-r3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2018
-DLANG_VERSION_RANGE="2.073-"
+DLANG_VERSION_RANGE="2.073-2.098"
 
 inherit dmd
 

diff --git a/dev-lang/dmd/dmd-2.083.1-r2.ebuild 
b/dev-lang/dmd/dmd-2.083.1-r2.ebuild
index bd7da2b..e60d41b 100644
--- a/dev-lang/dmd/dmd-2.083.1-r2.ebuild
+++ b/dev-lang/dmd/dmd-2.083.1-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2018
-DLANG_VERSION_RANGE="2.073-2.091"
+DLANG_VERSION_RANGE="2.073-2.098"
 
 inherit dmd
 

diff --git a/dev-lang/dmd/dmd-2.084.1-r2.ebuild 
b/dev-lang/dmd/dmd-2.084.1-r2.ebuild
index 016308c..8d50ba8 100644
--- a/dev-lang/dmd/dmd-2.084.1-r2.ebuild
+++ b/dev-lang/dmd/dmd-2.084.1-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2019
-DLANG_VERSION_RANGE="2.073-2.091"
+DLANG_VERSION_RANGE="2.073-2.098"
 
 DEPEND='dev-vcs/git'
 

diff --git a/dev-lang/dmd/dmd-2.085.1-r2.ebuild 
b/dev-lang/dmd/dmd-2.085.1-r2.ebuild
index 615db5f..8d50ba8 100644
--- a/dev-lang/dmd/dmd-2.085.1-r2.ebuild
+++ b/dev-lang/dmd/dmd-2.085.1-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2019
-DLANG_VERSION_RANGE="2.073-"
+DLANG_VERSION_RANGE="2.073-2.098"
 
 DEPEND='dev-vcs/git'
 

diff --git a/dev-lang/dmd/dmd-2.086.1-r1.ebuild 
b/dev-lang/dmd/dmd-2.086.1-r1.ebuild
index eb4cf3b..266fd81 100644
--- a/dev-lang/dmd/dmd-2.086.1-r1.ebuild
+++ b/dev-lang/dmd/dmd-2.086.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2019
-DLANG_VERSION_RANGE="2.073-"
+DLANG_VERSION_RANGE="2.075-2.098"
 
 DEPEND='dev-vcs/git'
 

diff --git a/dev-lang/dmd/dmd-2.087.1-r1.ebuild 
b/dev-lang/dmd/dmd-2.087.1-r1.ebuild
index e1046c8..266fd81 100644
--- a/dev-lang/dmd/dmd-2.087.1-r1.ebuild
+++ b/dev-lang/dmd/dmd-2.087.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2019
-DLANG_VERSION_RANGE="2.075-"
+DLANG_VERSION_RANGE="2.075-2.098"
 
 DEPEND='dev-vcs/git'
 

diff --git a/dev-lang/dmd/dmd-2.088.1-r1.ebuild 
b/dev-lang/dmd/dmd-2.088.1-r1.ebuild
index 231b877..539bf2c 100644
--- a/dev-lang/dmd/dmd-2.088.1-r1.ebuild
+++ b/dev-lang/dmd/dmd-2.088.1-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2019
-DLANG_VERSION_RANGE="2.075-2.091"
+DLANG_VERSION_RANGE="2.076-2.091"
 
 inherit dmd
 

diff --git a/dev-lang/dmd/dmd-2.089.1.ebuild b/dev-lang/dmd/dmd-2.089.1.ebuild
index 231b877..539bf2c 100644
--- a/dev-

[gentoo-commits] repo/user/dlang:master commit in: /

2022-07-14 Thread Marco Leise
commit: 20ff0dce45850007ac530acb84645c6ea94ac47d
Author: Marco Leise  gmx  de>
AuthorDate: Fri Jul 15 04:35:56 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Jul 15 04:35:56 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=20ff0dce

Merge branch 'onedrive-versionbump'

Signed-off-by: Marco Leise  gmx.de>

 net-misc/onedrive/Manifest   | 2 +-
 net-misc/onedrive/{onedrive-2.4.16.ebuild => onedrive-2.4.19.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)



[gentoo-commits] repo/user/dlang:master commit in: /

2022-07-14 Thread Marco Leise
commit: d96f1af3e174d311cd91e38968fd2b844b075990
Author: Marco Leise  gmx  de>
AuthorDate: Fri Jul 15 04:21:21 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Jul 15 04:21:21 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=d96f1af3

removed .travis.yml as they dicontinued their free service

Signed-off-by: Marco Leise  gmx.de>

 .travis.yml | 33 -
 1 file changed, 33 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index e3ebb84..000
--- a/.travis.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Run repoman via travis
-# See https://github.com/mrueg/repoman-travis
-#
-language: python
-python:
-- "3.8"
-env:
-- PORTAGE_VER="3.0.13"
-before_install:
-- sudo apt-get -qq update
-- pip install lxml pyyaml
-before_script:
-- sudo chmod a+rwX /etc/passwd /etc/group /etc /var /var/cache
-- mkdir -p travis-overlay /etc/portage /var/cache/distfiles 
/var/db/repos/gentoo
-- mv !(travis-overlay) travis-overlay/
-- mv .git travis-overlay/
-- wget 
"https://raw.githubusercontent.com/mrueg/repoman-travis/master/.travis.yml; -O 
.travis.yml.upstream
-- wget 
"https://raw.githubusercontent.com/mrueg/repoman-travis/master/spinner.sh;
-- wget -qO - 
"https://github.com/gentoo/portage/archive/portage-${PORTAGE_VER}.tar.gz; | tar 
xz
-- wget -qO - 
"https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz; | tar xz -C 
/var/db/repos/gentoo --strip-components=1
-- chmod a+rwx spinner.sh
-- echo "portage:x:250:250:portage:/var/tmp/portage:/bin/false" >> 
/etc/passwd
-- echo "portage::250:portage,travis" >> /etc/group
-- wget "https://www.gentoo.org/dtd/metadata.dtd; -O 
/var/cache/distfiles/metadata.dtd
-- ln -s $TRAVIS_BUILD_DIR/portage-portage-${PORTAGE_VER}/cnf/repos.conf 
/etc/portage/repos.conf
-- ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.0 
/etc/portage/make.profile
-- SIZE=$(stat -c %s .travis.yml.upstream)
-- if ! cmp -n $SIZE -s .travis.yml .travis.yml.upstream; then echo -e 
"\e[31m !!! .travis.yml outdated! Update available 
https://github.com/mrueg/repoman-travis \e[0m" > /tmp/update ; fi
-- cd travis-overlay
-script:
-- ./../spinner.sh "python 
../portage-portage-${PORTAGE_VER}/repoman/bin/repoman full -d"
-# You can append own scripts after this line



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/dmd/

2022-07-14 Thread Marco Leise
commit: 6a8868c75056f896e480f49d70d6fb8defa30dc6
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Sat Apr 23 20:27:44 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Apr 23 20:27:44 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=6a8868c7

Fix git build dependency for some dmd ebuilds

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/dmd/dmd-2.084.1-r2.ebuild | 4 +++-
 dev-lang/dmd/dmd-2.085.1-r2.ebuild | 4 +++-
 dev-lang/dmd/dmd-2.086.1-r1.ebuild | 4 +++-
 dev-lang/dmd/dmd-2.087.1-r1.ebuild | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/dev-lang/dmd/dmd-2.084.1-r2.ebuild 
b/dev-lang/dmd/dmd-2.084.1-r2.ebuild
index 24f13a1..016308c 100644
--- a/dev-lang/dmd/dmd-2.084.1-r2.ebuild
+++ b/dev-lang/dmd/dmd-2.084.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,6 +7,8 @@ KEYWORDS="-* amd64 x86"
 YEAR=2019
 DLANG_VERSION_RANGE="2.073-2.091"
 
+DEPEND='dev-vcs/git'
+
 inherit dmd
 
 PATCHES=(

diff --git a/dev-lang/dmd/dmd-2.085.1-r2.ebuild 
b/dev-lang/dmd/dmd-2.085.1-r2.ebuild
index 8289941..615db5f 100644
--- a/dev-lang/dmd/dmd-2.085.1-r2.ebuild
+++ b/dev-lang/dmd/dmd-2.085.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,6 +7,8 @@ KEYWORDS="-* amd64 x86"
 YEAR=2019
 DLANG_VERSION_RANGE="2.073-"
 
+DEPEND='dev-vcs/git'
+
 inherit dmd
 
 PATCHES=(

diff --git a/dev-lang/dmd/dmd-2.086.1-r1.ebuild 
b/dev-lang/dmd/dmd-2.086.1-r1.ebuild
index 728dce9..eb4cf3b 100644
--- a/dev-lang/dmd/dmd-2.086.1-r1.ebuild
+++ b/dev-lang/dmd/dmd-2.086.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,6 +7,8 @@ KEYWORDS="-* amd64 x86"
 YEAR=2019
 DLANG_VERSION_RANGE="2.073-"
 
+DEPEND='dev-vcs/git'
+
 inherit dmd
 
 PATCHES=(

diff --git a/dev-lang/dmd/dmd-2.087.1-r1.ebuild 
b/dev-lang/dmd/dmd-2.087.1-r1.ebuild
index 11fbc18..e1046c8 100644
--- a/dev-lang/dmd/dmd-2.087.1-r1.ebuild
+++ b/dev-lang/dmd/dmd-2.087.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,6 +7,8 @@ KEYWORDS="-* amd64 x86"
 YEAR=2019
 DLANG_VERSION_RANGE="2.075-"
 
+DEPEND='dev-vcs/git'
+
 inherit dmd
 
 PATCHES=(



[gentoo-commits] repo/user/dlang:master commit in: /

2022-07-14 Thread Marco Leise
commit: f9eb4cb31ed6b36e98a0e3dac44a5afbf688ceed
Author: Marco Leise  gmx  de>
AuthorDate: Fri Jul 15 04:17:53 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Fri Jul 15 04:20:40 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f9eb4cb3

Merge branch 'fix-git-bdependency'

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/dmd-2.084.1-r2.ebuild | 4 +++-
 dev-lang/dmd/dmd-2.085.1-r2.ebuild | 4 +++-
 dev-lang/dmd/dmd-2.086.1-r1.ebuild | 4 +++-
 dev-lang/dmd/dmd-2.087.1-r1.ebuild | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)



[gentoo-commits] repo/user/dlang:master commit in: eclass/, dev-util/dlang-tools/, profiles/, dev-lang/dmd/

2022-07-14 Thread Marco Leise
commit: 683d126c2089cedd0beddb50eda0473ef1babd03
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Mon Jun 20 12:24:56 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jun 20 12:24:56 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=683d126c

dmd-2.098.1

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/dmd/Manifest   |  1 +
 dev-lang/dmd/dmd-2.098.1.ebuild | 14 +++
 dev-util/dlang-tools/Manifest   |  1 +
 dev-util/dlang-tools/dlang-tools-2.098.1.ebuild | 54 +
 eclass/dlang-compilers.eclass   |  1 +
 profiles/use.desc   |  1 +
 6 files changed, 72 insertions(+)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 18578bb..12596ca 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -32,4 +32,5 @@ DIST dmd.2.094.2.linux.tar.xz 22232888 BLAKE2B 
ba3116f3a9fd9516cd1ac792f950d4ba6
 DIST dmd.2.095.1.linux.tar.xz 22602160 BLAKE2B 
874f28ab25b486c68707c4b8723ace3be5507162ce36a6c69550b3202b7deeab448bcc5b72e7492a20f9dd01648ed174506baf7460a26cf572db710e62cbf892
 SHA512 
5bb25551d6e2e9456225d00d9c082db1464e2ebf238f5781abb18daf29d42e62591603b0a044d9f63ddd0407e908f86c370806610d427c5cd7a100f8fbc74cee
 DIST dmd.2.096.1.linux.tar.xz 22825496 BLAKE2B 
2a7973aaa9c713bfd29e783b459c97f6b6a68e2ce5d0674477997236f15b623ce45517c0ff59e33252e69aa3a70862ca0ec5cb7d077a050dddffef26fda02106
 SHA512 
de6d291f0abdd9a504522d0094a8d20beb94f6a8bd2c2b92d90267b5494ccd11f8df436b7c4ecc00d56cea0bdbb09d02376c8453e08c636ca92af38ca8fa0dbe
 DIST dmd.2.097.2.linux.tar.xz 23260840 BLAKE2B 
9f19a396ca468806bde4c4af855f233b259fbb07f4b0172526aca4da1a22e6581f709b3c193d9cce237661d54d9f80932b5b6d3e2d0de650f05185fcd04befaf
 SHA512 
743c3cec56e596941e9e9c5f13e1e9001fd4e447dc2ca5c8e0be825db6dc6465b939dd02fbd1826201a9039f262d667087e6b58a8e3fe82d584aec90988a411c
+DIST dmd.2.098.1.linux.tar.xz 23790368 BLAKE2B 
12edf0e14af17bae1ca728bad47b9858eaf0c94e74b3fdd5158e9e083bad22c4241573ec07163bc70f7f7c2c735635b1d4779425b65401124d1d2200d2a27b02
 SHA512 
7f4838d2c82284c595c6f7cd3919e6c696862e6dc8b84ec6ac76ea06e11d449f6f80e9821fcb3df7184368fc905dbe473b276eb31438a84da0bf220beb1340be
 DIST dmd.2.099.1.linux.tar.xz 21846416 BLAKE2B 
e5c3baa981af46ce980c80c42729a2db99a44d3f8f464a711c299c0d7c2354c6ba8d607b57a7f6d79d7a99793cd727f1f7e9fd33c49517ea5c9783efcda00518
 SHA512 
20fbf33dae8e79d07993ca2b1032e86db40dd21e06dcca2ed3f7cfa8921ba25799e0dc534f989ca535d274f2984f7873a186227854d54c21aadfdd671febc43d

diff --git a/dev-lang/dmd/dmd-2.098.1.ebuild b/dev-lang/dmd/dmd-2.098.1.ebuild
new file mode 100644
index 000..8ba1c00
--- /dev/null
+++ b/dev-lang/dmd/dmd-2.098.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KEYWORDS="-* ~amd64 ~x86"
+YEAR=2021
+DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.098"
+
+inherit dmd
+
+PATCHES=(
+   "${FILESDIR}/2.097-link-32-bit-shared-lib-with-ld.bfd.patch"
+)

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 52c4f3b..50a5a28 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -32,6 +32,7 @@ DIST dlang-tools-2.094.2.tar.gz 118427 BLAKE2B 
a590f5e5490e3f51b55a9bd4018d38ea0
 DIST dlang-tools-2.095.1.tar.gz 129274 BLAKE2B 
fd1fa3615d676f8f6b05892871d1e8786f9bac160eab799b01b7740db59a89cc14ad229125de04d7878935a8c6c5166c0d7711feba3d1096b6e03b73361ae1f4
 SHA512 
176d55bcdc99fc56c236f44c7a32d75dd2ca8a7ea3dc635ebe949f64d1fc4a6f7e4e61c342e94ff0d3431df9cc4c16b73133a40d013774e1d6406b4e51b19567
 DIST dlang-tools-2.096.1.tar.gz 129294 BLAKE2B 
830dc185db7176fef179831214195901c5324cc3ae4ccb7f4b60d1f303b688acf13075bf810874272ccb72ea9b19f02805baccf7ec1cd4ff4c5080264bd8697c
 SHA512 
b25a9180faab99d31cc9a2909d699bbcfb1aa9be0f393f7c691977932d09e84d3b162a385df7318aab41dc2e671f1c38fe746c77654a8042cdbae515b273f5c6
 DIST dlang-tools-2.097.2.tar.gz 129531 BLAKE2B 
ac1ad83e2e0f8fe715acd78eb13a7562533aea1792ec667c14ace3cf9cf4cc88b549d995671061d211b5d6c2137f6e563ec937222e964ca73764512a67b19607
 SHA512 
c4a237acee21db38b0dc22cb51afd893ebf102ff8e190eb52e2e0cee5b85cfa0644e7d4547d950f55044deca8651c261e84a4629ac6958b9a4b4b47343ee38d1
+DIST dlang-tools-2.098.1.tar.gz 129699 BLAKE2B 
b7902b2cdcb6f9bbf6e71356cfdaaf8e3cbd05125818b13b10357226745065034cccf20618307f4a9a57ad5a35f4ba170ce7c184967e8c795546b8030bbe4f26
 SHA512 
a7e96cb38c95d910307c0fefa3840f8315799d4713e6c7ec591bd37863683962aede4359c7114b715a760b438df540dfc42e8da8394b1f4c892384e21fe7575e
 DIST dlang-tools-2.099.1.tar.gz 129867 BLAKE2B 
6f37d08921a1532a7d5875df99e4037fb52a5ac59585bbc98d09d225afd2ce564963cc30f1ebaad093238ca758d7db2a874f9aa357fe23dce6a9a6c9ebcb6d21
 SHA512 
68cde8853bac2f3c92a2fbbe3f658e29b475bea2aeb5f5ffb96f2b3e85aca693b1d14c8fa248bad882461e55957c1de5cba9ac7a02b3a28be070e4869b6a417

[gentoo-commits] repo/user/dlang:master commit in: dev-lang/dmd/, profiles/, eclass/, dev-util/dlang-tools/

2022-07-14 Thread Marco Leise
commit: fb39d921c8133052dfef15757aa4d5a2be93c433
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Mon Jun 20 08:49:08 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jun 20 11:27:00 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=fb39d921

dmd-2.097.2

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/dmd/Manifest   |  1 +
 dev-lang/dmd/dmd-2.097.2.ebuild | 14 +++
 dev-util/dlang-tools/Manifest   |  1 +
 dev-util/dlang-tools/dlang-tools-2.097.2.ebuild | 54 +
 eclass/dlang-compilers.eclass   |  1 +
 profiles/use.desc   |  1 +
 6 files changed, 72 insertions(+)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 171aecb..18578bb 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -31,4 +31,5 @@ DIST dmd.2.093.1.linux.tar.xz 24506488 BLAKE2B 
101edbe659ddb3ce6ed0d66762a0d476d
 DIST dmd.2.094.2.linux.tar.xz 22232888 BLAKE2B 
ba3116f3a9fd9516cd1ac792f950d4ba6c27a51631e2f48698f92506daa77b0cb45e238292b0200a85def5013e5272a9d2725f74b85e5cbe1cfabf8fcdb568eb
 SHA512 
a880928aeb6f16dc1dea7ac406cca2f8dfa75030725e5cefc9a48c1cc3e5c884800367efc293d7f9eaceb3c6c6cae2e3baea781786ccb438231c0734267ad0f0
 DIST dmd.2.095.1.linux.tar.xz 22602160 BLAKE2B 
874f28ab25b486c68707c4b8723ace3be5507162ce36a6c69550b3202b7deeab448bcc5b72e7492a20f9dd01648ed174506baf7460a26cf572db710e62cbf892
 SHA512 
5bb25551d6e2e9456225d00d9c082db1464e2ebf238f5781abb18daf29d42e62591603b0a044d9f63ddd0407e908f86c370806610d427c5cd7a100f8fbc74cee
 DIST dmd.2.096.1.linux.tar.xz 22825496 BLAKE2B 
2a7973aaa9c713bfd29e783b459c97f6b6a68e2ce5d0674477997236f15b623ce45517c0ff59e33252e69aa3a70862ca0ec5cb7d077a050dddffef26fda02106
 SHA512 
de6d291f0abdd9a504522d0094a8d20beb94f6a8bd2c2b92d90267b5494ccd11f8df436b7c4ecc00d56cea0bdbb09d02376c8453e08c636ca92af38ca8fa0dbe
+DIST dmd.2.097.2.linux.tar.xz 23260840 BLAKE2B 
9f19a396ca468806bde4c4af855f233b259fbb07f4b0172526aca4da1a22e6581f709b3c193d9cce237661d54d9f80932b5b6d3e2d0de650f05185fcd04befaf
 SHA512 
743c3cec56e596941e9e9c5f13e1e9001fd4e447dc2ca5c8e0be825db6dc6465b939dd02fbd1826201a9039f262d667087e6b58a8e3fe82d584aec90988a411c
 DIST dmd.2.099.1.linux.tar.xz 21846416 BLAKE2B 
e5c3baa981af46ce980c80c42729a2db99a44d3f8f464a711c299c0d7c2354c6ba8d607b57a7f6d79d7a99793cd727f1f7e9fd33c49517ea5c9783efcda00518
 SHA512 
20fbf33dae8e79d07993ca2b1032e86db40dd21e06dcca2ed3f7cfa8921ba25799e0dc534f989ca535d274f2984f7873a186227854d54c21aadfdd671febc43d

diff --git a/dev-lang/dmd/dmd-2.097.2.ebuild b/dev-lang/dmd/dmd-2.097.2.ebuild
new file mode 100644
index 000..8ba1c00
--- /dev/null
+++ b/dev-lang/dmd/dmd-2.097.2.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KEYWORDS="-* ~amd64 ~x86"
+YEAR=2021
+DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.098"
+
+inherit dmd
+
+PATCHES=(
+   "${FILESDIR}/2.097-link-32-bit-shared-lib-with-ld.bfd.patch"
+)

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 248f5d9..52c4f3b 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -31,6 +31,7 @@ DIST dlang-tools-2.093.1.tar.gz 118852 BLAKE2B 
d797d8eb5de2e8a8a404b0b77cff3fb88
 DIST dlang-tools-2.094.2.tar.gz 118427 BLAKE2B 
a590f5e5490e3f51b55a9bd4018d38ea0ee84865af52869666ca9afbec1041ce4463dab707997b1d927a0c6284cbf82f248999582ea4c0fbc72fa7fffc4df1c4
 SHA512 
8fc9d95e77317afd0c73c8e2b85b01175d4d3494116ec6550f8c9d99d5ecfde9e8e4ff1aa8eb7477e4974faf6b66fb0dbc32bcb7d2facf7cec6cfadd8ea9ad81
 DIST dlang-tools-2.095.1.tar.gz 129274 BLAKE2B 
fd1fa3615d676f8f6b05892871d1e8786f9bac160eab799b01b7740db59a89cc14ad229125de04d7878935a8c6c5166c0d7711feba3d1096b6e03b73361ae1f4
 SHA512 
176d55bcdc99fc56c236f44c7a32d75dd2ca8a7ea3dc635ebe949f64d1fc4a6f7e4e61c342e94ff0d3431df9cc4c16b73133a40d013774e1d6406b4e51b19567
 DIST dlang-tools-2.096.1.tar.gz 129294 BLAKE2B 
830dc185db7176fef179831214195901c5324cc3ae4ccb7f4b60d1f303b688acf13075bf810874272ccb72ea9b19f02805baccf7ec1cd4ff4c5080264bd8697c
 SHA512 
b25a9180faab99d31cc9a2909d699bbcfb1aa9be0f393f7c691977932d09e84d3b162a385df7318aab41dc2e671f1c38fe746c77654a8042cdbae515b273f5c6
+DIST dlang-tools-2.097.2.tar.gz 129531 BLAKE2B 
ac1ad83e2e0f8fe715acd78eb13a7562533aea1792ec667c14ace3cf9cf4cc88b549d995671061d211b5d6c2137f6e563ec937222e964ca73764512a67b19607
 SHA512 
c4a237acee21db38b0dc22cb51afd893ebf102ff8e190eb52e2e0cee5b85cfa0644e7d4547d950f55044deca8651c261e84a4629ac6958b9a4b4b47343ee38d1
 DIST dlang-tools-2.099.1.tar.gz 129867 BLAKE2B 
6f37d08921a1532a7d5875df99e4037fb52a5ac59585bbc98d09d225afd2ce564963cc30f1ebaad093238ca758d7db2a874f9aa357fe23dce6a9a6c9ebcb6d21
 SHA512 
68cde8853bac2f3c92a2fbbe3f658e29b475bea2aeb5f5ffb96f2b3e85aca693b1d14c8fa248bad882461e55957c1de5cba9ac7a02b3a28be070e4869b6a417

[gentoo-commits] repo/user/dlang:master commit in: profiles/, dev-lang/ldc2/, eclass/

2022-05-10 Thread Marco Leise
commit: 9106a34616e9df65e25ff7b16fa379a086b7d05b
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Tue May 10 17:30:26 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Tue May 10 17:30:26 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=9106a346

ldc2-1.29.0

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/ldc2/Manifest   |  1 +
 dev-lang/ldc2/ldc2-1.29.0.ebuild | 83 
 eclass/dlang-compilers.eclass|  1 +
 profiles/use.desc|  1 +
 4 files changed, 86 insertions(+)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index d54c201..bd2a3ec 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -2,3 +2,4 @@ DIST ldc-1.25.1-src.tar.gz 7625687 BLAKE2B 
02eacb06c334608d4b649d8fdffdef03cd164
 DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f856530ca7e6948c795ec5f943e4be32513b4a956aa9217df4acd45806bc81ff855ebab757aa3f6a1943fa7c394b3e3ce
 SHA512 
7bb2aa464f5ba834c07f67743f4af01db6588d56611d6c9e250a6908ebe93a0dcd9d3a79f8f252fc92eeb4826bfa62de6c51c4db03ff80e60a8d993e4451f573
 DIST ldc-1.27.1-src.tar.gz 7742031 BLAKE2B 
d459d70e6745930aca1293cf17ec186526393ce3ff3888c0aad3781f215ed53d6a44a08e3a1bc69e91ba0b039c443e277a0b526e7054e18445e074be1de12e87
 SHA512 
d10118c9c52a26510f3f9d8d93b38f89144aca7b861ef663e807df0bcf1bb3bc12d1410e6617891e58a3f2cfe160e31bb8478bb1f39f79d026c97ce7e72a9f65
 DIST ldc-1.28.1-src.tar.gz 7937120 BLAKE2B 
fae97676064506989883c03f628685bc8ddd3bb3cd1f41afef9a34bba83c9d803a6cff186145a26e8605479b18b7a7661bb14a950f5891ab27b195f045a219a9
 SHA512 
3ec4c754873db4c00fb2e45ec42a3641f46ed6a7d882c0a00edb9ee8a5686fad7c43e45068b7a216b2df89395860ccfc700a7f3efea38c2d3d0ac3b90dd5d3a1
+DIST ldc-1.29.0-src.tar.gz 8080420 BLAKE2B 
37890b283f8097e6d845d6d849b9c04e64bdca5654f483bd83e0d387f0bc4d1cacdef023ccab67dd140a57615e0e7ba9f92acffb18f49211ca130a503f8307e8
 SHA512 
f8a1e23150b84ef31d3616b9be8ca4c1a64df2b3f26fbedb1119a7d2d3dacad10cd86b6b9bf79728c8c725213f8f7ae88acdeb7a0d9e2f3f5068857f97c39a7e

diff --git a/dev-lang/ldc2/ldc2-1.29.0.ebuild b/dev-lang/ldc2/ldc2-1.29.0.ebuild
new file mode 100644
index 000..d5fa6fc
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.29.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 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 6.0 through 14.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:12
+   sys-devel/llvm:13
+   sys-devel/llvm:14
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=14
+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.075-"
+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_compile()
+{
+   cmake_src_compile
+}
+
+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/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 23000ce..2e1ac16 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -61,6 +61,7 @@ dlang-compilers_declare_versions() {
["1.26"]="2.096 amd64 ~arm ~arm64 ~ppc64 x86&

[gentoo-commits] repo/user/dlang:master commit in: dev-lang/dmd/files/, eclass/, dev-lang/dmd/, profiles/, dev-util/dlang-tools/

2022-05-10 Thread Marco Leise
commit: 5c52b7f4cfc511b80319711f9f70f841ed85639f
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Tue May 10 17:17:19 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Tue May 10 17:17:19 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=5c52b7f4

dmd-2.099.1

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/dmd/Manifest  |  1 +
 dev-lang/dmd/dmd-2.099.1.ebuild| 14 ++
 .../2.097-link-32-bit-shared-lib-with-ld.bfd.patch | 11 +
 dev-util/dlang-tools/Manifest  |  1 +
 dev-util/dlang-tools/dlang-tools-2.099.1.ebuild| 54 ++
 eclass/dlang-compilers.eclass  |  1 +
 profiles/use.desc  |  1 +
 7 files changed, 83 insertions(+)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 7e1917d..171aecb 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -31,3 +31,4 @@ DIST dmd.2.093.1.linux.tar.xz 24506488 BLAKE2B 
101edbe659ddb3ce6ed0d66762a0d476d
 DIST dmd.2.094.2.linux.tar.xz 22232888 BLAKE2B 
ba3116f3a9fd9516cd1ac792f950d4ba6c27a51631e2f48698f92506daa77b0cb45e238292b0200a85def5013e5272a9d2725f74b85e5cbe1cfabf8fcdb568eb
 SHA512 
a880928aeb6f16dc1dea7ac406cca2f8dfa75030725e5cefc9a48c1cc3e5c884800367efc293d7f9eaceb3c6c6cae2e3baea781786ccb438231c0734267ad0f0
 DIST dmd.2.095.1.linux.tar.xz 22602160 BLAKE2B 
874f28ab25b486c68707c4b8723ace3be5507162ce36a6c69550b3202b7deeab448bcc5b72e7492a20f9dd01648ed174506baf7460a26cf572db710e62cbf892
 SHA512 
5bb25551d6e2e9456225d00d9c082db1464e2ebf238f5781abb18daf29d42e62591603b0a044d9f63ddd0407e908f86c370806610d427c5cd7a100f8fbc74cee
 DIST dmd.2.096.1.linux.tar.xz 22825496 BLAKE2B 
2a7973aaa9c713bfd29e783b459c97f6b6a68e2ce5d0674477997236f15b623ce45517c0ff59e33252e69aa3a70862ca0ec5cb7d077a050dddffef26fda02106
 SHA512 
de6d291f0abdd9a504522d0094a8d20beb94f6a8bd2c2b92d90267b5494ccd11f8df436b7c4ecc00d56cea0bdbb09d02376c8453e08c636ca92af38ca8fa0dbe
+DIST dmd.2.099.1.linux.tar.xz 21846416 BLAKE2B 
e5c3baa981af46ce980c80c42729a2db99a44d3f8f464a711c299c0d7c2354c6ba8d607b57a7f6d79d7a99793cd727f1f7e9fd33c49517ea5c9783efcda00518
 SHA512 
20fbf33dae8e79d07993ca2b1032e86db40dd21e06dcca2ed3f7cfa8921ba25799e0dc534f989ca535d274f2984f7873a186227854d54c21aadfdd671febc43d

diff --git a/dev-lang/dmd/dmd-2.099.1.ebuild b/dev-lang/dmd/dmd-2.099.1.ebuild
new file mode 100644
index 000..c63e4fe
--- /dev/null
+++ b/dev-lang/dmd/dmd-2.099.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KEYWORDS="-* ~amd64 ~x86"
+YEAR=2022
+DLANG_VERSION_RANGE="2.076-"
+
+inherit dmd
+
+PATCHES=(
+   "${FILESDIR}/2.097-link-32-bit-shared-lib-with-ld.bfd.patch"
+)

diff --git a/dev-lang/dmd/files/2.097-link-32-bit-shared-lib-with-ld.bfd.patch 
b/dev-lang/dmd/files/2.097-link-32-bit-shared-lib-with-ld.bfd.patch
new file mode 100644
index 000..a68fe1f
--- /dev/null
+++ b/dev-lang/dmd/files/2.097-link-32-bit-shared-lib-with-ld.bfd.patch
@@ -0,0 +1,11 @@
+--- dmd2/dmd/src/dmd/link.d
 dmd2/dmd/src/dmd/link.d
+@@ -446,6 +446,8 @@ else version (Posix)
+ {
+ if (global.params.dll)
+ argv.push("-shared");
++if (!target.is64bit)
++argv.push("-fuse-ld=bfd");
+ }
+ // None of that a.out stuff. Use explicit exe file name, or
+ // generate one from name of first source file.

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 7d28a64..248f5d9 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -31,6 +31,7 @@ DIST dlang-tools-2.093.1.tar.gz 118852 BLAKE2B 
d797d8eb5de2e8a8a404b0b77cff3fb88
 DIST dlang-tools-2.094.2.tar.gz 118427 BLAKE2B 
a590f5e5490e3f51b55a9bd4018d38ea0ee84865af52869666ca9afbec1041ce4463dab707997b1d927a0c6284cbf82f248999582ea4c0fbc72fa7fffc4df1c4
 SHA512 
8fc9d95e77317afd0c73c8e2b85b01175d4d3494116ec6550f8c9d99d5ecfde9e8e4ff1aa8eb7477e4974faf6b66fb0dbc32bcb7d2facf7cec6cfadd8ea9ad81
 DIST dlang-tools-2.095.1.tar.gz 129274 BLAKE2B 
fd1fa3615d676f8f6b05892871d1e8786f9bac160eab799b01b7740db59a89cc14ad229125de04d7878935a8c6c5166c0d7711feba3d1096b6e03b73361ae1f4
 SHA512 
176d55bcdc99fc56c236f44c7a32d75dd2ca8a7ea3dc635ebe949f64d1fc4a6f7e4e61c342e94ff0d3431df9cc4c16b73133a40d013774e1d6406b4e51b19567
 DIST dlang-tools-2.096.1.tar.gz 129294 BLAKE2B 
830dc185db7176fef179831214195901c5324cc3ae4ccb7f4b60d1f303b688acf13075bf810874272ccb72ea9b19f02805baccf7ec1cd4ff4c5080264bd8697c
 SHA512 
b25a9180faab99d31cc9a2909d699bbcfb1aa9be0f393f7c691977932d09e84d3b162a385df7318aab41dc2e671f1c38fe746c77654a8042cdbae515b273f5c6
+DIST dlang-tools-2.099.1.tar.gz 129867 BLAKE2B 
6f37d08921a1532a7d5875df99e4037fb52a5ac59585bbc98d09d225afd2ce564963cc30f1eba

[gentoo-commits] repo/user/dlang:master commit in: x11-terms/tilix/

2022-05-10 Thread Marco Leise
commit: 0cebb2492b814a2561928a6f9a74f98e38a221b4
Author: Alexandre Fournier <155827+AlexandreFournier  users  
noreply  github  com>
AuthorDate: Mon May  9 14:34:57 2022 +
Commit: Marco Leise  gmx  de>
CommitDate: Tue May 10 12:47:37 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=0cebb249

Fixes gentoo/dlang#96

x11-terms/tilix: use autoconf:1.16

Signed-off-by: Alexandre Fournier  alexandrefournier.com>

 x11-terms/tilix/{tilix-1.9.3-r1.ebuild => tilix-1.9.3-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-terms/tilix/tilix-1.9.3-r1.ebuild 
b/x11-terms/tilix/tilix-1.9.3-r2.ebuild
similarity index 97%
rename from x11-terms/tilix/tilix-1.9.3-r1.ebuild
rename to x11-terms/tilix/tilix-1.9.3-r2.ebuild
index 6009c81..74a3175 100644
--- a/x11-terms/tilix/tilix-1.9.3-r1.ebuild
+++ b/x11-terms/tilix/tilix-1.9.3-r2.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
>=dev-libs/gtkd-3.8.5:3[vte,${DLANG_COMPILER_USE}]
x11-libs/vte:2.91[crypt?]"
 DEPEND="
-   sys-devel/automake:1.15
+   sys-devel/automake:1.16
>=sys-devel/autoconf-2.69
app-text/po4a
${RDEPEND}"



[gentoo-commits] repo/user/dlang:master commit in: /

2022-05-10 Thread Marco Leise
commit: 085edb812b00bb2b90a33a90fc81309c0f8bcee6
Author: Marco Leise  gmx  de>
AuthorDate: Tue May 10 12:51:21 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Tue May 10 12:51:41 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=085edb81

Merge branch 'AlexandreFournier'

Signed-off-by: Marco Leise  gmx.de>

 x11-terms/tilix/{tilix-1.9.3-r1.ebuild => tilix-1.9.3-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[gentoo-commits] repo/user/dlang:master commit in: /

2022-05-10 Thread Marco Leise
commit: 8983c7fa48b492bf98c4a9b8162278470587f6ba
Author: Marco Leise  gmx  de>
AuthorDate: Tue May 10 10:04:24 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Tue May 10 10:04:24 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=8983c7fa

Added link to Gentoo documentation on --signoff policy to README.md

Signed-off-by: Marco Leise  gmx.de>

 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 1a6a6d1..0bce9ef 100644
--- a/README.md
+++ b/README.md
@@ -78,7 +78,7 @@ Import files from libraries are placed in 
`/usr/include/dlang//` matchi
 ## Contributing
 If you want to maintain a package or generally help update the repository or 
have a suggestion, just drop me a [note](mailto:marco.le...@gmx.de). If things 
move too slowly, I can add you to the team with commit rights. That's better 
than maintaining your own fork and having people search for updates in multiple 
places. Should this repository appear abandoned at some point and no one can be 
reached, please contact the [Gentoo GitHub org](https://github.com/gentoo) that 
has ownership of it.
 
-For pull requests please add `--signoff` to your commits. Otherwise they 
cannot be pushed to Gentoo's Git repository.
+For pull requests please add `--signoff` to your commits. Otherwise they 
cannot be pushed to Gentoo's Git repository. See: 
https://www.gentoo.org/glep/glep-0076.html#certificate-of-origin
 
 ### When adding new compiler versions
 At first there is not much to be done, but once the first arch is stable, it 
should be added as a compiler option for Dlang packages, by providing a 
description for its USE-flag in `profile/use.desc` and tying it into 
`eclass/dlang-compilers.eclass`. This way it knows which compiler release is 
based on which version of the D language specification, which is crucial for 
dependency management.



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/dmd/files/, dev-lang/dmd/, eclass/

2022-05-09 Thread Marco Leise
commit: c6c1877b559f0a3a5e7fddbd2b292632d0c77b5b
Author: Horodniceanu Andrei  protonmail  com>
AuthorDate: Sun Apr 24 16:31:16 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sun Apr 24 16:31:16 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c6c1877b

Remove dmd-2.063

Signed-off-by: Horodniceanu Andrei  protonmail.com>

 dev-lang/dmd/Manifest   |  1 -
 dev-lang/dmd/dmd-2.063.2-r6.ebuild  | 19 ---
 dev-lang/dmd/files/2.063-no-narrowing.patch | 12 
 eclass/dlang-compilers.eclass   |  1 -
 4 files changed, 33 deletions(-)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 7f3af99..7e1917d 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -1,4 +1,3 @@
-DIST dmd.2.063.2.zip 33144090 BLAKE2B 
16a5a326950b3aaa249786e316a5f24f2b87b4bc7b8e36aa35378e83e166c2d6fcdf9c54d052587428cf1a1a5332bcf0991df226f9059c81638050f5b6df1a9c
 SHA512 
8b7a0b308a92e7adbccb05a7e2ec87e287f66ba42e9f856e19aae78127b13c50bad5cb56dd79f49d3237248fd3fe0f430bdef012dda1f38ab875a664c43308ae
 DIST dmd.2.064.2.zip 33349115 BLAKE2B 
0f6a187cd7005f11c8f8be782e5e74326b5d8b2ece53b650b02544834e38205524609067f451301f84993b735d7adf6b0dfe52e0750f2de1e7b8db68324d07f7
 SHA512 
4ec199c86c717273cf7c3c256ce56bc7144a453d3030a62de2c7e435e52ee5d2414c7bd9bb7c643b4734897e9621a31dff7b7fe3742f5b5785cb1e5eafb1bede
 DIST dmd.2.065.0.linux.zip 22231025 BLAKE2B 
fc897bac46ac5cba0b93488723892e480b6b391d347b4b499c2275d17b0e638ad04daabb29c813b92f807e7dda02dc42ef5b9917d52c69e2042ae4d0b53ab0eb
 SHA512 
f351de772fff7d14fbd269701c557d2fc889ba0cc85c3b57f62fa6dc86295d1a151ad1d0b8928d9dc775251672933bff7d70fb22b4da732fae90f8840ec0571d
 DIST dmd.2.066.1.linux.zip 23238330 BLAKE2B 
89e9710e0988a3ab5d7ddd1cf614050df02cb89b22d5d15e904a83e4c79c8ca357e090cc15b755175bfd632807203ed8c602aeb0dd1238f5b4891fdd09ca50ff
 SHA512 
2baeaeba99b02dd286c550056716c74e5e83f3da03aa1be2632cc63e47716d96610ce40828e3f548a6be300566a09974c8e1c1b2de9c39f38fd862f4ec4f4a76

diff --git a/dev-lang/dmd/dmd-2.063.2-r6.ebuild 
b/dev-lang/dmd/dmd-2.063.2-r6.ebuild
deleted file mode 100644
index 939e3c2..000
--- a/dev-lang/dmd/dmd-2.063.2-r6.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-KEYWORDS="-* amd64 x86"
-YEAR=2013
-ARCHIVE="zip"
-SONAME="libphobos2.so.0.2.0"
-
-inherit dmd eutils
-
-PATCHES=( "${FILESDIR}/2.063-no-narrowing.patch" 
"${FILESDIR}/2.063-replace-bits-mathdef-h.patch" 
"${FILESDIR}/2.073-fix-segv-in-evalu8.patch" )
-
-dmd_src_prepare_extra() {
-   # Move dmd.conf man page into correct slot.
-   mkdir man/man5 || die "Failed to create man/man5."
-   mv man/man1/dmd.conf.5 man/man5/dmd.conf.5 || die "Failed to move 
man/man1/dmd.conf.5."
-}

diff --git a/dev-lang/dmd/files/2.063-no-narrowing.patch 
b/dev-lang/dmd/files/2.063-no-narrowing.patch
deleted file mode 100644
index 4fca27d..000
--- a/dev-lang/dmd/files/2.063-no-narrowing.patch
+++ /dev/null
@@ -1,12 +0,0 @@
 dmd2/dmd/src/posix.mak
-+++ dmd2/dmd/src/posix.mak
-@@ -69,6 +69,9 @@ endif
-
- CFLAGS = $(GFLAGS) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 
-DDM_TARGET_CPU_$(TARGET_CPU)=1
- MFLAGS = $(GFLAGS) -I$C -I$(TK) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 
-DDM_TARGET_CPU_$(TARGET_CPU)=1
-+ifeq ($(findstring g++,$(HOST_CC)), g++)
-+MFLAGS := $(MFLAGS) -std=gnu++98
-+endif
-
- CH= $C/cc.h $C/global.h $C/oper.h $C/code.h $C/type.h \
-   $C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH)

diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index ecf17a9..0b8dfd9 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -14,7 +14,6 @@ dlang-compilers_declare_versions() {
 
# DMD
__dlang_dmd_frontend=(
-   ["2.063"]="2.063 x86 amd64"
["2.064"]="2.064 x86 amd64"
["2.065"]="2.065 x86 amd64"
["2.066"]="2.066 x86 amd64"



[gentoo-commits] repo/user/dlang:master commit in: /

2022-05-09 Thread Marco Leise
commit: 2fe41acf94ca20b93a386c0a1425f04b2bb57793
Author: Marco Leise  gmx  de>
AuthorDate: Mon May  9 23:46:48 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon May  9 23:47:29 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=2fe41acf

Merge branch 'remove-dmd-2.063'

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest   |  1 -
 dev-lang/dmd/dmd-2.063.2-r6.ebuild  | 19 ---
 dev-lang/dmd/files/2.063-no-narrowing.patch | 12 
 eclass/dlang-compilers.eclass   |  1 -
 4 files changed, 33 deletions(-)



[gentoo-commits] repo/user/dlang:master commit in: /

2022-05-09 Thread Marco Leise
commit: 14dbb69d0fe9d9ae3dba747ac8400399f0b4cac1
Author: Marco Leise  gmx  de>
AuthorDate: Mon May  9 23:15:56 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon May  9 23:15:56 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=14dbb69d

Added note about --signoff to the README.md

Signed-off-by: Marco Leise  gmx.de>

 README.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/README.md b/README.md
index 557398c..1a6a6d1 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,9 @@ Import files from libraries are placed in 
`/usr/include/dlang//` matchi
 
 ## Contributing
 If you want to maintain a package or generally help update the repository or 
have a suggestion, just drop me a [note](mailto:marco.le...@gmx.de). If things 
move too slowly, I can add you to the team with commit rights. That's better 
than maintaining your own fork and having people search for updates in multiple 
places. Should this repository appear abandoned at some point and no one can be 
reached, please contact the [Gentoo GitHub org](https://github.com/gentoo) that 
has ownership of it.
+
+For pull requests please add `--signoff` to your commits. Otherwise they 
cannot be pushed to Gentoo's Git repository.
+
 ### When adding new compiler versions
 At first there is not much to be done, but once the first arch is stable, it 
should be added as a compiler option for Dlang packages, by providing a 
description for its USE-flag in `profile/use.desc` and tying it into 
`eclass/dlang-compilers.eclass`. This way it knows which compiler release is 
based on which version of the D language specification, which is crucial for 
dependency management.
 ### When changing paths in compiler ebuilds



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2022-03-24 Thread Marco Leise
commit: 2b05087d0516fbca1acf0144a8451627623eff08
Author: Niko Böckerman  protonmail  com>
AuthorDate: Thu Mar 17 15:54:44 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Wed Mar 23 19:48:39 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=2b05087d

ldc2-1.28.1

Signed-off-by: Niko Böckerman  protonmail.com>

 dev-lang/ldc2/Manifest   |  1 +
 dev-lang/ldc2/ldc2-1.28.1.ebuild | 82 
 2 files changed, 83 insertions(+)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index 2b27d45..eef4a5e 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -2,3 +2,4 @@ DIST ldc-1.25.1-src.tar.gz 7625687 BLAKE2B 
02eacb06c334608d4b649d8fdffdef03cd164
 DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f856530ca7e6948c795ec5f943e4be32513b4a956aa9217df4acd45806bc81ff855ebab757aa3f6a1943fa7c394b3e3ce
 SHA512 
7bb2aa464f5ba834c07f67743f4af01db6588d56611d6c9e250a6908ebe93a0dcd9d3a79f8f252fc92eeb4826bfa62de6c51c4db03ff80e60a8d993e4451f573
 DIST ldc-1.27.1-src.tar.gz 7742031 BLAKE2B 
d459d70e6745930aca1293cf17ec186526393ce3ff3888c0aad3781f215ed53d6a44a08e3a1bc69e91ba0b039c443e277a0b526e7054e18445e074be1de12e87
 SHA512 
d10118c9c52a26510f3f9d8d93b38f89144aca7b861ef663e807df0bcf1bb3bc12d1410e6617891e58a3f2cfe160e31bb8478bb1f39f79d026c97ce7e72a9f65
 DIST ldc-1.28.0-src.tar.gz 7923347 BLAKE2B 
5381eab19ad66bfa91e27ed9085b11e6a7e202704dcd8ea6141d16fc8580c464c88fba895e1248568781059bf77c396c56e0669ca36125df948e32eaef98c9bd
 SHA512 
3e566282175d65eb075c9c076bcf0475658c747238ed91efd350a7834d6d54760310ac5249fb74db3812c07058efbca8d726427ef39055d77b3f9a6940bf4188
+DIST ldc-1.28.1-src.tar.gz 7937120 BLAKE2B 
fae97676064506989883c03f628685bc8ddd3bb3cd1f41afef9a34bba83c9d803a6cff186145a26e8605479b18b7a7661bb14a950f5891ab27b195f045a219a9
 SHA512 
3ec4c754873db4c00fb2e45ec42a3641f46ed6a7d882c0a00edb9ee8a5686fad7c43e45068b7a216b2df89395860ccfc700a7f3efea38c2d3d0ac3b90dd5d3a1

diff --git a/dev-lang/ldc2/ldc2-1.28.1.ebuild b/dev-lang/ldc2/ldc2-1.28.1.ebuild
new file mode 100644
index 000..fa6bdb2
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.28.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2022 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 6.0 through 10.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:11
+   sys-devel/llvm:12
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=12
+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.075-"
+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_compile()
+{
+   cmake_src_compile
+}
+
+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
+}



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2022-03-24 Thread Marco Leise
commit: e9ae75b70e14a2ec5ef17929e5d913c169afb255
Author: Niko Böckerman  protonmail  com>
AuthorDate: Thu Mar 17 15:55:22 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Wed Mar 23 19:48:23 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e9ae75b7

Remove ldc2-1.24.0 source tarball from Manifest

Signed-off-by: Niko Böckerman  protonmail.com>

 dev-lang/ldc2/Manifest | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index a8f2072..2b27d45 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -1,4 +1,3 @@
-DIST ldc-1.24.0-src.tar.gz 7522065 BLAKE2B 
65069835528466c4a39ebf08245fa7fcc9348ee620bab933d23157af0702c0ac4f5b3c1692b1eff83ba81ba2b8be6f086935527585c55e1ecb4ea42f965befe6
 SHA512 
c6f06d80617e5f7789f9e0e349a21e380d0bb6898983f0c2e2aaaec32e23ea0f69c039b6f0c03b8015782b837c890a6ff1051bfa332a6af7c79fc3479446dfb1
 DIST ldc-1.25.1-src.tar.gz 7625687 BLAKE2B 
02eacb06c334608d4b649d8fdffdef03cd1645a2d237063c888728c840a8c939df1c1ff9aefe3efab395358a7757dd287d1efa7a704b37f0b2661c8c1b5faaca
 SHA512 
a087f48ec8f559eea17f88f9c00893c84db17bfcb10590011f43d6d1573a30286067207133ad6d249897fe51cb22829c2ddf00bf23210f01aa059b1f87790fae
 DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f856530ca7e6948c795ec5f943e4be32513b4a956aa9217df4acd45806bc81ff855ebab757aa3f6a1943fa7c394b3e3ce
 SHA512 
7bb2aa464f5ba834c07f67743f4af01db6588d56611d6c9e250a6908ebe93a0dcd9d3a79f8f252fc92eeb4826bfa62de6c51c4db03ff80e60a8d993e4451f573
 DIST ldc-1.27.1-src.tar.gz 7742031 BLAKE2B 
d459d70e6745930aca1293cf17ec186526393ce3ff3888c0aad3781f215ed53d6a44a08e3a1bc69e91ba0b039c443e277a0b526e7054e18445e074be1de12e87
 SHA512 
d10118c9c52a26510f3f9d8d93b38f89144aca7b861ef663e807df0bcf1bb3bc12d1410e6617891e58a3f2cfe160e31bb8478bb1f39f79d026c97ce7e72a9f65



[gentoo-commits] repo/user/dlang:master commit in: eclass/, profiles/, dev-lang/ldc2/

2022-02-08 Thread Marco Leise
commit: 3d8947b7b7dbbd4687300c8c0834571089042c85
Author: Niko Böckerman  protonmail  com>
AuthorDate: Thu Feb  3 20:54:45 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Feb  7 18:24:58 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=3d8947b7

ldc2-1.27.1

Signed-off-by: Niko Böckerman  protonmail.com>

 dev-lang/ldc2/Manifest   |  1 +
 dev-lang/ldc2/ldc2-1.27.1.ebuild | 82 
 eclass/dlang-compilers.eclass|  1 +
 profiles/use.desc|  1 +
 4 files changed, 85 insertions(+)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index 4767a40..d087c64 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -1,3 +1,4 @@
 DIST ldc-1.24.0-src.tar.gz 7522065 BLAKE2B 
65069835528466c4a39ebf08245fa7fcc9348ee620bab933d23157af0702c0ac4f5b3c1692b1eff83ba81ba2b8be6f086935527585c55e1ecb4ea42f965befe6
 SHA512 
c6f06d80617e5f7789f9e0e349a21e380d0bb6898983f0c2e2aaaec32e23ea0f69c039b6f0c03b8015782b837c890a6ff1051bfa332a6af7c79fc3479446dfb1
 DIST ldc-1.25.1-src.tar.gz 7625687 BLAKE2B 
02eacb06c334608d4b649d8fdffdef03cd1645a2d237063c888728c840a8c939df1c1ff9aefe3efab395358a7757dd287d1efa7a704b37f0b2661c8c1b5faaca
 SHA512 
a087f48ec8f559eea17f88f9c00893c84db17bfcb10590011f43d6d1573a30286067207133ad6d249897fe51cb22829c2ddf00bf23210f01aa059b1f87790fae
 DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f856530ca7e6948c795ec5f943e4be32513b4a956aa9217df4acd45806bc81ff855ebab757aa3f6a1943fa7c394b3e3ce
 SHA512 
7bb2aa464f5ba834c07f67743f4af01db6588d56611d6c9e250a6908ebe93a0dcd9d3a79f8f252fc92eeb4826bfa62de6c51c4db03ff80e60a8d993e4451f573
+DIST ldc-1.27.1-src.tar.gz 7742031 BLAKE2B 
d459d70e6745930aca1293cf17ec186526393ce3ff3888c0aad3781f215ed53d6a44a08e3a1bc69e91ba0b039c443e277a0b526e7054e18445e074be1de12e87
 SHA512 
d10118c9c52a26510f3f9d8d93b38f89144aca7b861ef663e807df0bcf1bb3bc12d1410e6617891e58a3f2cfe160e31bb8478bb1f39f79d026c97ce7e72a9f65

diff --git a/dev-lang/ldc2/ldc2-1.27.1.ebuild b/dev-lang/ldc2/ldc2-1.27.1.ebuild
new file mode 100644
index 000..a68973a
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.27.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2021 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 6.0 through 10.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:11
+   sys-devel/llvm:12
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=12
+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.075-"
+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_compile()
+{
+   cmake_src_compile
+}
+
+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/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 8810153..ade019f 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -60,6 +60,7 @@ dlang-compilers_declare_versions() {
["1.24"]="2.094 amd64 ~arm ~arm64 ~ppc64 x86"
["1.25"]="2.095 ~amd64 ~arm ~arm64 ~ppc64 ~x86"
["1.26&q

[gentoo-commits] repo/user/dlang:master commit in: profiles/

2022-02-08 Thread Marco Leise
commit: f15481914faaf0ad4f084b26da35a57fc114dfc9
Author: Niko Böckerman  protonmail  com>
AuthorDate: Thu Feb  3 20:54:09 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Feb  7 18:21:34 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f1548191

Remove obsolete ldc2 version use descriptions

Signed-off-by: Niko Böckerman  protonmail.com>

 profiles/use.desc | 6 --
 1 file changed, 6 deletions(-)

diff --git a/profiles/use.desc b/profiles/use.desc
index 6141d18..94d41a5 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -33,12 +33,6 @@ dmd-2_094 - Build for DMD 2.094
 dmd-2_095 - Build for DMD 2.295
 dmd-2_096 - Build for DMD 2.096
 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
-ldc2-1_20 - Build for ldc2 1.20
-ldc2-1_21 - Build for ldc2 1.21
-ldc2-1_22 - Build for ldc2 1.22
-ldc2-1_23 - Build for ldc2 1.23
 ldc2-1_24 - Build for ldc2 1.24
 ldc2-1_25 - Build for ldc2 1.25
 ldc2-1_26 - Build for ldc2 1.26



[gentoo-commits] repo/user/dlang:master commit in: eclass/, profiles/, dev-lang/ldc2/

2022-02-08 Thread Marco Leise
commit: f737b97e9208279f490438dac51d22c4da7bb07b
Author: Niko Böckerman  protonmail  com>
AuthorDate: Thu Feb  3 20:55:04 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Feb  7 18:26:41 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f737b97e

ldc2-1.28.0

Signed-off-by: Niko Böckerman  protonmail.com>

 dev-lang/ldc2/Manifest   |  1 +
 dev-lang/ldc2/ldc2-1.28.0.ebuild | 82 
 eclass/dlang-compilers.eclass|  1 +
 profiles/use.desc|  1 +
 4 files changed, 85 insertions(+)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index d087c64..a8f2072 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -2,3 +2,4 @@ DIST ldc-1.24.0-src.tar.gz 7522065 BLAKE2B 
65069835528466c4a39ebf08245fa7fcc9348
 DIST ldc-1.25.1-src.tar.gz 7625687 BLAKE2B 
02eacb06c334608d4b649d8fdffdef03cd1645a2d237063c888728c840a8c939df1c1ff9aefe3efab395358a7757dd287d1efa7a704b37f0b2661c8c1b5faaca
 SHA512 
a087f48ec8f559eea17f88f9c00893c84db17bfcb10590011f43d6d1573a30286067207133ad6d249897fe51cb22829c2ddf00bf23210f01aa059b1f87790fae
 DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f856530ca7e6948c795ec5f943e4be32513b4a956aa9217df4acd45806bc81ff855ebab757aa3f6a1943fa7c394b3e3ce
 SHA512 
7bb2aa464f5ba834c07f67743f4af01db6588d56611d6c9e250a6908ebe93a0dcd9d3a79f8f252fc92eeb4826bfa62de6c51c4db03ff80e60a8d993e4451f573
 DIST ldc-1.27.1-src.tar.gz 7742031 BLAKE2B 
d459d70e6745930aca1293cf17ec186526393ce3ff3888c0aad3781f215ed53d6a44a08e3a1bc69e91ba0b039c443e277a0b526e7054e18445e074be1de12e87
 SHA512 
d10118c9c52a26510f3f9d8d93b38f89144aca7b861ef663e807df0bcf1bb3bc12d1410e6617891e58a3f2cfe160e31bb8478bb1f39f79d026c97ce7e72a9f65
+DIST ldc-1.28.0-src.tar.gz 7923347 BLAKE2B 
5381eab19ad66bfa91e27ed9085b11e6a7e202704dcd8ea6141d16fc8580c464c88fba895e1248568781059bf77c396c56e0669ca36125df948e32eaef98c9bd
 SHA512 
3e566282175d65eb075c9c076bcf0475658c747238ed91efd350a7834d6d54760310ac5249fb74db3812c07058efbca8d726427ef39055d77b3f9a6940bf4188

diff --git a/dev-lang/ldc2/ldc2-1.28.0.ebuild b/dev-lang/ldc2/ldc2-1.28.0.ebuild
new file mode 100644
index 000..a68973a
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.28.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2021 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 6.0 through 10.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:11
+   sys-devel/llvm:12
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=12
+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.075-"
+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_compile()
+{
+   cmake_src_compile
+}
+
+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/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index ade019f..be7001b 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -61,6 +61,7 @@ dlang-compilers_declare_versions() {
["1.25"]="2.095 ~amd64 ~arm ~arm64 ~ppc64 ~x86"
["1.26&qu

[gentoo-commits] repo/user/dlang: Branch deleted: llvm-10-removal

2022-02-06 Thread Marco Leise
commit: 
Commit: Marco Leise  gmx  de>
CommitDate: Sun Feb  6 16:01:33 2022 +

Branch deleted: llvm-10-removal




[gentoo-commits] repo/user/dlang:master commit in: eclass/, profiles/

2022-02-06 Thread Marco Leise
commit: e7cac6f2e7069b79de6b0120097fc2f2e1e700a1
Author: Niko Böckerman  protonmail  com>
AuthorDate: Thu Feb  3 19:29:06 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Feb  3 19:36:26 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e7cac6f2

Add ldc2 1.25 and 1.26 as possible compilers

Signed-off-by: Niko Böckerman  protonmail.com>

 eclass/dlang-compilers.eclass | 2 ++
 profiles/use.desc | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
index 22b3d66..f74b9a4 100644
--- a/eclass/dlang-compilers.eclass
+++ b/eclass/dlang-compilers.eclass
@@ -62,6 +62,8 @@ dlang-compilers_declare_versions() {
["1.22"]="2.092 amd64 ~arm ~arm64 ~ppc64 x86"
["1.23"]="2.093 amd64 ~arm ~arm64 ~ppc64 x86"
["1.24"]="2.094 amd64 ~arm ~arm64 ~ppc64 x86"
+   ["1.25"]="2.095 ~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   ["1.26"]="2.096 ~amd64 ~arm ~arm64 ~ppc64 ~x86"
)
 }
 

diff --git a/profiles/use.desc b/profiles/use.desc
index 7aa58d7..6141d18 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -40,3 +40,5 @@ ldc2-1_21 - Build for ldc2 1.21
 ldc2-1_22 - Build for ldc2 1.22
 ldc2-1_23 - Build for ldc2 1.23
 ldc2-1_24 - Build for ldc2 1.24
+ldc2-1_25 - Build for ldc2 1.25
+ldc2-1_26 - Build for ldc2 1.26



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2022-02-06 Thread Marco Leise
commit: 2966167d6db5018b0ea1eb50f2a277324ffbd229
Author: Niko Böckerman  protonmail  com>
AuthorDate: Thu Feb  3 19:29:34 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Feb  3 19:36:52 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=2966167d

ldc2: Add support for newer llvm versions

LDC2 1.24 added support for LLVM 11 and LDC 1.25 added support also for
LLVM 12.

Signed-off-by: Niko Böckerman  protonmail.com>

 dev-lang/ldc2/ldc2-1.24.0-r2.ebuild | 82 
 dev-lang/ldc2/ldc2-1.25.1-r1.ebuild | 83 +
 dev-lang/ldc2/ldc2-1.26.0-r1.ebuild | 83 +
 3 files changed, 248 insertions(+)

diff --git a/dev-lang/ldc2/ldc2-1.24.0-r2.ebuild 
b/dev-lang/ldc2/ldc2-1.24.0-r2.ebuild
new file mode 100644
index 000..181f1b5
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.24.0-r2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2021 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 6.0 through 10.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:10
+   sys-devel/llvm:11
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=11
+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.075-"
+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_compile()
+{
+   cmake_src_compile
+}
+
+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.25.1-r1.ebuild 
b/dev-lang/ldc2/ldc2-1.25.1-r1.ebuild
new file mode 100644
index 000..1171863
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.25.1-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2021 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 6.0 through 10.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:10
+   sys-devel/llvm:11
+   sys-devel/llvm:12
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=12
+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.075-"
+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 mycmak

[gentoo-commits] repo/user/dlang:master commit in: eclass/, dev-lang/ldc2/

2022-02-06 Thread Marco Leise
commit: b4fe786e4168fdc2a4367d1f7014e446df6e9ef3
Author: Niko Böckerman  protonmail  com>
AuthorDate: Thu Feb  3 19:30:13 2022 +
Commit:     Marco Leise  gmx  de>
CommitDate: Thu Feb  3 19:36:52 2022 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=b4fe786e

Remove old ldc2 versions after llvm:10 removal

All versions of LLVM in slot 10 have been removed from Gentoo tree.
Remove all ldc2 versions that don't support older LLVM versions. And
remove llvm:10 slot support from remaining ldc2 ebuilds.

Signed-off-by: Niko Böckerman  protonmail.com>

 dev-lang/ldc2/Manifest  |  4 --
 dev-lang/ldc2/ldc2-1.20.1-r1.ebuild | 75 --
 dev-lang/ldc2/ldc2-1.20.1-r2.ebuild | 81 -
 dev-lang/ldc2/ldc2-1.21.0-r1.ebuild | 75 --
 dev-lang/ldc2/ldc2-1.21.0-r2.ebuild | 81 -
 dev-lang/ldc2/ldc2-1.22.0-r1.ebuild | 81 -
 dev-lang/ldc2/ldc2-1.22.0.ebuild| 75 --
 dev-lang/ldc2/ldc2-1.23.0-r1.ebuild | 81 -
 dev-lang/ldc2/ldc2-1.23.0.ebuild| 75 --
 dev-lang/ldc2/ldc2-1.24.0-r1.ebuild | 81 -
 dev-lang/ldc2/ldc2-1.24.0-r2.ebuild |  1 -
 dev-lang/ldc2/ldc2-1.24.0.ebuild| 75 --
 dev-lang/ldc2/ldc2-1.25.1-r1.ebuild |  1 -
 dev-lang/ldc2/ldc2-1.25.1.ebuild| 81 -
 dev-lang/ldc2/ldc2-1.26.0-r1.ebuild |  1 -
 dev-lang/ldc2/ldc2-1.26.0.ebuild| 81 -
 eclass/dlang-compilers.eclass   |  4 --
 17 files changed, 953 deletions(-)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index 2a2a28f..4767a40 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -1,7 +1,3 @@
-DIST ldc-1.20.1-src.tar.gz 7283975 BLAKE2B 
ceb75e767562936606a5fc8383dd089a8daefd04e6fbcd8c6b360fccad50ecb7c6656d60c5351b11a3580d01bdb45101ed50ff6c7a9791af1fd25be160e9a037
 SHA512 
bb69a69de1773a10998c653b5a1b0bce30e39cfcee0e19b036378b28519b3118ac369b341cfd305a8a9bd904564e83f720a62ab4f2c1942c2e26bb53
-DIST ldc-1.21.0-src.tar.gz 7355981 BLAKE2B 
46f3289e3e39d8c3b2a4985e1de4b5ef0e218188af5095cb2007bb83eec2bdaf6c590786d7b655a1f886c7f46703db2c049cf054c0fac438f943a702d3ac7a3b
 SHA512 
5759cb0ad04d2e62a075748b40efb30261c1ebefbc129024cddccf60ab59c211f20b87a0fe22b0a714a0435f53d54a79cd8ad4ede7bfbf492809f23c679a
-DIST ldc-1.22.0-src.tar.gz 7434646 BLAKE2B 
317c9ebb3f75e495c939fadd24abbbea4baa2f9bf547894067d373adc48dfefd47c5bcc2136ac67ecd2bbbe2bf0cf879cfc9b978d9ff75d68ede7b0686dbfee9
 SHA512 
81c59e96b181fbe4a499d84a816ee4fbdbc8b6170fe87dc42e8a315e72d0be4a7f42b939084e5a529572987bcdc495926d83ca517aff8a7e5632767cf46d67d8
-DIST ldc-1.23.0-src.tar.gz 7438736 BLAKE2B 
42cad99be83ce6c8d08819e6e2c6aca161f1243a239da1e692551e7b140069aacb12bbf38b4dc727eab4814bba9d8dafbb16ea2c938ea49db907275c2149b2bd
 SHA512 
dbade9a120bb30d0c691f5c4c6c7e06be0cf3575b9bd63a921e9a768a22aef10293cc4058c7da348707856e1d363419c91e38a893d13408e9b5be4ae85544bb0
 DIST ldc-1.24.0-src.tar.gz 7522065 BLAKE2B 
65069835528466c4a39ebf08245fa7fcc9348ee620bab933d23157af0702c0ac4f5b3c1692b1eff83ba81ba2b8be6f086935527585c55e1ecb4ea42f965befe6
 SHA512 
c6f06d80617e5f7789f9e0e349a21e380d0bb6898983f0c2e2aaaec32e23ea0f69c039b6f0c03b8015782b837c890a6ff1051bfa332a6af7c79fc3479446dfb1
 DIST ldc-1.25.1-src.tar.gz 7625687 BLAKE2B 
02eacb06c334608d4b649d8fdffdef03cd1645a2d237063c888728c840a8c939df1c1ff9aefe3efab395358a7757dd287d1efa7a704b37f0b2661c8c1b5faaca
 SHA512 
a087f48ec8f559eea17f88f9c00893c84db17bfcb10590011f43d6d1573a30286067207133ad6d249897fe51cb22829c2ddf00bf23210f01aa059b1f87790fae
 DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f856530ca7e6948c795ec5f943e4be32513b4a956aa9217df4acd45806bc81ff855ebab757aa3f6a1943fa7c394b3e3ce
 SHA512 
7bb2aa464f5ba834c07f67743f4af01db6588d56611d6c9e250a6908ebe93a0dcd9d3a79f8f252fc92eeb4826bfa62de6c51c4db03ff80e60a8d993e4451f573

diff --git a/dev-lang/ldc2/ldc2-1.20.1-r1.ebuild 
b/dev-lang/ldc2/ldc2-1.20.1-r1.ebuild
deleted file mode 100644
index e79765a..000
--- a/dev-lang/ldc2/ldc2-1.20.1-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 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 10.
-RDE

[gentoo-commits] repo/user/dlang: New branch: llvm-10-removal

2022-02-06 Thread Marco Leise
commit: 
Commit: Marco Leise  gmx  de>
CommitDate: Sun Feb  6 15:47:29 2022 +

New branch: llvm-10-removal




[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2021-07-07 Thread Marco Leise
commit: e177a4bd80ebed3dd237d7f16f8e4a20b56d2084
Author: Marco Leise  gmx  de>
AuthorDate: Wed Jul  7 13:15:16 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Wed Jul  7 13:59:17 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e177a4bd

Fix for syntax error in ldc2.conf during compilation on hardened Gentoo.

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/ldc2/ldc2-1.20.1-r2.ebuild | 81 +
 dev-lang/ldc2/ldc2-1.21.0-r2.ebuild | 81 +
 dev-lang/ldc2/ldc2-1.22.0-r1.ebuild | 81 +
 dev-lang/ldc2/ldc2-1.23.0-r1.ebuild | 81 +
 dev-lang/ldc2/ldc2-1.24.0-r1.ebuild | 81 +
 5 files changed, 405 insertions(+)

diff --git a/dev-lang/ldc2/ldc2-1.20.1-r2.ebuild 
b/dev-lang/ldc2/ldc2-1.20.1-r2.ebuild
new file mode 100644
index 000..5a2b5c6
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.20.1-r2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 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 10.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:10
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=10
+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.075-"
+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_compile()
+{
+   cmake_src_compile
+}
+
+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.21.0-r2.ebuild 
b/dev-lang/ldc2/ldc2-1.21.0-r2.ebuild
new file mode 100644
index 000..5a2b5c6
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.21.0-r2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 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 10.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:10
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=10
+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.075-"
+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_V

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/

2021-07-07 Thread Marco Leise
commit: 73708a03629341bb80863091c8af37276a073fe9
Author: Marco Leise  gmx  de>
AuthorDate: Wed Jul  7 15:29:03 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Wed Jul  7 15:29:03 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=73708a03

dfmt-0.13.4

Signed-off-by: Marco Leise  gmx.de>

 dev-util/dfmt/Manifest   |  2 ++
 dev-util/dfmt/dfmt-0.13.4.ebuild | 58 
 2 files changed, 60 insertions(+)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index 8948644..f28fab2 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,3 +1,5 @@
 DIST dfmt-0.13.2.tar.gz 91926 BLAKE2B 
0d02600f10143232c62deca8f34ed239bb2e54f0390388aad184d3d78bd39aae5724d22f59d1303a9837173933dd8ca448aedeccb839fdd413ce827199202c35
 SHA512 
a1fb8339da4201d114bfc3748df2d1b4f42505932b1e55f74daa096cf48e91df827c677c7cc1c7df27937e45cebf571cb57551e843261915567e37cf4f3c8f29
+DIST dfmt-0.13.4.tar.gz 92846 BLAKE2B 
4b16e8fc219004686315e6a478c349d0cdfc0a20b0ecc4e45a45a27774f1130c1346a78632ba44088c4b25ba1db6e4a78bec6ff33a680e17e7a30f241c274582
 SHA512 
997148a6234f446fbcc7eb75f8cb8b21b723131f997a84541f8486f98970d15d2330b0c0297b2fa3e834e03f6b35dce9623d59c439fdc3bf0881b72aef8b4281
 DIST libdparse-1557eb079a2d5958e0a7136f942eea0922d58e8a.tar.gz 132387 BLAKE2B 
180316ef25713eb723e43e13c983f2c7b8c775f7e4c984217b497505ed0f7a9b1eb351867317a1e0957dd368a71b7fe403d8a636baf8ad8240f2b39fb7bc2c69
 SHA512 
1dbab30db4f14d99f27672be12b63bba04534a0c69c58453441b8a654336d9a38c869a6db738442b692d4d7cfdb0f68ed0bfaaa462c58aed0bedef60ea4dfbac
+DIST libdparse-9aefc9c5e6e1495aca094d5c403f35f1052677d1.tar.gz 145180 BLAKE2B 
c0050cf47a2f417b7cdc67adad5c642e44dad310d7f85ea46d81e29d054fa0e489cb7a2b83ac8d4c6891530961e986d700baa0d9771046ea5a3c314d956f92f3
 SHA512 
f66d83e72a9de42bcd21794809f22c5b8d3fde1af136f1f55a9991e30a430e1229f5183a2a6e172e6b49ec7e1139213523be419ff1a07826910f5067e7439490
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 
BLAKE2B 
8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e
 SHA512 
893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.13.4.ebuild b/dev-util/dfmt/dfmt-0.13.4.ebuild
new file mode 100644
index 000..88cbc1b
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.13.4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt;
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LIBDPARSE="9aefc9c5e6e1495aca094d5c403f35f1052677d1"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+   https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> 
${PN}-${PV}.tar.gz
+   
https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> 
libdparse-${LIBDPARSE}.tar.gz
+   
https://github.com/dlang-community/stdx-allocator/archive/${ALLOCATOR}.tar.gz 
-> stdx-allocator-${ALLOCATOR}.tar.gz
+   "
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang bash-completion-r1
+
+src_prepare() {
+   mkdir bin || die "Failed to create 'bin' directory."
+   cat > bin/githash.txt << EOF
+v${PV}
+EOF
+   dlang_src_prepare
+}
+
+d_src_compile() {
+   local libdparse_src="../libdparse-${LIBDPARSE}/src"
+   local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+   local imports="src ${libdparse_src} ${allocator_src}"
+   local string_imports="bin"
+
+   dlang_compile_bin "bin/dfmt" "src/dfmt/main.d" "src/dfmt/config.d" 
"src/dfmt/editorconfig.d" \
+   "src/dfmt/ast_info.d" "src/dfmt/indentation.d" 
"src/dfmt/tokens.d" "src/dfmt/wrapping.d" \
+   "src/dfmt/formatter.d" "src/dfmt/globmatch_editorconfig.d" \
+   ${libdparse_src}/dparse/lexer.d 
${libdparse_src}/dparse/parser.d ${libdparse_src}/dparse/ast.d \
+   ${libdparse_src}/dparse/rollback_allocator.d 
${libdparse_src}/dparse/stack_buffer.d \
+   ${libdparse_src}/dparse/trivia.d 
${libdparse_src}/std/experimental/lexer.d \
+   ${allocator_src}/stdx/allocator/common.d 
${allocator_src}/stdx/allocator/internal.d \
+   ${allocator_src}/stdx/allocator/mallocator.d 
${allocator_src}/stdx/allocator/package.d \
+   ${allocator_src}/stdx/allocator/gc_allocator.d 
${allocator_src}/stdx/allocator/typed.d
+}
+
+d_src_test() {
+   cd tests && ./test.sh
+}
+
+d_src_install() {
+   dobin bin/dfmt
+   dodoc README.md LICENSE.txt
+   dobashcomp bash-completion/completions/dfmt
+}



[gentoo-commits] repo/user/dlang:master commit in: eclass/, dev-libs/gtkd/, dev-util/dlang-tools/, dev-lang/dmd/, profiles/, ...

2021-07-07 Thread Marco Leise
commit: d179ef723ebd25d392c4baee73a89e1d4c56394c
Author: Marco Leise  gmx  de>
AuthorDate: Wed Jul  7 14:12:03 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Wed Jul  7 14:12:03 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=d179ef72

stabilization sweep

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/dmd-2.095.1.ebuild|   2 +-
 dev-lang/dmd/dmd-2.096.1.ebuild|   2 +-
 dev-libs/gtkd/Manifest |   1 -
 dev-libs/gtkd/gtkd-3.8.5-r1.ebuild | 119 -
 dev-libs/gtkd/gtkd-3.9.0.ebuild|   2 +-
 dev-util/dlang-tools/dlang-tools-2.095.1.ebuild|   2 +-
 dev-util/dlang-tools/dlang-tools-2.096.1.ebuild|   2 +-
 dev-util/dub/Manifest  |   1 -
 dev-util/dub/dub-1.24.0.ebuild |  39 ---
 dev-util/dub/dub-1.25.0.ebuild |   2 +-
 .../dub/files/dub-1.24.0-gdc-dmd-pathfix.patch |  16 ---
 eclass/dlang-compilers.eclass  |   2 +
 profiles/use.desc  |   2 +
 13 files changed, 10 insertions(+), 182 deletions(-)

diff --git a/dev-lang/dmd/dmd-2.095.1.ebuild b/dev-lang/dmd/dmd-2.095.1.ebuild
index 1701d93..58f7f8c 100644
--- a/dev-lang/dmd/dmd-2.095.1.ebuild
+++ b/dev-lang/dmd/dmd-2.095.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 YEAR=2021
 DLANG_VERSION_RANGE="2.076-"
 

diff --git a/dev-lang/dmd/dmd-2.096.1.ebuild b/dev-lang/dmd/dmd-2.096.1.ebuild
index 1701d93..58f7f8c 100644
--- a/dev-lang/dmd/dmd-2.096.1.ebuild
+++ b/dev-lang/dmd/dmd-2.096.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
 YEAR=2021
 DLANG_VERSION_RANGE="2.076-"
 

diff --git a/dev-libs/gtkd/Manifest b/dev-libs/gtkd/Manifest
index 5161ad5..0834ad3 100644
--- a/dev-libs/gtkd/Manifest
+++ b/dev-libs/gtkd/Manifest
@@ -1,3 +1,2 @@
 DIST GtkD-2.4.2.zip 4190939 BLAKE2B 
90a47d0882cb57f94b75a155cb949e4272669764abefcc65b4c0cdece05409e669d87076d094bf8f5f7c342c9be506006f78314341a8291b858d787599a29efa
 SHA512 
2d936c9ab69f8ea6fbd91696c91f04820f579e3cdb85914cda6611ac675dadd0d6e8d792ffced640097797f6851016474fadf964e2fc5032262c0945b875cd46
-DIST GtkD-3.8.5.zip 4513387 BLAKE2B 
eb2bf2a5103e14300dee6c3f9abb567b35af272a479c7a4b8dadd4bb480b5aec996a9e54c7fc3a319cbff30bf9dcec71167a05e1440b501b0f91e5ebae79f191
 SHA512 
efd43a72a514b0b8de9f1db982f2304c264e3a68915da849fe1d6a5c24b8abe2a072526bba3f1c1e3bea81c162de33cd8c570092438c016087d94e875c9a32a5
 DIST GtkD-3.9.0.zip 4576099 BLAKE2B 
50d0bda16f3026f1c068f7b65049005b86367ee1ced581bb2f941c202e0038f1bc6be350bd4bcb30f69ec0696ae0e7bbf4336546153bda389683d44c87d58eac
 SHA512 
f8b8a7b83a23af990abb77f16e4bddf2f72bb65ad210ff8f138b0d4ff66fb5fb2a73a3cbe868a8d2ecf3abf98ece5af771af63068dc2fbf8668e46039320cf0f

diff --git a/dev-libs/gtkd/gtkd-3.8.5-r1.ebuild 
b/dev-libs/gtkd/gtkd-3.8.5-r1.ebuild
deleted file mode 100644
index 841f0a9..000
--- a/dev-libs/gtkd/gtkd-3.8.5-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="GtkD is a D binding and OO wrapper of GTK+"
-HOMEPAGE="http://gtkd.org/;
-LICENSE="LGPL-3"
-
-SLOT="3"
-KEYWORDS="amd64 x86"
-SRC_URI="https://gtkd.org/Downloads/sources/GtkD-${PV}.zip;
-
-DLANG_VERSION_RANGE="2.074-"
-DLANG_PACKAGE_TYPE="multi"
-
-inherit eutils dlang
-
-DEPEND="app-arch/unzip"
-RDEPEND="
-   >=x11-libs/gtk+-3.22:3[${MULTILIB_USEDEP}]
-   >=dev-libs/glib-2.56:2[${MULTILIB_USEDEP}]
-   >=x11-libs/pango-1.42[${MULTILIB_USEDEP}]
-   >=dev-libs/atk-2.28[${MULTILIB_USEDEP}]
-   >=x11-libs/gdk-pixbuf-2.36:2[${MULTILIB_USEDEP}]
-   >=x11-libs/cairo-1.12.2[${MULTILIB_USEDEP}]
-   sourceview? ( >=x11-libs/gtksourceview-3.24:3.0 )
-   gstreamer? ( >=media-libs/gstreamer-1.14:1.0[${MULTILIB_USEDEP}] )
-   vte? ( >=x11-libs/vte-0.52:2.91 )
-   peas? ( >=dev-libs/libpeas-1.20 )
-"
-
-GTKD_USE_FLAGS=(gtk  opengl sourceview gstreamer  vte  peas)
-GTKD_LIB_NAMES=(gtkd gtkdgl gtkdsv gstreamerd vted peasd)
-GTKD_SRC_DIRS=( gtkd gtkdgl sourceview gstreamer  vte  peas)
-IUSE="${GTKD_USE_FLAGS[@]:1} static-libs"
-
-MAJOR=$(ver_cut 1)
-MINOR=$(ver_cut 2-)
-
-src_unpack() {
-   unzip -q "${DISTDIR}/${A}" -d "${S}"
-}
-
-d_src_compile() {
-   compile_libs() {
-   # Build the shared library version of the component
-   # The test phase expects no version extension on the .so
-   local sources=generated/${SRC_DIR}/*/*.d
-   if [ ${LIB_NAME} != gtkdgl ]; then
-   sources+="

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/

2021-07-07 Thread Marco Leise
commit: afaa6fe9518bc9e88b9846990234c0362d8a77e9
Author: Marco Leise  gmx  de>
AuthorDate: Wed Jul  7 15:35:57 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Wed Jul  7 15:35:57 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=afaa6fe9

dcd-0.13.4

Signed-off-by: Marco Leise  gmx.de>

 dev-util/dcd/Manifest  |   2 +
 dev-util/dcd/dcd-0.13.4.ebuild | 102 +
 2 files changed, 104 insertions(+)

diff --git a/dev-util/dcd/Manifest b/dev-util/dcd/Manifest
index c9f16c6..3a6d8c9 100644
--- a/dev-util/dcd/Manifest
+++ b/dev-util/dcd/Manifest
@@ -1,5 +1,7 @@
 DIST DCD-0.13.1.tar.gz 136095 BLAKE2B 
ae0ee1acec1201d724feb178b58483651cf5498b7c9aa66036afe153972a9e889f400d7d86612d021faa576d64587892f6a2a068b9a8e4ebe241414c727d7016
 SHA512 
c52540b4ba02c7bca77beca74ae482cd0b046fe7e16498e30600a1ca03f997a365eacb7450a1c13ae4ab3c9c8bfe6c65a8aa899697755f4596804ff636a86784
+DIST DCD-0.13.4.tar.gz 133944 BLAKE2B 
6a6fe85e70810c29101feed0c7417bfbcb9240e8fac882cbd9ed57e6563b19cdfda3a9313e07b2f9948f5ba8d96121103090a8349880c4eff770388b3a4ec9c2
 SHA512 
5f3d77b7d898b4bfbcfce1b6333f6f96395f85193ae874d7b8c043e2964eeb6136cc8c4331544d5b730a2d611aa8766dc78b8a3315fe06aa855d019a6ea6321a
 DIST containers-f4e79375539554b3793adf1c557361a64a073524.tar.gz 55265 BLAKE2B 
208ba1baf12a6f690861bc2798c0b94f46f8155509832613f4d2308826c14ee951a7bb3e45bcea852e4747308c267bb1d37cf5383ecea80ebf2dabf5ca017b51
 SHA512 
d1779a060b3c846ad70942b5c7f8d05733d58964a4585913a3515d8dfe2dcc811a57af1d7bdb6e3606ccce1ba637f9f029de07213fddea00e2305c9d75293be1
+DIST containers-fc1625a5a0c253272b80addfb4107928495fd647.tar.gz 55220 BLAKE2B 
67851802c64c2e22c40688e050e8ba3825d6152df0fed2130d3585b77264ddd0ff0444c199d95330116887d6711935b82cdba392e557acf22d353b094c4be8a4
 SHA512 
ff13091bd8ccd2fbfdb18284d81cf3789f208cc3e9f07f36cfb87122efb36b364c3201c695c9b0267705576561270a6f2a9ec91ce8776a7d683db4bf36ca328b
 DIST dsymbol-f9a3d302527a9e50140991562648a147b6f5a78e.tar.gz 34796 BLAKE2B 
c9fb476a348b030d7c57e43b0e21fb8db255ba4b350f7bde6315750ed5888eef9ce32ec68428f55e321bf6e9f167433ce3279185ff0ce0b899fbf5257b4d40c5
 SHA512 
2133f1c8dc966920496b7851f9ae094f10170117d1d9961f96c5382df126c3f72a8eb678dbc106bac5f3b4c1f97848428bf9004656c57d1c1c5f2697b7d2a4da
 DIST libdparse-1393ee4d0c8e50011e641e06d64c429841fb3c2b.tar.gz 137198 BLAKE2B 
e2d4122f63847fe9c0aa7591f5d5cfb9b8708c02c45b02b24fbb488f17a9dc0986ab0525a573e6e4e43daa3a1b8880edc93e0b6061fd5486a39e8fd45f516dd4
 SHA512 
8339e339d667f7fbd524f12c89a824f95a2151ce126fae33bbf940f76dcc460d42c0c412fa169867eaa056dabb1ef2aaa89b95b47219294edfc166aafa48c89c
 DIST msgpack-d-480f3bf9ee80ccf6695ed900cfcc1850ba8da991.tar.gz 143848 BLAKE2B 
44ac6f1efbbdb455af694cc476524535bebe993777a8c47d93a7cff21d825c2b8ce4caaf0d9f072f1e37869a9e50821abbd60e23a38546e0522047809cd0695a
 SHA512 
76f7049c9f9f4128b9e9691e224c2ff5d8ee5400bf0796cc362386f0bc6f2359bb1694606923aec21eab539f65b93b828c2e018dee22358b91713365dd443e4d

diff --git a/dev-util/dcd/dcd-0.13.4.ebuild b/dev-util/dcd/dcd-0.13.4.ebuild
new file mode 100644
index 000..96a5a2f
--- /dev/null
+++ b/dev-util/dcd/dcd-0.13.4.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Auto-complete program for the D programming language"
+HOMEPAGE="https://github.com/dlang-community/DCD;
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+CONTAINERS="fc1625a5a0c253272b80addfb4107928495fd647"
+DSYMBOL="f9a3d302527a9e50140991562648a147b6f5a78e"
+LIBDPARSE="1393ee4d0c8e50011e641e06d64c429841fb3c2b"
+MSGPACK="480f3bf9ee80ccf6695ed900cfcc1850ba8da991"
+ALLOCATOR="d6e6ce4a838e0dad43ef13f050f96627339cdccd"
+SRC_URI="
+   https://github.com/dlang-community/DCD/archive/v${PV}.tar.gz -> 
DCD-${PV}.tar.gz
+   
https://github.com/economicmodeling/containers/archive/${CONTAINERS}.tar.gz -> 
containers-${CONTAINERS}.tar.gz
+   https://github.com/dlang-community/dsymbol/archive/${DSYMBOL}.tar.gz -> 
dsymbol-${DSYMBOL}.tar.gz
+   
https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> 
libdparse-${LIBDPARSE}.tar.gz
+   
https://github.com/dlang-community/stdx-allocator/archive/${ALLOCATOR}.tar.gz 
-> stdx-allocator-${ALLOCATOR}.tar.gz
+   https://github.com/msgpack/msgpack-d/archive/${MSGPACK}.tar.gz -> 
msgpack-d-${MSGPACK}.tar.gz
+   "
+S="${WORKDIR}/DCD-${PV}"
+
+DLANG_VERSION_RANGE="2.082-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang systemd bash-completion-r1
+
+src_prepare() {
+   # Default ebuild unpack function places archives side-by-side ...
+   mv -T ../stdx-allocator-${ALLOCATOR} stdx-allocator/source || die
+   mv -T ../containers-${CONTAINERS}containers|| die
+ 

[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2021-07-07 Thread Marco Leise
commit: 9dc7c97fabf392de6f3ad8fdb96479fe405e4d3e
Author: Marco Leise  gmx  de>
AuthorDate: Wed Jul  7 13:42:04 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Wed Jul  7 14:00:47 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=9dc7c97f

ldc2-1.25.1 & ldc2-1.26.0

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/ldc2/Manifest   |  2 +
 dev-lang/ldc2/ldc2-1.25.1.ebuild | 81 
 dev-lang/ldc2/ldc2-1.26.0.ebuild | 81 
 3 files changed, 164 insertions(+)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index a4e6e61..2a2a28f 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -3,3 +3,5 @@ DIST ldc-1.21.0-src.tar.gz 7355981 BLAKE2B 
46f3289e3e39d8c3b2a4985e1de4b5ef0e218
 DIST ldc-1.22.0-src.tar.gz 7434646 BLAKE2B 
317c9ebb3f75e495c939fadd24abbbea4baa2f9bf547894067d373adc48dfefd47c5bcc2136ac67ecd2bbbe2bf0cf879cfc9b978d9ff75d68ede7b0686dbfee9
 SHA512 
81c59e96b181fbe4a499d84a816ee4fbdbc8b6170fe87dc42e8a315e72d0be4a7f42b939084e5a529572987bcdc495926d83ca517aff8a7e5632767cf46d67d8
 DIST ldc-1.23.0-src.tar.gz 7438736 BLAKE2B 
42cad99be83ce6c8d08819e6e2c6aca161f1243a239da1e692551e7b140069aacb12bbf38b4dc727eab4814bba9d8dafbb16ea2c938ea49db907275c2149b2bd
 SHA512 
dbade9a120bb30d0c691f5c4c6c7e06be0cf3575b9bd63a921e9a768a22aef10293cc4058c7da348707856e1d363419c91e38a893d13408e9b5be4ae85544bb0
 DIST ldc-1.24.0-src.tar.gz 7522065 BLAKE2B 
65069835528466c4a39ebf08245fa7fcc9348ee620bab933d23157af0702c0ac4f5b3c1692b1eff83ba81ba2b8be6f086935527585c55e1ecb4ea42f965befe6
 SHA512 
c6f06d80617e5f7789f9e0e349a21e380d0bb6898983f0c2e2aaaec32e23ea0f69c039b6f0c03b8015782b837c890a6ff1051bfa332a6af7c79fc3479446dfb1
+DIST ldc-1.25.1-src.tar.gz 7625687 BLAKE2B 
02eacb06c334608d4b649d8fdffdef03cd1645a2d237063c888728c840a8c939df1c1ff9aefe3efab395358a7757dd287d1efa7a704b37f0b2661c8c1b5faaca
 SHA512 
a087f48ec8f559eea17f88f9c00893c84db17bfcb10590011f43d6d1573a30286067207133ad6d249897fe51cb22829c2ddf00bf23210f01aa059b1f87790fae
+DIST ldc-1.26.0-src.tar.gz 7650063 BLAKE2B 
d132dc842e27a93fc76810e17db1d67f856530ca7e6948c795ec5f943e4be32513b4a956aa9217df4acd45806bc81ff855ebab757aa3f6a1943fa7c394b3e3ce
 SHA512 
7bb2aa464f5ba834c07f67743f4af01db6588d56611d6c9e250a6908ebe93a0dcd9d3a79f8f252fc92eeb4826bfa62de6c51c4db03ff80e60a8d993e4451f573

diff --git a/dev-lang/ldc2/ldc2-1.25.1.ebuild b/dev-lang/ldc2/ldc2-1.25.1.ebuild
new file mode 100644
index 000..322787b
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.25.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 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 6.0 through 10.
+RDEPEND="dev-util/ninja
+   || (
+   sys-devel/llvm:10
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=10
+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.075-"
+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_compile()
+{
+   cmake_src_compile
+}
+
+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.26.0.ebuild b/dev-lang/ldc2/ldc2-1.26.0.e

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dscanner/

2021-07-07 Thread Marco Leise
commit: 655df3bb62bdc3ad0c9b9b7c8ac41578e42721d9
Author: Marco Leise  gmx  de>
AuthorDate: Wed Jul  7 15:20:30 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Wed Jul  7 15:20:30 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=655df3bb

dscanner-0.11.1

Signed-off-by: Marco Leise  gmx.de>

 dev-util/dscanner/Manifest   |  2 +
 dev-util/dscanner/dscanner-0.11.1.ebuild | 81 
 2 files changed, 83 insertions(+)

diff --git a/dev-util/dscanner/Manifest b/dev-util/dscanner/Manifest
index 027fdfd..fbc7dc6 100644
--- a/dev-util/dscanner/Manifest
+++ b/dev-util/dscanner/Manifest
@@ -1,5 +1,7 @@
 DIST containers-f4e79375539554b3793adf1c557361a64a073524.tar.gz 55265 BLAKE2B 
208ba1baf12a6f690861bc2798c0b94f46f8155509832613f4d2308826c14ee951a7bb3e45bcea852e4747308c267bb1d37cf5383ecea80ebf2dabf5ca017b51
 SHA512 
d1779a060b3c846ad70942b5c7f8d05733d58964a4585913a3515d8dfe2dcc811a57af1d7bdb6e3606ccce1ba637f9f029de07213fddea00e2305c9d75293be1
+DIST containers-fc1625a5a0c253272b80addfb4107928495fd647.tar.gz 55220 BLAKE2B 
67851802c64c2e22c40688e050e8ba3825d6152df0fed2130d3585b77264ddd0ff0444c199d95330116887d6711935b82cdba392e557acf22d353b094c4be8a4
 SHA512 
ff13091bd8ccd2fbfdb18284d81cf3789f208cc3e9f07f36cfb87122efb36b364c3201c695c9b0267705576561270a6f2a9ec91ce8776a7d683db4bf36ca328b
 DIST dscanner-0.11.0.tar.gz 90627 BLAKE2B 
794abf01fe0c2f9929c5bc9cc8a86021504f0d74114df5876f1aff41f937c5c008d8f1f995c93aae661eaae50da1ddf69654748367c86eef51491f900cc699a1
 SHA512 
31261713deab15ccb00ddbb4a4d19fba3b58d34b611a7b840f8851b72cf3350148a2b4e472bb3c48d325b5b4720f4d4580b0a179361a27159d9204934801603e
+DIST dscanner-0.11.1.tar.gz 90803 BLAKE2B 
b90ed5b8067d675c2e25d35e967fdd7313fa5dd5758e179aa687c228aa91d099f2231758cbb12941cb73594d6024f8baf7f8b4ebc0f1c730a6e7d18eb8b16b73
 SHA512 
321ded16f9cf35835fb779ad0fd5bf2b89b861842798100e0b28d0b70027b01e92500621e6d3797ee31eeef86f1deaf36b419b04e4dc7fbae6efe4a292d47a3a
 DIST dsymbol-b8920c2a4593e24d1ced91f8f0bce9e50f598e4d.tar.gz 34794 BLAKE2B 
e863b47e51263c564d38695b35dd8c225c69d657d5aaf7c09eb240d999b91aa2fd3cf0911e4265467b1c314e3c7365bf4a109eac6190c4326a8a12eef4e6d56b
 SHA512 
fcb6dce5c28c87dee1bc850646b739841e3e6c23108d7e47545750cc810b6aede661ae18895459a82518d38864ed6aee1c5bed390a40057b12c54808791bfcd5
 DIST inifiled-cecaff8037a60db2a51c9bded4802c87d938a44e.tar.gz 8251 BLAKE2B 
fa0bb78c11f69e257a0974c16188475d50fcf2a56138fc288d6262be91604b8e706bfab2572b2d0e358c8366b400a2c5a3af6ba87d5243825ddf26a5a03fbfe2
 SHA512 
9a3c66eca2b48350c798fd0a54d37c8714d6a499e8412983f1bda2f00cda6fe1439bfbc6766d32529f3d7cc708a0528c52c077f9169727b492616691833c52d0
 DIST libddoc-9cf851e4476bdadccd96f3589e16ab9f9881c76d.tar.gz 20108 BLAKE2B 
18b98b4fc9fdb409184b3d337147625953c1b78442ca956fcc774857c16006518d746c43cd93ab00fea10bee4beaa72c10d13590064a52080fd882361684
 SHA512 
b684d63d4db647f7366154e7631917842ccaac2c95a09ab58065db08b176352a44b674c788bd726e3c83d78dbc5c2134d468cfb7cb212c5dff65b5442174ade6

diff --git a/dev-util/dscanner/dscanner-0.11.1.ebuild 
b/dev-util/dscanner/dscanner-0.11.1.ebuild
new file mode 100644
index 000..da5ec99
--- /dev/null
+++ b/dev-util/dscanner/dscanner-0.11.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Swiss-army knife for D source code"
+HOMEPAGE="https://github.com/dlang-community/D-Scanner;
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+CONTAINERS="fc1625a5a0c253272b80addfb4107928495fd647"
+DSYMBOL="b8920c2a4593e24d1ced91f8f0bce9e50f598e4d"
+INIFILED="cecaff8037a60db2a51c9bded4802c87d938a44e"
+LIBDDOC="9cf851e4476bdadccd96f3589e16ab9f9881c76d"
+LIBDPARSE="6f0893f6b07ec561d382f26c81e74f7788056828"
+ALLOCATOR="d6e6ce4a838e0dad43ef13f050f96627339cdccd"
+GITHUB_URI="https://codeload.github.com;
+SRC_URI="
+   ${GITHUB_URI}/dlang-community/${PN}/tar.gz/v${PV} -> ${P}.tar.gz
+   ${GITHUB_URI}/dlang-community/containers/tar.gz/${CONTAINERS} -> 
containers-${CONTAINERS}.tar.gz
+   ${GITHUB_URI}/dlang-community/dsymbol/tar.gz/${DSYMBOL} -> 
dsymbol-${DSYMBOL}.tar.gz
+   ${GITHUB_URI}/burner/inifiled/tar.gz/${INIFILED} -> 
inifiled-${INIFILED}.tar.gz
+   ${GITHUB_URI}/economicmodeling/libddoc/tar.gz/${LIBDDOC} -> 
libddoc-${LIBDDOC}.tar.gz
+   ${GITHUB_URI}/dlang-community/libdparse/tar.gz/${LIBDPARSE} -> 
libdparse-${LIBDPARSE}.tar.gz
+   ${GITHUB_URI}/dlang-community/stdx-allocator/tar.gz/${ALLOCATOR} -> 
stdx-allocator-${ALLOCATOR}.tar.gz
+   "
+S="${WORKDIR}/D-Scanner-${PV}"
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang
+
+src_prepare() {
+   mkdir bin || die "Failed to create 'bin' directory.&

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/, dev-util/dub/files/, dev-util/dub/, dev-lang/dmd/

2021-05-21 Thread Marco Leise
commit: fff004c8f33dc7e877fe223833cf9d147c720e54
Author: Marco Leise  gmx  de>
AuthorDate: Mon May 17 15:01:24 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon May 17 15:01:24 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=fff004c8

dmd-2.096.1 & dub-1.25.0

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest  |  3 +-
 .../dmd/{dmd-2.095.0.ebuild => dmd-2.095.1.ebuild} |  0
 .../dmd/{dmd-2.095.0.ebuild => dmd-2.096.1.ebuild} |  0
 dev-util/dlang-tools/Manifest  |  3 +-
 ...s-2.095.0.ebuild => dlang-tools-2.095.1.ebuild} |  0
 ...s-2.095.0.ebuild => dlang-tools-2.096.1.ebuild} |  0
 dev-util/dub/Manifest  |  1 +
 dev-util/dub/dub-1.25.0.ebuild | 39 ++
 .../dub/files/dub-1.25.0-gdc-dmd-pathfix.patch | 16 +
 9 files changed, 60 insertions(+), 2 deletions(-)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 94bf35f..7f3af99 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -30,4 +30,5 @@ DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 
4db4c1733ecfdaa79a396039b8be735c2
 DIST dmd.2.092.1.linux.tar.xz 24354760 BLAKE2B 
dd342c7cbb22f081720719a9aa2af40adb6bd9b6f25257eb85dc1e8b977dc80de87475b7fd9652c0c1cbba0e5115febd69969dce1f883e1a87e0f2a45b105d82
 SHA512 
df02256148a06bdab1427bed4428230b804da45e5241e6289f72fbc2bbf64020fe63a84b7aa91c36acb60ea8fb048933dc5a8c31f954df2637fd44a2964da0a3
 DIST dmd.2.093.1.linux.tar.xz 24506488 BLAKE2B 
101edbe659ddb3ce6ed0d66762a0d476d839c9baf3de8aa9e0bfbe67345c6a35412313070a77169e20bfe1b7a1dced2aade1d0f67f9a866ca0037dee425d3fab
 SHA512 
47b366c5f3ebfc52324706d79a595daf61bc9a95d8a12237ff2920795dea165daccce659a30cd89dfd221ebfae43f9ce6234a37bd10af63c20222fe9e4482c5d
 DIST dmd.2.094.2.linux.tar.xz 22232888 BLAKE2B 
ba3116f3a9fd9516cd1ac792f950d4ba6c27a51631e2f48698f92506daa77b0cb45e238292b0200a85def5013e5272a9d2725f74b85e5cbe1cfabf8fcdb568eb
 SHA512 
a880928aeb6f16dc1dea7ac406cca2f8dfa75030725e5cefc9a48c1cc3e5c884800367efc293d7f9eaceb3c6c6cae2e3baea781786ccb438231c0734267ad0f0
-DIST dmd.2.095.0.linux.tar.xz 22597556 BLAKE2B 
c32ae6f76831dd89b63cb46b420735c7e999b4c3cb7572f73b121c974f7c7f719a93b5849fd84c8df91dfccdd0f030a09567a26bc208622c06af5eb29d78fbb4
 SHA512 
cf4b14dfe70e52bfc92b688a0eccb7c2e35c21ace9180fb14db93620a5c32d5dfd1d2e2b7dde2568024f8e2ba5b0bb9c431e75c77a757e9282114a75ff44bcd0
+DIST dmd.2.095.1.linux.tar.xz 22602160 BLAKE2B 
874f28ab25b486c68707c4b8723ace3be5507162ce36a6c69550b3202b7deeab448bcc5b72e7492a20f9dd01648ed174506baf7460a26cf572db710e62cbf892
 SHA512 
5bb25551d6e2e9456225d00d9c082db1464e2ebf238f5781abb18daf29d42e62591603b0a044d9f63ddd0407e908f86c370806610d427c5cd7a100f8fbc74cee
+DIST dmd.2.096.1.linux.tar.xz 22825496 BLAKE2B 
2a7973aaa9c713bfd29e783b459c97f6b6a68e2ce5d0674477997236f15b623ce45517c0ff59e33252e69aa3a70862ca0ec5cb7d077a050dddffef26fda02106
 SHA512 
de6d291f0abdd9a504522d0094a8d20beb94f6a8bd2c2b92d90267b5494ccd11f8df436b7c4ecc00d56cea0bdbb09d02376c8453e08c636ca92af38ca8fa0dbe

diff --git a/dev-lang/dmd/dmd-2.095.0.ebuild b/dev-lang/dmd/dmd-2.095.1.ebuild
similarity index 100%
copy from dev-lang/dmd/dmd-2.095.0.ebuild
copy to dev-lang/dmd/dmd-2.095.1.ebuild

diff --git a/dev-lang/dmd/dmd-2.095.0.ebuild b/dev-lang/dmd/dmd-2.096.1.ebuild
similarity index 100%
rename from dev-lang/dmd/dmd-2.095.0.ebuild
rename to dev-lang/dmd/dmd-2.096.1.ebuild

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 7e19fd9..7d28a64 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -29,7 +29,8 @@ DIST dlang-tools-2.091.1.tar.gz 117714 BLAKE2B 
bd0957f0e70401b1ededf29be7f942da1
 DIST dlang-tools-2.092.1.tar.gz 119015 BLAKE2B 
35121ccda680297d686b6133b80f27d04c133d3d6add4a335294c203a58475326563b5f81cd90a3d1b261c7799b244b739924ec32a6bbf887a98dcad486b64b4
 SHA512 
84d69e2b5e073bc038f438304060a490bc41c740eba14599b911aa66cc40b0f4ba1fa55536c77f01c6964210025283a3c6d32768493e9ca1e021eadaaa38f8b2
 DIST dlang-tools-2.093.1.tar.gz 118852 BLAKE2B 
d797d8eb5de2e8a8a404b0b77cff3fb8812bddf6e0b796396971fe0b409a11f882d1d5e54bbda0c477e710cdfe3e63578da0e8b6fc3929be7b062a01673d31f8
 SHA512 
db6de62436b10c5e52516b96ee695c2ed5952a8a4fc3fdc27b31596c02f5674afb0b5e40833b32f633fb5ac58cbafc934c0cdacb7826d0a1ca1658bd7301ddcf
 DIST dlang-tools-2.094.2.tar.gz 118427 BLAKE2B 
a590f5e5490e3f51b55a9bd4018d38ea0ee84865af52869666ca9afbec1041ce4463dab707997b1d927a0c6284cbf82f248999582ea4c0fbc72fa7fffc4df1c4
 SHA512 
8fc9d95e77317afd0c73c8e2b85b01175d4d3494116ec6550f8c9d99d5ecfde9e8e4ff1aa8eb7477e4974faf6b66fb0dbc32bcb7d2facf7cec6cfadd8ea9ad81
-DIST dlang-tools-2.095.0.tar.gz 129282 BLAKE2B 
eaf0cdda72d02603057d60dba8b4ca04fbb3abb49e3ffbd2a02c8c2357cbfdb93e8342ef6fae8b95887d23792c36ec8909508b9790dc7d1

[gentoo-commits] repo/user/dlang:master commit in: dev-libs/gtkd/

2021-05-21 Thread Marco Leise
commit: daa62b1afb66f09d875435e1ecb598bd5bc1aa84
Author: Marco Leise  gmx  de>
AuthorDate: Mon May 17 15:27:26 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon May 17 15:27:26 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=daa62b1a

gtkd-3.9.0

Signed-off-by: Marco Leise  gmx.de>

 dev-libs/gtkd/Manifest  |   1 +
 dev-libs/gtkd/gtkd-3.9.0.ebuild | 119 
 2 files changed, 120 insertions(+)

diff --git a/dev-libs/gtkd/Manifest b/dev-libs/gtkd/Manifest
index 9dbe82c..5161ad5 100644
--- a/dev-libs/gtkd/Manifest
+++ b/dev-libs/gtkd/Manifest
@@ -1,2 +1,3 @@
 DIST GtkD-2.4.2.zip 4190939 BLAKE2B 
90a47d0882cb57f94b75a155cb949e4272669764abefcc65b4c0cdece05409e669d87076d094bf8f5f7c342c9be506006f78314341a8291b858d787599a29efa
 SHA512 
2d936c9ab69f8ea6fbd91696c91f04820f579e3cdb85914cda6611ac675dadd0d6e8d792ffced640097797f6851016474fadf964e2fc5032262c0945b875cd46
 DIST GtkD-3.8.5.zip 4513387 BLAKE2B 
eb2bf2a5103e14300dee6c3f9abb567b35af272a479c7a4b8dadd4bb480b5aec996a9e54c7fc3a319cbff30bf9dcec71167a05e1440b501b0f91e5ebae79f191
 SHA512 
efd43a72a514b0b8de9f1db982f2304c264e3a68915da849fe1d6a5c24b8abe2a072526bba3f1c1e3bea81c162de33cd8c570092438c016087d94e875c9a32a5
+DIST GtkD-3.9.0.zip 4576099 BLAKE2B 
50d0bda16f3026f1c068f7b65049005b86367ee1ced581bb2f941c202e0038f1bc6be350bd4bcb30f69ec0696ae0e7bbf4336546153bda389683d44c87d58eac
 SHA512 
f8b8a7b83a23af990abb77f16e4bddf2f72bb65ad210ff8f138b0d4ff66fb5fb2a73a3cbe868a8d2ecf3abf98ece5af771af63068dc2fbf8668e46039320cf0f

diff --git a/dev-libs/gtkd/gtkd-3.9.0.ebuild b/dev-libs/gtkd/gtkd-3.9.0.ebuild
new file mode 100644
index 000..90a9580
--- /dev/null
+++ b/dev-libs/gtkd/gtkd-3.9.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="GtkD is a D binding and OO wrapper of GTK+"
+HOMEPAGE="http://gtkd.org/;
+LICENSE="LGPL-3"
+
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="https://gtkd.org/Downloads/sources/GtkD-${PV}.zip;
+
+DLANG_VERSION_RANGE="2.074-"
+DLANG_PACKAGE_TYPE="multi"
+
+inherit dlang
+
+BDEPEND="app-arch/unzip"
+RDEPEND="
+   >=x11-libs/gtk+-3.24:3[${MULTILIB_USEDEP}]
+   >=dev-libs/glib-2.60:2[${MULTILIB_USEDEP}]
+   >=x11-libs/pango-1.43[${MULTILIB_USEDEP}]
+   >=dev-libs/atk-2.32[${MULTILIB_USEDEP}]
+   >=x11-libs/gdk-pixbuf-2.38:2[${MULTILIB_USEDEP}]
+   >=x11-libs/cairo-1.12.2[${MULTILIB_USEDEP}]
+   sourceview? ( >=x11-libs/gtksourceview-4.2:4 )
+   gstreamer? ( >=media-libs/gstreamer-1.16:1.0[${MULTILIB_USEDEP}] )
+   vte? ( >=x11-libs/vte-0.56:2.91 )
+   peas? ( >=dev-libs/libpeas-1.20 )
+"
+
+GTKD_USE_FLAGS=(gtk  opengl sourceview gstreamer  vte  peas)
+GTKD_LIB_NAMES=(gtkd gtkdgl gtkdsv gstreamerd vted peasd)
+GTKD_SRC_DIRS=( gtkd gtkdgl sourceview gstreamer  vte  peas)
+IUSE="${GTKD_USE_FLAGS[@]:1} static-libs"
+
+MAJOR=$(ver_cut 1)
+MINOR=$(ver_cut 2-)
+
+src_unpack() {
+   unzip -q "${DISTDIR}/${A}" -d "${S}"
+}
+
+d_src_compile() {
+   compile_libs() {
+   # Build the shared library version of the component
+   # The test phase expects no version extension on the .so
+   local sources=generated/${SRC_DIR}/*/*.d
+   if [ ${LIB_NAME} != gtkdgl ]; then
+   sources+=" "generated/${SRC_DIR}/*/c/*.d
+   fi
+   if [ ${LIB_NAME} == gstreamerd ]; then
+   sources+=" "generated/gstreamer/gst/*/*.d" 
"generated/gstreamer/gst/*/c/*.d
+   fi
+   echo $sources
+   dlang_compile_lib_so lib${LIB_NAME}-${MAJOR}.so \
+   lib${LIB_NAME}-${MAJOR}.so.0 -Isrc -Igenerated/gtkd 
${sources}
+
+   # Build the static library version
+   if use static-libs; then
+   local libname=lib${LIB_NAME}-${MAJOR}
+   if [[ "${DLANG_VENDOR}" == "DigitalMars" ]]; then
+   dlang_exec ${DC} ${DCFLAGS} -m${MODEL} -Isrc 
-Igenerated/gtkd ${sources} -lib ${LDFLAGS} ${DLANG_OUTPUT_FLAG}${libname}.a
+   elif [[ "${DLANG_VENDOR}" == "GNU" ]]; then
+   dlang_exec ${DC} ${DCFLAGS} -m${MODEL} -Isrc 
-Igenerated/gtkd ${sources} -c ${LDFLAGS} ${DLANG_OUTPUT_FLAG}${libname}.o
+   dlang_exec ar rcs ${libname}.a ${libname}.o
+   elif [[ "${DLANG_VENDOR}" == "LDC" ]]; then
+   dlang_exec ${DC} ${DCFLAGS} -m${MODEL} -Isrc 
-Igenerated/gtkd ${sources} -lib -od=${SRC_DIR} -oq ${LDFLAGS} 
${DLANG_OUTPUT_FLAG}${libname}.a

[gentoo-commits] repo/user/dlang:master commit in: /

2021-01-25 Thread Marco Leise
commit: 3bd9100a54efd9da5ada8ffd357a58c63dcb607b
Author: Marco Leise  gmx  de>
AuthorDate: Mon Jan 25 17:17:03 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jan 25 17:17:03 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=3bd9100a

updated .travis.yml

Signed-off-by: Marco Leise  gmx.de>

 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 1f549d7..e3ebb84 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,7 @@ language: python
 python:
 - "3.8"
 env:
-- PORTAGE_VER="3.0.8"
+- PORTAGE_VER="3.0.13"
 before_install:
 - sudo apt-get -qq update
 - pip install lxml pyyaml



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/, dev-lang/dmd/

2021-01-25 Thread Marco Leise
commit: 010349a862078e4269e8a36a58b311eb5f384c1f
Author: Marco Leise  gmx  de>
AuthorDate: Mon Jan 25 17:11:36 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jan 25 17:11:36 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=010349a8

dmd-2.095.0

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest   |  1 +
 dev-lang/dmd/dmd-2.095.0.ebuild | 14 +++
 dev-util/dlang-tools/Manifest   |  1 +
 dev-util/dlang-tools/dlang-tools-2.095.0.ebuild | 54 +
 4 files changed, 70 insertions(+)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 36f5a3a..94bf35f 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -30,3 +30,4 @@ DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 
4db4c1733ecfdaa79a396039b8be735c2
 DIST dmd.2.092.1.linux.tar.xz 24354760 BLAKE2B 
dd342c7cbb22f081720719a9aa2af40adb6bd9b6f25257eb85dc1e8b977dc80de87475b7fd9652c0c1cbba0e5115febd69969dce1f883e1a87e0f2a45b105d82
 SHA512 
df02256148a06bdab1427bed4428230b804da45e5241e6289f72fbc2bbf64020fe63a84b7aa91c36acb60ea8fb048933dc5a8c31f954df2637fd44a2964da0a3
 DIST dmd.2.093.1.linux.tar.xz 24506488 BLAKE2B 
101edbe659ddb3ce6ed0d66762a0d476d839c9baf3de8aa9e0bfbe67345c6a35412313070a77169e20bfe1b7a1dced2aade1d0f67f9a866ca0037dee425d3fab
 SHA512 
47b366c5f3ebfc52324706d79a595daf61bc9a95d8a12237ff2920795dea165daccce659a30cd89dfd221ebfae43f9ce6234a37bd10af63c20222fe9e4482c5d
 DIST dmd.2.094.2.linux.tar.xz 22232888 BLAKE2B 
ba3116f3a9fd9516cd1ac792f950d4ba6c27a51631e2f48698f92506daa77b0cb45e238292b0200a85def5013e5272a9d2725f74b85e5cbe1cfabf8fcdb568eb
 SHA512 
a880928aeb6f16dc1dea7ac406cca2f8dfa75030725e5cefc9a48c1cc3e5c884800367efc293d7f9eaceb3c6c6cae2e3baea781786ccb438231c0734267ad0f0
+DIST dmd.2.095.0.linux.tar.xz 22597556 BLAKE2B 
c32ae6f76831dd89b63cb46b420735c7e999b4c3cb7572f73b121c974f7c7f719a93b5849fd84c8df91dfccdd0f030a09567a26bc208622c06af5eb29d78fbb4
 SHA512 
cf4b14dfe70e52bfc92b688a0eccb7c2e35c21ace9180fb14db93620a5c32d5dfd1d2e2b7dde2568024f8e2ba5b0bb9c431e75c77a757e9282114a75ff44bcd0

diff --git a/dev-lang/dmd/dmd-2.095.0.ebuild b/dev-lang/dmd/dmd-2.095.0.ebuild
new file mode 100644
index 000..1701d93
--- /dev/null
+++ b/dev-lang/dmd/dmd-2.095.0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KEYWORDS="-* ~amd64 ~x86"
+YEAR=2021
+DLANG_VERSION_RANGE="2.076-"
+
+inherit dmd
+
+PATCHES=(
+   "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
+)

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 637f34f..7e19fd9 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -29,6 +29,7 @@ DIST dlang-tools-2.091.1.tar.gz 117714 BLAKE2B 
bd0957f0e70401b1ededf29be7f942da1
 DIST dlang-tools-2.092.1.tar.gz 119015 BLAKE2B 
35121ccda680297d686b6133b80f27d04c133d3d6add4a335294c203a58475326563b5f81cd90a3d1b261c7799b244b739924ec32a6bbf887a98dcad486b64b4
 SHA512 
84d69e2b5e073bc038f438304060a490bc41c740eba14599b911aa66cc40b0f4ba1fa55536c77f01c6964210025283a3c6d32768493e9ca1e021eadaaa38f8b2
 DIST dlang-tools-2.093.1.tar.gz 118852 BLAKE2B 
d797d8eb5de2e8a8a404b0b77cff3fb8812bddf6e0b796396971fe0b409a11f882d1d5e54bbda0c477e710cdfe3e63578da0e8b6fc3929be7b062a01673d31f8
 SHA512 
db6de62436b10c5e52516b96ee695c2ed5952a8a4fc3fdc27b31596c02f5674afb0b5e40833b32f633fb5ac58cbafc934c0cdacb7826d0a1ca1658bd7301ddcf
 DIST dlang-tools-2.094.2.tar.gz 118427 BLAKE2B 
a590f5e5490e3f51b55a9bd4018d38ea0ee84865af52869666ca9afbec1041ce4463dab707997b1d927a0c6284cbf82f248999582ea4c0fbc72fa7fffc4df1c4
 SHA512 
8fc9d95e77317afd0c73c8e2b85b01175d4d3494116ec6550f8c9d99d5ecfde9e8e4ff1aa8eb7477e4974faf6b66fb0dbc32bcb7d2facf7cec6cfadd8ea9ad81
+DIST dlang-tools-2.095.0.tar.gz 129282 BLAKE2B 
eaf0cdda72d02603057d60dba8b4ca04fbb3abb49e3ffbd2a02c8c2357cbfdb93e8342ef6fae8b95887d23792c36ec8909508b9790dc7d198ee26988d3da2c9f
 SHA512 
8eaf4c569413682b7c0681e3eb1272b6a829d5fbba8b12799f0f472e56a7e5cf7ec1714480d8f63c3c565a3ca4c6e654b514ef2c1a45b099b56b379575c95d6f
 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 
cfdb4922c38d9f0ced941eeb4578d71f09d65201d2f89cfc73e46ae73f0939c74fa92d7f003b87a28f814c5b2cc0dda68

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dub/, dev-util/dub/files/

2021-01-25 Thread Marco Leise
commit: f10b22708bcab09dcde87c643e75756015282d76
Author: Marco Leise  gmx  de>
AuthorDate: Mon Jan 25 16:54:27 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jan 25 16:54:27 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f10b2270

dub-1.24

Signed-off-by: Marco Leise  gmx.de>

 dev-util/dub/Manifest  |  1 +
 dev-util/dub/dub-1.24.0.ebuild | 39 ++
 .../dub/files/dub-1.24.0-gdc-dmd-pathfix.patch | 16 +
 3 files changed, 56 insertions(+)

diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index a9e0579..2a20ba7 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1 +1,2 @@
 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.24.0.ebuild b/dev-util/dub/dub-1.24.0.ebuild
new file mode 100644
index 000..6c03a22
--- /dev/null
+++ b/dev-util/dub/dub-1.24.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 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.081-"
+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 $(

[gentoo-commits] repo/user/dlang:master commit in: eclass/, dev-lang/dmd/, dev-util/dlang-tools/

2021-01-25 Thread Marco Leise
commit: 7988b41505fc29433890ea1bf4a9822bec339f3d
Author: Marco Leise  gmx  de>
AuthorDate: Mon Jan 25 16:27:15 2021 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Jan 25 16:49:37 2021 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=7988b415

dmd-2.094.2

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest |  2 +-
 dev-lang/dmd/{dmd-2.094.1.ebuild => dmd-2.094.2.ebuild}   |  0
 dev-util/dlang-tools/Manifest |  2 +-
 ...{dlang-tools-2.094.1.ebuild => dlang-tools-2.094.2.ebuild} |  0
 eclass/dmd.eclass | 11 +--
 5 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 95055ba..36f5a3a 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -29,4 +29,4 @@ DIST dmd.2.090.1.linux.tar.xz 25595804 BLAKE2B 
addd21fc482aa90d816593312aa649094
 DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 
4db4c1733ecfdaa79a396039b8be735c217841deefd41b91b72a25e075e0f064892aa07497d840ef738021f66b58071d3d8c228573110614c43036ad51d7f701
 SHA512 
94db61b8cabd6229b404ce34e1618a710d6780bd7ce6db4ac666221b9bef616046ab9e4e793651e4e976fb4dd0eeedd5445abc9169ca27be753ff5611001e6bb
 DIST dmd.2.092.1.linux.tar.xz 24354760 BLAKE2B 
dd342c7cbb22f081720719a9aa2af40adb6bd9b6f25257eb85dc1e8b977dc80de87475b7fd9652c0c1cbba0e5115febd69969dce1f883e1a87e0f2a45b105d82
 SHA512 
df02256148a06bdab1427bed4428230b804da45e5241e6289f72fbc2bbf64020fe63a84b7aa91c36acb60ea8fb048933dc5a8c31f954df2637fd44a2964da0a3
 DIST dmd.2.093.1.linux.tar.xz 24506488 BLAKE2B 
101edbe659ddb3ce6ed0d66762a0d476d839c9baf3de8aa9e0bfbe67345c6a35412313070a77169e20bfe1b7a1dced2aade1d0f67f9a866ca0037dee425d3fab
 SHA512 
47b366c5f3ebfc52324706d79a595daf61bc9a95d8a12237ff2920795dea165daccce659a30cd89dfd221ebfae43f9ce6234a37bd10af63c20222fe9e4482c5d
-DIST dmd.2.094.1.linux.tar.xz 22232788 BLAKE2B 
90021cbf8f9febcb6bc51d40008aa509b43915c05fa906ece98022d21ca0c44e1fb714516704e6a2305e20467906824b069f9760076c057144594d57b027597c
 SHA512 
1cbf445ca9ffc38a899cbfcdf826cdff98342a62f7a34e41f22f17e777215636e6eb0c480b5c64b1773d58276a3df567f41beaf65a94bfbf3efc071f6d30397a
+DIST dmd.2.094.2.linux.tar.xz 22232888 BLAKE2B 
ba3116f3a9fd9516cd1ac792f950d4ba6c27a51631e2f48698f92506daa77b0cb45e238292b0200a85def5013e5272a9d2725f74b85e5cbe1cfabf8fcdb568eb
 SHA512 
a880928aeb6f16dc1dea7ac406cca2f8dfa75030725e5cefc9a48c1cc3e5c884800367efc293d7f9eaceb3c6c6cae2e3baea781786ccb438231c0734267ad0f0

diff --git a/dev-lang/dmd/dmd-2.094.1.ebuild b/dev-lang/dmd/dmd-2.094.2.ebuild
similarity index 100%
rename from dev-lang/dmd/dmd-2.094.1.ebuild
rename to dev-lang/dmd/dmd-2.094.2.ebuild

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index f4207a6..637f34f 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -28,7 +28,7 @@ DIST dlang-tools-2.090.1.tar.gz 117709 BLAKE2B 
8a714a5bd6860bf4a856fbbde2a7188b4
 DIST dlang-tools-2.091.1.tar.gz 117714 BLAKE2B 
bd0957f0e70401b1ededf29be7f942da1445c66e3ea4b47f31b136413b506c3dd03faa4cb1962a10ae51edd0cb18b282da072b0ba63f0f0d7e2cd3e460924e3a
 SHA512 
b8fb4f4c1e9aed1e2134644152a32a7c6073d801458bf0a45a23e86cd761a19c4b517365112edc7af73fbef3c26b4106fa0ee7478a78fa41c531a060c25e3955
 DIST dlang-tools-2.092.1.tar.gz 119015 BLAKE2B 
35121ccda680297d686b6133b80f27d04c133d3d6add4a335294c203a58475326563b5f81cd90a3d1b261c7799b244b739924ec32a6bbf887a98dcad486b64b4
 SHA512 
84d69e2b5e073bc038f438304060a490bc41c740eba14599b911aa66cc40b0f4ba1fa55536c77f01c6964210025283a3c6d32768493e9ca1e021eadaaa38f8b2
 DIST dlang-tools-2.093.1.tar.gz 118852 BLAKE2B 
d797d8eb5de2e8a8a404b0b77cff3fb8812bddf6e0b796396971fe0b409a11f882d1d5e54bbda0c477e710cdfe3e63578da0e8b6fc3929be7b062a01673d31f8
 SHA512 
db6de62436b10c5e52516b96ee695c2ed5952a8a4fc3fdc27b31596c02f5674afb0b5e40833b32f633fb5ac58cbafc934c0cdacb7826d0a1ca1658bd7301ddcf
-DIST dlang-tools-2.094.1.tar.gz 118431 BLAKE2B 
c493152178914026929aa0bc323908c5ccf29199b9d19431acaae0a70acd9b27bba00b054d2fa4efa5a1ddf7ff6705b1a9d6922ea609db38d34011cc2f2351ad
 SHA512 
7ca5641951c31e345b0965d52d4086eb6eb981ae9bf6e0db4489633c2c165e3b5d9c88b96c22578ab77641b52ab6005f12d65c1d7444a17880165fab4cf5bc69
+DIST dlang-tools-2.094.2.tar.gz 118427 BLAKE2B 
a590f5e5490e3f51b55a9bd4018d38ea0ee84865af52869666ca9afbec1041ce4463dab707997b1d927a0c6284cbf82f248999582ea4c0fbc72fa7fffc4df1c4
 SHA512 
8fc9d95e77317afd0c73c8e2b85b01175d4d3494116ec6550f8c9d99d5ecfde9e8e4ff1aa8eb7477e4974faf6b66fb0dbc32bcb7d2facf7cec6cfadd8ea9ad81
 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B 
a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9
 SHA512 
a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf
 DIST dlang.org-2.065.0.tar.gz 

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dub/files/, dev-util/dub/, dev-util/dlang-tools/, dev-lang/dmd/

2020-11-15 Thread Marco Leise
commit: 4308f7cd9a029f13956d9851b8fba0828b5ee8f9
Author: Marco Leise  gmx  de>
AuthorDate: Mon Nov 16 00:58:38 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Nov 16 04:02:45 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=4308f7cd

dmd-2.094.1 & dub-1.23

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest  |  1 +
 dev-lang/dmd/dmd-2.094.1.ebuild| 14 ++
 dev-util/dlang-tools/Manifest  |  1 +
 dev-util/dlang-tools/dlang-tools-2.094.1.ebuild| 54 ++
 dev-util/dub/Manifest  |  1 +
 dev-util/dub/dub-1.23.0.ebuild | 39 
 .../dub/files/dub-1.23.0-gdc-dmd-pathfix.patch | 16 +++
 7 files changed, 126 insertions(+)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 3294ae2..95055ba 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -29,3 +29,4 @@ DIST dmd.2.090.1.linux.tar.xz 25595804 BLAKE2B 
addd21fc482aa90d816593312aa649094
 DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 
4db4c1733ecfdaa79a396039b8be735c217841deefd41b91b72a25e075e0f064892aa07497d840ef738021f66b58071d3d8c228573110614c43036ad51d7f701
 SHA512 
94db61b8cabd6229b404ce34e1618a710d6780bd7ce6db4ac666221b9bef616046ab9e4e793651e4e976fb4dd0eeedd5445abc9169ca27be753ff5611001e6bb
 DIST dmd.2.092.1.linux.tar.xz 24354760 BLAKE2B 
dd342c7cbb22f081720719a9aa2af40adb6bd9b6f25257eb85dc1e8b977dc80de87475b7fd9652c0c1cbba0e5115febd69969dce1f883e1a87e0f2a45b105d82
 SHA512 
df02256148a06bdab1427bed4428230b804da45e5241e6289f72fbc2bbf64020fe63a84b7aa91c36acb60ea8fb048933dc5a8c31f954df2637fd44a2964da0a3
 DIST dmd.2.093.1.linux.tar.xz 24506488 BLAKE2B 
101edbe659ddb3ce6ed0d66762a0d476d839c9baf3de8aa9e0bfbe67345c6a35412313070a77169e20bfe1b7a1dced2aade1d0f67f9a866ca0037dee425d3fab
 SHA512 
47b366c5f3ebfc52324706d79a595daf61bc9a95d8a12237ff2920795dea165daccce659a30cd89dfd221ebfae43f9ce6234a37bd10af63c20222fe9e4482c5d
+DIST dmd.2.094.1.linux.tar.xz 22232788 BLAKE2B 
90021cbf8f9febcb6bc51d40008aa509b43915c05fa906ece98022d21ca0c44e1fb714516704e6a2305e20467906824b069f9760076c057144594d57b027597c
 SHA512 
1cbf445ca9ffc38a899cbfcdf826cdff98342a62f7a34e41f22f17e777215636e6eb0c480b5c64b1773d58276a3df567f41beaf65a94bfbf3efc071f6d30397a

diff --git a/dev-lang/dmd/dmd-2.094.1.ebuild b/dev-lang/dmd/dmd-2.094.1.ebuild
new file mode 100644
index 000..cce541d
--- /dev/null
+++ b/dev-lang/dmd/dmd-2.094.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KEYWORDS="-* ~amd64 ~x86"
+YEAR=2020
+DLANG_VERSION_RANGE="2.076-"
+
+inherit dmd
+
+PATCHES=(
+   "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
+)

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 6af424e..f4207a6 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -28,6 +28,7 @@ DIST dlang-tools-2.090.1.tar.gz 117709 BLAKE2B 
8a714a5bd6860bf4a856fbbde2a7188b4
 DIST dlang-tools-2.091.1.tar.gz 117714 BLAKE2B 
bd0957f0e70401b1ededf29be7f942da1445c66e3ea4b47f31b136413b506c3dd03faa4cb1962a10ae51edd0cb18b282da072b0ba63f0f0d7e2cd3e460924e3a
 SHA512 
b8fb4f4c1e9aed1e2134644152a32a7c6073d801458bf0a45a23e86cd761a19c4b517365112edc7af73fbef3c26b4106fa0ee7478a78fa41c531a060c25e3955
 DIST dlang-tools-2.092.1.tar.gz 119015 BLAKE2B 
35121ccda680297d686b6133b80f27d04c133d3d6add4a335294c203a58475326563b5f81cd90a3d1b261c7799b244b739924ec32a6bbf887a98dcad486b64b4
 SHA512 
84d69e2b5e073bc038f438304060a490bc41c740eba14599b911aa66cc40b0f4ba1fa55536c77f01c6964210025283a3c6d32768493e9ca1e021eadaaa38f8b2
 DIST dlang-tools-2.093.1.tar.gz 118852 BLAKE2B 
d797d8eb5de2e8a8a404b0b77cff3fb8812bddf6e0b796396971fe0b409a11f882d1d5e54bbda0c477e710cdfe3e63578da0e8b6fc3929be7b062a01673d31f8
 SHA512 
db6de62436b10c5e52516b96ee695c2ed5952a8a4fc3fdc27b31596c02f5674afb0b5e40833b32f633fb5ac58cbafc934c0cdacb7826d0a1ca1658bd7301ddcf
+DIST dlang-tools-2.094.1.tar.gz 118431 BLAKE2B 
c493152178914026929aa0bc323908c5ccf29199b9d19431acaae0a70acd9b27bba00b054d2fa4efa5a1ddf7ff6705b1a9d6922ea609db38d34011cc2f2351ad
 SHA512 
7ca5641951c31e345b0965d52d4086eb6eb981ae9bf6e0db4489633c2c165e3b5d9c88b96c22578ab77641b52ab6005f12d65c1d7444a17880165fab4cf5bc69
 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B 
a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9
 SHA512 
a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf
 DIST dlang.org-2.065.0.tar.gz 1005429 BLAKE2B 
01fc8ec0c5148f910e2923be556208c08a18f00453ffa1f1a22d6725db6489b6f9022cd170caa3a05078baddde353

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/, dev-lang/dmd/

2020-11-15 Thread Marco Leise
commit: 356ad30c1cb79832f62347b496cea4bb83177b31
Author: Marco Leise  gmx  de>
AuthorDate: Mon Nov 16 00:34:22 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Nov 16 04:02:38 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=356ad30c

dmd-2.093.1

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest   | 2 +-
 dev-lang/dmd/{dmd-2.093.0.ebuild => dmd-2.093.1.ebuild} | 0
 dev-util/dlang-tools/Manifest   | 2 +-
 .../{dlang-tools-2.093.0.ebuild => dlang-tools-2.093.1.ebuild}  | 0
 4 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index d76e9d5..3294ae2 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -28,4 +28,4 @@ DIST dmd.2.089.1.linux.tar.xz 25877024 BLAKE2B 
38fdbac595a6d9ea7548ee331aacefec5
 DIST dmd.2.090.1.linux.tar.xz 25595804 BLAKE2B 
addd21fc482aa90d816593312aa6490949e54c3f8f36989eec193e9b09412022afe5d1f7006153f9b258a2c96fed9266ef5a9a94ca9c999cbc3ec1230937dec8
 SHA512 
ebc769d9c4c784b7e59730606e57bbde8dbfaea07be2492a0e475e0818f0ef4aaf3cb2bc8b1be066cc14479d9a3dd0d9655e0b0025c79383dbbbe9b2f2caf04f
 DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 
4db4c1733ecfdaa79a396039b8be735c217841deefd41b91b72a25e075e0f064892aa07497d840ef738021f66b58071d3d8c228573110614c43036ad51d7f701
 SHA512 
94db61b8cabd6229b404ce34e1618a710d6780bd7ce6db4ac666221b9bef616046ab9e4e793651e4e976fb4dd0eeedd5445abc9169ca27be753ff5611001e6bb
 DIST dmd.2.092.1.linux.tar.xz 24354760 BLAKE2B 
dd342c7cbb22f081720719a9aa2af40adb6bd9b6f25257eb85dc1e8b977dc80de87475b7fd9652c0c1cbba0e5115febd69969dce1f883e1a87e0f2a45b105d82
 SHA512 
df02256148a06bdab1427bed4428230b804da45e5241e6289f72fbc2bbf64020fe63a84b7aa91c36acb60ea8fb048933dc5a8c31f954df2637fd44a2964da0a3
-DIST dmd.2.093.0.linux.tar.xz 24477480 BLAKE2B 
a638963c2e98a43150451ca7d6280da5919b8dfea05af784a780cca35d3d61792b1f74842ae8c10221b4256ec3f6f223c84128fedb77933121f0357b5b4bfc86
 SHA512 
804da6df17d027e5584c80ba2ea7575218154b08c3c83c2993bb147887cd4c90da1b73166bf9e0ae18dd2d08054b2de092a39a0825b313afa3c9bb17a0b83f1f
+DIST dmd.2.093.1.linux.tar.xz 24506488 BLAKE2B 
101edbe659ddb3ce6ed0d66762a0d476d839c9baf3de8aa9e0bfbe67345c6a35412313070a77169e20bfe1b7a1dced2aade1d0f67f9a866ca0037dee425d3fab
 SHA512 
47b366c5f3ebfc52324706d79a595daf61bc9a95d8a12237ff2920795dea165daccce659a30cd89dfd221ebfae43f9ce6234a37bd10af63c20222fe9e4482c5d

diff --git a/dev-lang/dmd/dmd-2.093.0.ebuild b/dev-lang/dmd/dmd-2.093.1.ebuild
similarity index 100%
rename from dev-lang/dmd/dmd-2.093.0.ebuild
rename to dev-lang/dmd/dmd-2.093.1.ebuild

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 6db3edd..6af424e 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -27,7 +27,7 @@ DIST dlang-tools-2.089.1.tar.gz 117693 BLAKE2B 
6e499fd01bda7a58036b08f30319549ca
 DIST dlang-tools-2.090.1.tar.gz 117709 BLAKE2B 
8a714a5bd6860bf4a856fbbde2a7188b404b819e11f9ed815688b9acb5fa6e95a95c0fb4aa407495da89a0e3b19dba584be1d90f3c60c2af95090d6e81f221d6
 SHA512 
82f6d3fd4a7f6fd013425894ec5f817c960764479649c97139a019802fc5c2a83671102f1b2a9427e88446055e5a1a4fa884a4b86400a84107b2d5ca322b7a32
 DIST dlang-tools-2.091.1.tar.gz 117714 BLAKE2B 
bd0957f0e70401b1ededf29be7f942da1445c66e3ea4b47f31b136413b506c3dd03faa4cb1962a10ae51edd0cb18b282da072b0ba63f0f0d7e2cd3e460924e3a
 SHA512 
b8fb4f4c1e9aed1e2134644152a32a7c6073d801458bf0a45a23e86cd761a19c4b517365112edc7af73fbef3c26b4106fa0ee7478a78fa41c531a060c25e3955
 DIST dlang-tools-2.092.1.tar.gz 119015 BLAKE2B 
35121ccda680297d686b6133b80f27d04c133d3d6add4a335294c203a58475326563b5f81cd90a3d1b261c7799b244b739924ec32a6bbf887a98dcad486b64b4
 SHA512 
84d69e2b5e073bc038f438304060a490bc41c740eba14599b911aa66cc40b0f4ba1fa55536c77f01c6964210025283a3c6d32768493e9ca1e021eadaaa38f8b2
-DIST dlang-tools-2.093.0.tar.gz 118851 BLAKE2B 
8678f91a9a8b9168314cef88abd9896369109a16c3cad85b2cb450ec73d3a73c289fda6bd998979859fff7c07692986b1e16fa10db79373a4bff0fed3360fc41
 SHA512 
e22cef21b37b05f7abf98e514c836fef1de58eebc219a2c9b6178de336f1b82d4ece87376722dd0a07b6b8803b7bf9cbe9d015a089f709c319f327d7577e35da
+DIST dlang-tools-2.093.1.tar.gz 118852 BLAKE2B 
d797d8eb5de2e8a8a404b0b77cff3fb8812bddf6e0b796396971fe0b409a11f882d1d5e54bbda0c477e710cdfe3e63578da0e8b6fc3929be7b062a01673d31f8
 SHA512 
db6de62436b10c5e52516b96ee695c2ed5952a8a4fc3fdc27b31596c02f5674afb0b5e40833b32f633fb5ac58cbafc934c0cdacb7826d0a1ca1658bd7301ddcf
 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B 
a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9
 SHA512 
a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf
 DIST dlang.org-2.065.0.tar.gz 

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/

2020-11-15 Thread Marco Leise
commit: c98c46007eae1e917fc67abf3ad37286f76d87a3
Author: Marco Leise  gmx  de>
AuthorDate: Mon Nov 16 01:51:13 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Nov 16 04:03:02 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c98c4600

dfmt-0.13.2

Signed-off-by: Marco Leise  gmx.de>

 dev-util/dfmt/Manifest   |  1 +
 dev-util/dfmt/dfmt-0.13.2.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index a586998..c543abb 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,3 +1,4 @@
 DIST dfmt-0.13.0.tar.gz 90119 BLAKE2B 
f47d0a661b8b9c571766e017cf50fc8dcbe0d0a05efc62ddb36734013986d2244d76e4977dc4893d036e297f20c818780d76ea75232168d7a652b0ba8067316f
 SHA512 
1cea004218dc49f9c7079cc2063fccac8b9c97b9683929f2abde6aceedf1f3ad35009fd3978affaf5d33f8779918e9fcf9084a91ba21c87680a25d33bc6bc8ca
+DIST dfmt-0.13.2.tar.gz 91926 BLAKE2B 
0d02600f10143232c62deca8f34ed239bb2e54f0390388aad184d3d78bd39aae5724d22f59d1303a9837173933dd8ca448aedeccb839fdd413ce827199202c35
 SHA512 
a1fb8339da4201d114bfc3748df2d1b4f42505932b1e55f74daa096cf48e91df827c677c7cc1c7df27937e45cebf571cb57551e843261915567e37cf4f3c8f29
 DIST libdparse-1557eb079a2d5958e0a7136f942eea0922d58e8a.tar.gz 132387 BLAKE2B 
180316ef25713eb723e43e13c983f2c7b8c775f7e4c984217b497505ed0f7a9b1eb351867317a1e0957dd368a71b7fe403d8a636baf8ad8240f2b39fb7bc2c69
 SHA512 
1dbab30db4f14d99f27672be12b63bba04534a0c69c58453441b8a654336d9a38c869a6db738442b692d4d7cfdb0f68ed0bfaaa462c58aed0bedef60ea4dfbac
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 
BLAKE2B 
8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e
 SHA512 
893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.13.2.ebuild b/dev-util/dfmt/dfmt-0.13.2.ebuild
new file mode 100644
index 000..50ab11e
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.13.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt;
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LIBDPARSE="1557eb079a2d5958e0a7136f942eea0922d58e8a"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+   https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> 
${PN}-${PV}.tar.gz
+   
https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> 
libdparse-${LIBDPARSE}.tar.gz
+   
https://github.com/dlang-community/stdx-allocator/archive/${ALLOCATOR}.tar.gz 
-> stdx-allocator-${ALLOCATOR}.tar.gz
+   "
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang bash-completion-r1
+
+src_prepare() {
+   mkdir bin || die "Failed to create 'bin' directory."
+   cat > bin/githash.txt << EOF
+v${PV}
+EOF
+   dlang_src_prepare
+}
+
+d_src_compile() {
+   local libdparse_src="../libdparse-${LIBDPARSE}/src"
+   local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+   local imports="src ${libdparse_src} ${allocator_src}"
+   local string_imports="bin"
+
+   dlang_compile_bin "bin/dfmt" "src/dfmt/main.d" "src/dfmt/config.d" 
"src/dfmt/editorconfig.d" \
+   "src/dfmt/ast_info.d" "src/dfmt/indentation.d" 
"src/dfmt/tokens.d" "src/dfmt/wrapping.d" \
+   "src/dfmt/formatter.d" "src/dfmt/globmatch_editorconfig.d" \
+   ${libdparse_src}/dparse/lexer.d 
${libdparse_src}/dparse/parser.d ${libdparse_src}/dparse/ast.d \
+   ${libdparse_src}/dparse/rollback_allocator.d 
${libdparse_src}/dparse/stack_buffer.d \
+   ${libdparse_src}/dparse/trivia.d 
${libdparse_src}/std/experimental/lexer.d \
+   ${allocator_src}/stdx/allocator/common.d 
${allocator_src}/stdx/allocator/internal.d \
+   ${allocator_src}/stdx/allocator/mallocator.d 
${allocator_src}/stdx/allocator/package.d \
+   ${allocator_src}/stdx/allocator/gc_allocator.d 
${allocator_src}/stdx/allocator/typed.d
+}
+
+d_src_test() {
+   cd tests && ./test.sh
+}
+
+d_src_install() {
+   dobin bin/dfmt
+   dodoc README.md LICENSE.txt
+   dobashcomp bash-completion/completions/dfmt
+}



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/dmd/

2020-11-15 Thread Marco Leise
commit: 7c40b1cd8947c61580cb9160f9eb1a195ff31d73
Author: Marco Leise  gmx  de>
AuthorDate: Mon Nov 16 03:55:20 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Nov 16 04:03:57 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=7c40b1cd

some dmd versions don't compile with frontend 2.092 as host compiler, these 
have that option removed now

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/dmd-2.083.1-r2.ebuild | 2 +-
 dev-lang/dmd/dmd-2.084.1-r2.ebuild | 2 +-
 dev-lang/dmd/dmd-2.088.1-r1.ebuild | 2 +-
 dev-lang/dmd/dmd-2.089.1.ebuild| 2 +-
 dev-lang/dmd/dmd-2.090.1.ebuild| 2 +-
 dev-lang/dmd/dmd-2.091.1.ebuild| 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-lang/dmd/dmd-2.083.1-r2.ebuild 
b/dev-lang/dmd/dmd-2.083.1-r2.ebuild
index 54f2016..bd7da2b 100644
--- a/dev-lang/dmd/dmd-2.083.1-r2.ebuild
+++ b/dev-lang/dmd/dmd-2.083.1-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2018
-DLANG_VERSION_RANGE="2.073-"
+DLANG_VERSION_RANGE="2.073-2.091"
 
 inherit dmd
 

diff --git a/dev-lang/dmd/dmd-2.084.1-r2.ebuild 
b/dev-lang/dmd/dmd-2.084.1-r2.ebuild
index 8289941..24f13a1 100644
--- a/dev-lang/dmd/dmd-2.084.1-r2.ebuild
+++ b/dev-lang/dmd/dmd-2.084.1-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2019
-DLANG_VERSION_RANGE="2.073-"
+DLANG_VERSION_RANGE="2.073-2.091"
 
 inherit dmd
 

diff --git a/dev-lang/dmd/dmd-2.088.1-r1.ebuild 
b/dev-lang/dmd/dmd-2.088.1-r1.ebuild
index ec01d83..231b877 100644
--- a/dev-lang/dmd/dmd-2.088.1-r1.ebuild
+++ b/dev-lang/dmd/dmd-2.088.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2019
-DLANG_VERSION_RANGE="2.075-"
+DLANG_VERSION_RANGE="2.075-2.091"
 
 inherit dmd
 

diff --git a/dev-lang/dmd/dmd-2.089.1.ebuild b/dev-lang/dmd/dmd-2.089.1.ebuild
index ec01d83..231b877 100644
--- a/dev-lang/dmd/dmd-2.089.1.ebuild
+++ b/dev-lang/dmd/dmd-2.089.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2019
-DLANG_VERSION_RANGE="2.075-"
+DLANG_VERSION_RANGE="2.075-2.091"
 
 inherit dmd
 

diff --git a/dev-lang/dmd/dmd-2.090.1.ebuild b/dev-lang/dmd/dmd-2.090.1.ebuild
index 41237d0..0a1fb8f 100644
--- a/dev-lang/dmd/dmd-2.090.1.ebuild
+++ b/dev-lang/dmd/dmd-2.090.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2020
-DLANG_VERSION_RANGE="2.076-"
+DLANG_VERSION_RANGE="2.076-2.091"
 
 inherit dmd
 

diff --git a/dev-lang/dmd/dmd-2.091.1.ebuild b/dev-lang/dmd/dmd-2.091.1.ebuild
index 41237d0..0a1fb8f 100644
--- a/dev-lang/dmd/dmd-2.091.1.ebuild
+++ b/dev-lang/dmd/dmd-2.091.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KEYWORDS="-* amd64 x86"
 YEAR=2020
-DLANG_VERSION_RANGE="2.076-"
+DLANG_VERSION_RANGE="2.076-2.091"
 
 inherit dmd
 



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dscanner/

2020-11-15 Thread Marco Leise
commit: 5500e341c992bc56aacf51c3dedb2ae64449aff9
Author: Marco Leise  gmx  de>
AuthorDate: Mon Nov 16 02:01:33 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Nov 16 04:03:47 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=5500e341

dscanner-0.11.0

Signed-off-by: Marco Leise  gmx.de>

 dev-util/dscanner/Manifest   |  4 ++
 dev-util/dscanner/dscanner-0.11.0.ebuild | 81 
 2 files changed, 85 insertions(+)

diff --git a/dev-util/dscanner/Manifest b/dev-util/dscanner/Manifest
index ca14e47..4b14fd9 100644
--- a/dev-util/dscanner/Manifest
+++ b/dev-util/dscanner/Manifest
@@ -1,7 +1,11 @@
 DIST containers-f4e79375539554b3793adf1c557361a64a073524.tar.gz 55265 BLAKE2B 
208ba1baf12a6f690861bc2798c0b94f46f8155509832613f4d2308826c14ee951a7bb3e45bcea852e4747308c267bb1d37cf5383ecea80ebf2dabf5ca017b51
 SHA512 
d1779a060b3c846ad70942b5c7f8d05733d58964a4585913a3515d8dfe2dcc811a57af1d7bdb6e3606ccce1ba637f9f029de07213fddea00e2305c9d75293be1
 DIST dscanner-0.10.0.tar.gz 89765 BLAKE2B 
e4426570a2161a9c13bedf69d1d8f868764340c36e658f3726ea582f3329d5bf283674f336b30614eced4a35d84bbffdba89d10e85dd44a3b8d97461f186c821
 SHA512 
29d72862eba2e93c65534c427b9d57f7f4d2fcd0e2a94750e93696bca93d9ddeed35d93df2ad5d8bdc9d8e1e2424fe7df20e23793c1a650b0c3849ae08d63dd4
+DIST dscanner-0.11.0.tar.gz 90627 BLAKE2B 
794abf01fe0c2f9929c5bc9cc8a86021504f0d74114df5876f1aff41f937c5c008d8f1f995c93aae661eaae50da1ddf69654748367c86eef51491f900cc699a1
 SHA512 
31261713deab15ccb00ddbb4a4d19fba3b58d34b611a7b840f8851b72cf3350148a2b4e472bb3c48d325b5b4720f4d4580b0a179361a27159d9204934801603e
 DIST dsymbol-71168a8449958e1807a8ba22c8a4df15456bae83.tar.gz 34626 BLAKE2B 
d86a413f81411d07b5376d93f295e7b26267bab70cbd5df327cff6d5f40ece8a52b2cfb1d1804696c12f8fab26aa5d7fe74cebc8a81a28b86b6c509ce8fbfb14
 SHA512 
a435e24582658998757914189664b253bcaefcf330b2ce272bd6904e71bdfa994d37bea2b4b73808f50565f8f5b23de52f00af710b5e2aac446d7b0a6a762c06
+DIST dsymbol-b8920c2a4593e24d1ced91f8f0bce9e50f598e4d.tar.gz 34794 BLAKE2B 
e863b47e51263c564d38695b35dd8c225c69d657d5aaf7c09eb240d999b91aa2fd3cf0911e4265467b1c314e3c7365bf4a109eac6190c4326a8a12eef4e6d56b
 SHA512 
fcb6dce5c28c87dee1bc850646b739841e3e6c23108d7e47545750cc810b6aede661ae18895459a82518d38864ed6aee1c5bed390a40057b12c54808791bfcd5
 DIST inifiled-cecaff8037a60db2a51c9bded4802c87d938a44e.tar.gz 8251 BLAKE2B 
fa0bb78c11f69e257a0974c16188475d50fcf2a56138fc288d6262be91604b8e706bfab2572b2d0e358c8366b400a2c5a3af6ba87d5243825ddf26a5a03fbfe2
 SHA512 
9a3c66eca2b48350c798fd0a54d37c8714d6a499e8412983f1bda2f00cda6fe1439bfbc6766d32529f3d7cc708a0528c52c077f9169727b492616691833c52d0
 DIST libddoc-4ced25fa73bbcdbe801191147b32fdc94e947dd5.tar.gz 20106 BLAKE2B 
34e5e36601e6cc8f526d35f58c401df6cb5c3259c0ccb88591c98b1d505c1438e99de1009c3cff6ca0960a494d6571ed395193b906da7dcf859e572e0d2651f0
 SHA512 
80bd1c9b38fe3f57c7c7428f63e1d3ed8b73c43b79d728bb189bbec95dd4ee203c6c9f52a6615475cee2de907a0ef888cf67d9551acd725f1ec15dfa83f68eb3
+DIST libddoc-9cf851e4476bdadccd96f3589e16ab9f9881c76d.tar.gz 20108 BLAKE2B 
18b98b4fc9fdb409184b3d337147625953c1b78442ca956fcc774857c16006518d746c43cd93ab00fea10bee4beaa72c10d13590064a52080fd882361684
 SHA512 
b684d63d4db647f7366154e7631917842ccaac2c95a09ab58065db08b176352a44b674c788bd726e3c83d78dbc5c2134d468cfb7cb212c5dff65b5442174ade6
+DIST libdparse-6f0893f6b07ec561d382f26c81e74f7788056828.tar.gz 145629 BLAKE2B 
3fa4801499abfb3ad8b2094d48f68a96338ed994be1f417df4fe9591c9c80bb3a89a3652d623be3a59a2c73054e0ed6a15de11f6e890d8ec7a0294fa517b4c66
 SHA512 
9329deb2fee5b36e5b7ebfd553f5efc8c190e3a7f79eb2939598ac28391c0e717d96db1c16b825cd838780f31313e48699b3d115f344137131373042f0d9a2d7
 DIST libdparse-f9a82848fe98a84f38a66df950514c3556e7fb2d.tar.gz 136856 BLAKE2B 
b289f94d30347edfb441d43238985411224b24488f36c3bb0120cb771625d141d183430091dd072adc3d1794ce73c89f198fbe34a85123de4c28be56ce8086a2
 SHA512 
1454e6ff36f4f8d45c3844436655c6b8a20e12397702a2891b9b293d92339bc53ad0bb1fbb18403d359a3e12efdc0165d07ecd517616da74b73bca45d6837deb
 DIST stdx-allocator-d6e6ce4a838e0dad43ef13f050f96627339cdccd.tar.gz 103648 
BLAKE2B 
c08925df810761bb4825d6058375dcc5415f4838403b3668aeff5c1be93c7d04b49c1994da27aa498cd0f4abd1ff923e8d906ae53c922f94bc63dac334b7f138
 SHA512 
3a41f95505e92d79a6b966d21d96fe5b5bb2b2f3762b09998b27334684d815a82a3e705935faa1b543a93ffb274c67b9110b2b1b7364f7d405bd65d05b819271

diff --git a/dev-util/dscanner/dscanner-0.11.0.ebuild 
b/dev-util/dscanner/dscanner-0.11.0.ebuild
new file mode 100644
index 000..6047e84
--- /dev/null
+++ b/dev-util/dscanner/dscanner-0.11.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Swiss-army knife for D source code"
+HOMEPAGE="https://github.com/dlang-community/D-Scanner;
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="deb

[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2020-11-15 Thread Marco Leise
commit: ac57a54fd348d4227ebaf2cf2ec08ab7c7be0737
Author: Marco Leise  gmx  de>
AuthorDate: Mon Nov 16 01:13:47 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Nov 16 04:02:49 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=ac57a54f

ldc2-1.23

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/ldc2/Manifest   |  1 +
 dev-lang/ldc2/ldc2-1.23.0.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index 8c35cf6..a3c721f 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -3,3 +3,4 @@ DIST ldc-1.19.0-src.tar.gz 7222182 BLAKE2B 
28a2256aad57f5304644126da63d88a9f0e42
 DIST ldc-1.20.1-src.tar.gz 7283975 BLAKE2B 
ceb75e767562936606a5fc8383dd089a8daefd04e6fbcd8c6b360fccad50ecb7c6656d60c5351b11a3580d01bdb45101ed50ff6c7a9791af1fd25be160e9a037
 SHA512 
bb69a69de1773a10998c653b5a1b0bce30e39cfcee0e19b036378b28519b3118ac369b341cfd305a8a9bd904564e83f720a62ab4f2c1942c2e26bb53
 DIST ldc-1.21.0-src.tar.gz 7355981 BLAKE2B 
46f3289e3e39d8c3b2a4985e1de4b5ef0e218188af5095cb2007bb83eec2bdaf6c590786d7b655a1f886c7f46703db2c049cf054c0fac438f943a702d3ac7a3b
 SHA512 
5759cb0ad04d2e62a075748b40efb30261c1ebefbc129024cddccf60ab59c211f20b87a0fe22b0a714a0435f53d54a79cd8ad4ede7bfbf492809f23c679a
 DIST ldc-1.22.0-src.tar.gz 7434646 BLAKE2B 
317c9ebb3f75e495c939fadd24abbbea4baa2f9bf547894067d373adc48dfefd47c5bcc2136ac67ecd2bbbe2bf0cf879cfc9b978d9ff75d68ede7b0686dbfee9
 SHA512 
81c59e96b181fbe4a499d84a816ee4fbdbc8b6170fe87dc42e8a315e72d0be4a7f42b939084e5a529572987bcdc495926d83ca517aff8a7e5632767cf46d67d8
+DIST ldc-1.23.0-src.tar.gz 7438736 BLAKE2B 
42cad99be83ce6c8d08819e6e2c6aca161f1243a239da1e692551e7b140069aacb12bbf38b4dc727eab4814bba9d8dafbb16ea2c938ea49db907275c2149b2bd
 SHA512 
dbade9a120bb30d0c691f5c4c6c7e06be0cf3575b9bd63a921e9a768a22aef10293cc4058c7da348707856e1d363419c91e38a893d13408e9b5be4ae85544bb0

diff --git a/dev-lang/ldc2/ldc2-1.23.0.ebuild b/dev-lang/ldc2/ldc2-1.23.0.ebuild
new file mode 100644
index 000..32bd66a
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.23.0.ebuild
@@ -0,0 +1,76 @@
+# 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 6.0 through 10.
+RDEPEND="|| (
+   sys-devel/llvm:10
+   sys-devel/llvm:9
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=10
+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.075-"
+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
+}



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2020-11-15 Thread Marco Leise
commit: ae2a43d059d43447a10b184a93e4fce44ff299c2
Author: Marco Leise  gmx  de>
AuthorDate: Mon Nov 16 01:39:06 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Mon Nov 16 04:02:58 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=ae2a43d0

ldc2-1.24

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/ldc2/Manifest   |  1 +
 dev-lang/ldc2/ldc2-1.24.0.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index a3c721f..6808cea 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -4,3 +4,4 @@ DIST ldc-1.20.1-src.tar.gz 7283975 BLAKE2B 
ceb75e767562936606a5fc8383dd089a8daef
 DIST ldc-1.21.0-src.tar.gz 7355981 BLAKE2B 
46f3289e3e39d8c3b2a4985e1de4b5ef0e218188af5095cb2007bb83eec2bdaf6c590786d7b655a1f886c7f46703db2c049cf054c0fac438f943a702d3ac7a3b
 SHA512 
5759cb0ad04d2e62a075748b40efb30261c1ebefbc129024cddccf60ab59c211f20b87a0fe22b0a714a0435f53d54a79cd8ad4ede7bfbf492809f23c679a
 DIST ldc-1.22.0-src.tar.gz 7434646 BLAKE2B 
317c9ebb3f75e495c939fadd24abbbea4baa2f9bf547894067d373adc48dfefd47c5bcc2136ac67ecd2bbbe2bf0cf879cfc9b978d9ff75d68ede7b0686dbfee9
 SHA512 
81c59e96b181fbe4a499d84a816ee4fbdbc8b6170fe87dc42e8a315e72d0be4a7f42b939084e5a529572987bcdc495926d83ca517aff8a7e5632767cf46d67d8
 DIST ldc-1.23.0-src.tar.gz 7438736 BLAKE2B 
42cad99be83ce6c8d08819e6e2c6aca161f1243a239da1e692551e7b140069aacb12bbf38b4dc727eab4814bba9d8dafbb16ea2c938ea49db907275c2149b2bd
 SHA512 
dbade9a120bb30d0c691f5c4c6c7e06be0cf3575b9bd63a921e9a768a22aef10293cc4058c7da348707856e1d363419c91e38a893d13408e9b5be4ae85544bb0
+DIST ldc-1.24.0-src.tar.gz 7522065 BLAKE2B 
65069835528466c4a39ebf08245fa7fcc9348ee620bab933d23157af0702c0ac4f5b3c1692b1eff83ba81ba2b8be6f086935527585c55e1ecb4ea42f965befe6
 SHA512 
c6f06d80617e5f7789f9e0e349a21e380d0bb6898983f0c2e2aaaec32e23ea0f69c039b6f0c03b8015782b837c890a6ff1051bfa332a6af7c79fc3479446dfb1

diff --git a/dev-lang/ldc2/ldc2-1.24.0.ebuild b/dev-lang/ldc2/ldc2-1.24.0.ebuild
new file mode 100644
index 000..32bd66a
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.24.0.ebuild
@@ -0,0 +1,76 @@
+# 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 6.0 through 10.
+RDEPEND="|| (
+   sys-devel/llvm:10
+   sys-devel/llvm:9
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=10
+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.075-"
+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
+}



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/

2020-08-15 Thread Marco Leise
commit: d6206be2635d981e916d90f27e0b94b689eccb71
Author: Marco Leise  gmx  de>
AuthorDate: Sat Aug 15 16:31:45 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 16:55:23 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=d6206be2

dcd-0.13.1

Signed-off-by: Marco Leise  gmx.de>

 dev-util/dcd/Manifest  |   5 ++
 dev-util/dcd/dcd-0.13.1.ebuild | 102 +
 2 files changed, 107 insertions(+)

diff --git a/dev-util/dcd/Manifest b/dev-util/dcd/Manifest
index c11a1a4..2c0f9e0 100644
--- a/dev-util/dcd/Manifest
+++ b/dev-util/dcd/Manifest
@@ -1,6 +1,11 @@
 DIST DCD-0.12.0.tar.gz 135294 BLAKE2B 
87ba696325f205435004dd9bcfe036108e0cf35a1086cd30b7eb045a34e00f432dcab64ca019618883edfe3c6f277893f4b810b1ab72efa129606c3d978f69df
 SHA512 
caadc5d497d6a209fda23523164247c1b921cebbe641fb6b5cedcecd20075d9283407f132886a369b15286c327e6a9e6015f290c31283e2a49a0e676b4cf82a9
+DIST DCD-0.13.1.tar.gz 136095 BLAKE2B 
ae0ee1acec1201d724feb178b58483651cf5498b7c9aa66036afe153972a9e889f400d7d86612d021faa576d64587892f6a2a068b9a8e4ebe241414c727d7016
 SHA512 
c52540b4ba02c7bca77beca74ae482cd0b046fe7e16498e30600a1ca03f997a365eacb7450a1c13ae4ab3c9c8bfe6c65a8aa899697755f4596804ff636a86784
 DIST containers-a978c3cda3f6ec3ba7449ec5c08dd5cd4dd79c6e.tar.gz 54657 BLAKE2B 
67d496d6c56ee4bd1b5a9febe2251183d1e8db4e0f2b60e7529b0d5b9540331f6376ade38ccc698658872f650b6f2f8da2cc6df34b4bae49ad85565af4731b81
 SHA512 
39b6bd03ca3b4013ff4e340e980d85b05db00d227a43c225ef60871b83d18df5af79acccb3bdf0182fd974b12b483bab23fb28328d84302dd590eeb82992f0ed
+DIST containers-f4e79375539554b3793adf1c557361a64a073524.tar.gz 55265 BLAKE2B 
208ba1baf12a6f690861bc2798c0b94f46f8155509832613f4d2308826c14ee951a7bb3e45bcea852e4747308c267bb1d37cf5383ecea80ebf2dabf5ca017b51
 SHA512 
d1779a060b3c846ad70942b5c7f8d05733d58964a4585913a3515d8dfe2dcc811a57af1d7bdb6e3606ccce1ba637f9f029de07213fddea00e2305c9d75293be1
 DIST dsymbol-f4a481cdc23b58ce544c2e91a39d5c0d406b67ac.tar.gz 31621 BLAKE2B 
a0ad6d5e9392ca239a0aa67cbcbc3210eff1b33d7a2d82d8df300635ab76bdd9a607ab47be2af0b5b812839814c529ea1bab2e8c2a9ae6bd2ccfc8386fc7b623
 SHA512 
38a74593a2ded9360b42d87ae47e343475dfcde6de67d14ca76814361166210745c0035b6ff6f4ca46f62fd09b569eb0de02b0c8e5b7db486c3b89db7f4483f9
+DIST dsymbol-f9a3d302527a9e50140991562648a147b6f5a78e.tar.gz 34796 BLAKE2B 
c9fb476a348b030d7c57e43b0e21fb8db255ba4b350f7bde6315750ed5888eef9ce32ec68428f55e321bf6e9f167433ce3279185ff0ce0b899fbf5257b4d40c5
 SHA512 
2133f1c8dc966920496b7851f9ae094f10170117d1d9961f96c5382df126c3f72a8eb678dbc106bac5f3b4c1f97848428bf9004656c57d1c1c5f2697b7d2a4da
+DIST libdparse-1393ee4d0c8e50011e641e06d64c429841fb3c2b.tar.gz 137198 BLAKE2B 
e2d4122f63847fe9c0aa7591f5d5cfb9b8708c02c45b02b24fbb488f17a9dc0986ab0525a573e6e4e43daa3a1b8880edc93e0b6061fd5486a39e8fd45f516dd4
 SHA512 
8339e339d667f7fbd524f12c89a824f95a2151ce126fae33bbf940f76dcc460d42c0c412fa169867eaa056dabb1ef2aaa89b95b47219294edfc166aafa48c89c
 DIST libdparse-5270739bcd1962418784c7760773e24d28b6009b.tar.gz 123594 BLAKE2B 
879a21435ba622974a2c6d1bf7db7deb6fbaff07838325c6a7d0958272066b12b3fa6f96274126b6380a0da675d172ff07b1e0907ac6d3184d5842c86091717f
 SHA512 
90ee5887b89ef1597a618761d6a974ad947946b5e7eaf56df883ab58a9d983279cbedc5ccfa01446576c3e74e4d4c8ac467585bb1b96ad7059ddf78dfc4557ff
 DIST msgpack-d-19d9245e315a85763754ded6912c2375c9226e04.tar.gz 143902 BLAKE2B 
be7f122a85af0e6313a9590496f6fa1a910ac1f092c378c050efb2ee54e39caf2a8b6200297fcb251b16b27caefd4be78cd16a8542bfa8875fbaca6472c9b6b5
 SHA512 
3f391c5f1b6c04bfcde96c97d2325d946df3bbeeac752bcca267d2c737f8752342dc415517e61691729787f766384edc796b82fac23b55191b4f84a50f931777
+DIST msgpack-d-480f3bf9ee80ccf6695ed900cfcc1850ba8da991.tar.gz 143848 BLAKE2B 
44ac6f1efbbdb455af694cc476524535bebe993777a8c47d93a7cff21d825c2b8ce4caaf0d9f072f1e37869a9e50821abbd60e23a38546e0522047809cd0695a
 SHA512 
76f7049c9f9f4128b9e9691e224c2ff5d8ee5400bf0796cc362386f0bc6f2359bb1694606923aec21eab539f65b93b828c2e018dee22358b91713365dd443e4d
 DIST stdx-allocator-d6e6ce4a838e0dad43ef13f050f96627339cdccd.tar.gz 103648 
BLAKE2B 
c08925df810761bb4825d6058375dcc5415f4838403b3668aeff5c1be93c7d04b49c1994da27aa498cd0f4abd1ff923e8d906ae53c922f94bc63dac334b7f138
 SHA512 
3a41f95505e92d79a6b966d21d96fe5b5bb2b2f3762b09998b27334684d815a82a3e705935faa1b543a93ffb274c67b9110b2b1b7364f7d405bd65d05b819271

diff --git a/dev-util/dcd/dcd-0.13.1.ebuild b/dev-util/dcd/dcd-0.13.1.ebuild
new file mode 100644
index 000..1f9f451
--- /dev/null
+++ b/dev-util/dcd/dcd-0.13.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Auto-complete program for the D programming language"
+HOMEPAGE="https://github.com/dlang-community/DCD;
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+CONTAINERS="f4e79375539554b3793adf1

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/

2020-08-15 Thread Marco Leise
commit: f2f23388141ffb5090cba63931294c1c7fb82073
Author: Marco Leise  gmx  de>
AuthorDate: Sat Aug 15 17:08:02 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 17:08:02 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f2f23388

dscanner-0.10.0

Signed-off-by: Marco Leise  gmx.de>

 dev-util/dfmt/Manifest   |  2 ++
 dev-util/dfmt/dfmt-0.13.0.ebuild | 58 
 2 files changed, 60 insertions(+)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index bd5bc86..65febef 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,3 +1,5 @@
 DIST dfmt-0.12.0.tar.gz 89416 BLAKE2B 
20b18358ce6fe64c86eb8c6e440f0a855810dbc571d45497388e3e622d2fd339f75e339c7099baa15afae9730cde00cb3655cc64291834f8ceb01e57cea89d49
 SHA512 
1f6285824e72540bf1d41d84d8df7cf3e56e6bd3996271126a062a5f7f6532a3dcdc4e63a8bd3bdb2cb5d85eefd20c2705ded7e7c6fd4860f08573c13b719e04
+DIST dfmt-0.13.0.tar.gz 90119 BLAKE2B 
f47d0a661b8b9c571766e017cf50fc8dcbe0d0a05efc62ddb36734013986d2244d76e4977dc4893d036e297f20c818780d76ea75232168d7a652b0ba8067316f
 SHA512 
1cea004218dc49f9c7079cc2063fccac8b9c97b9683929f2abde6aceedf1f3ad35009fd3978affaf5d33f8779918e9fcf9084a91ba21c87680a25d33bc6bc8ca
+DIST libdparse-1557eb079a2d5958e0a7136f942eea0922d58e8a.tar.gz 132387 BLAKE2B 
180316ef25713eb723e43e13c983f2c7b8c775f7e4c984217b497505ed0f7a9b1eb351867317a1e0957dd368a71b7fe403d8a636baf8ad8240f2b39fb7bc2c69
 SHA512 
1dbab30db4f14d99f27672be12b63bba04534a0c69c58453441b8a654336d9a38c869a6db738442b692d4d7cfdb0f68ed0bfaaa462c58aed0bedef60ea4dfbac
 DIST libdparse-597d9a697b1f8a51fb2f441c61d0c6cc4eadc6d1.tar.gz 124830 BLAKE2B 
1a7b4246b00938c44c3e32c7d0fdda4a0d343bbafad25e3e003c4672aac1dd3677a8163750b13753aa484e6bcdd120b35fc736db6d5c0be4eb3d9c78ab6a9e8e
 SHA512 
c3b5660d455ca3dd8d22ae996ae437583b98c00e441bedfb72a5fcf8ccd4dc579e4fc8980faab501ff757ced62c079fbc116f91c796174895b33a57f0a183bbf
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 
BLAKE2B 
8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e
 SHA512 
893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.13.0.ebuild b/dev-util/dfmt/dfmt-0.13.0.ebuild
new file mode 100644
index 000..50ab11e
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.13.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt;
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LIBDPARSE="1557eb079a2d5958e0a7136f942eea0922d58e8a"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+   https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> 
${PN}-${PV}.tar.gz
+   
https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> 
libdparse-${LIBDPARSE}.tar.gz
+   
https://github.com/dlang-community/stdx-allocator/archive/${ALLOCATOR}.tar.gz 
-> stdx-allocator-${ALLOCATOR}.tar.gz
+   "
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang bash-completion-r1
+
+src_prepare() {
+   mkdir bin || die "Failed to create 'bin' directory."
+   cat > bin/githash.txt << EOF
+v${PV}
+EOF
+   dlang_src_prepare
+}
+
+d_src_compile() {
+   local libdparse_src="../libdparse-${LIBDPARSE}/src"
+   local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+   local imports="src ${libdparse_src} ${allocator_src}"
+   local string_imports="bin"
+
+   dlang_compile_bin "bin/dfmt" "src/dfmt/main.d" "src/dfmt/config.d" 
"src/dfmt/editorconfig.d" \
+   "src/dfmt/ast_info.d" "src/dfmt/indentation.d" 
"src/dfmt/tokens.d" "src/dfmt/wrapping.d" \
+   "src/dfmt/formatter.d" "src/dfmt/globmatch_editorconfig.d" \
+   ${libdparse_src}/dparse/lexer.d 
${libdparse_src}/dparse/parser.d ${libdparse_src}/dparse/ast.d \
+   ${libdparse_src}/dparse/rollback_allocator.d 
${libdparse_src}/dparse/stack_buffer.d \
+   ${libdparse_src}/dparse/trivia.d 
${libdparse_src}/std/experimental/lexer.d \
+   ${allocator_src}/stdx/allocator/common.d 
${allocator_src}/stdx/allocator/internal.d \
+   ${allocator_src}/stdx/allocator/mallocator.d 
${allocator_src}/stdx/allocator/package.d \
+   ${allocator_src}/stdx/allocator/gc_allocator.d 
${allocator_src}/stdx/allocator/typed.d
+}
+
+d_src_test() {
+   cd tests && ./test.sh
+}
+
+d_src_install() {
+   dobin bin/dfmt
+   dodoc README.md LICENSE.txt
+   dobashcomp bash-completion/completions/dfmt
+}



[gentoo-commits] repo/user/dlang:master commit in: x11-terms/tilix/

2020-08-15 Thread Marco Leise
commit: 1691b007fddd730f40fa180140e650d3607a40b2
Author: Marco Leise  gmx  de>
AuthorDate: Sat Aug 15 16:01:27 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 16:01:27 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=1691b007

Updated tilix ebuild to EAPI=7. Does not compile with GCC due to 
shared/constness issues in object.d

Signed-off-by: Marco Leise  gmx.de>

 x11-terms/tilix/tilix-1.9.3-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-terms/tilix/tilix-1.9.3-r1.ebuild 
b/x11-terms/tilix/tilix-1.9.3-r1.ebuild
index 81192b1..6009c81 100644
--- a/x11-terms/tilix/tilix-1.9.3-r1.ebuild
+++ b/x11-terms/tilix/tilix-1.9.3-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 DESCRIPTION="A tiling terminal emulator for Linux using GTK+ 3"
 HOMEPAGE="https://gnunn1.github.io/tilix-web/;
@@ -14,7 +14,7 @@ IUSE="+crypt"
 DLANG_VERSION_RANGE="2.075-2.086"
 DLANG_PACKAGE_TYPE="single"
 
-inherit gnome2 dlang
+inherit dlang
 
 GITHUB_URI="https://codeload.github.com/gnunn1;
 SRC_URI="${GITHUB_URI}/${PN}/tar.gz/${PV} -> ${PN}-${PV}.tar.gz"
@@ -37,7 +37,7 @@ src_prepare() {
 d_src_configure() {
export GTKD_CFLAGS="-I/usr/include/dlang/gtkd-3"
export GTKD_LIBS="-L-ldl -L-lvted-3 -L-lgtkd-3"
-   DC="${DMD}" default_src_configure
+   default_src_configure
 }
 
 d_src_install() {



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dscanner/

2020-08-15 Thread Marco Leise
commit: 2b76b80189c26e3eaa952ee6fc2b1801c82679d6
Author: Marco Leise  gmx  de>
AuthorDate: Sat Aug 15 17:15:28 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 17:15:28 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=2b76b801

dscanner-0.10.0

Signed-off-by: Marco Leise  gmx.de>

 dev-util/dscanner/Manifest   |  4 ++
 dev-util/dscanner/dscanner-0.10.0.ebuild | 81 
 2 files changed, 85 insertions(+)

diff --git a/dev-util/dscanner/Manifest b/dev-util/dscanner/Manifest
index 33de5c8..d2f32cb 100644
--- a/dev-util/dscanner/Manifest
+++ b/dev-util/dscanner/Manifest
@@ -1,7 +1,11 @@
 DIST containers-f4e79375539554b3793adf1c557361a64a073524.tar.gz 55265 BLAKE2B 
208ba1baf12a6f690861bc2798c0b94f46f8155509832613f4d2308826c14ee951a7bb3e45bcea852e4747308c267bb1d37cf5383ecea80ebf2dabf5ca017b51
 SHA512 
d1779a060b3c846ad70942b5c7f8d05733d58964a4585913a3515d8dfe2dcc811a57af1d7bdb6e3606ccce1ba637f9f029de07213fddea00e2305c9d75293be1
+DIST dscanner-0.10.0.tar.gz 89765 BLAKE2B 
e4426570a2161a9c13bedf69d1d8f868764340c36e658f3726ea582f3329d5bf283674f336b30614eced4a35d84bbffdba89d10e85dd44a3b8d97461f186c821
 SHA512 
29d72862eba2e93c65534c427b9d57f7f4d2fcd0e2a94750e93696bca93d9ddeed35d93df2ad5d8bdc9d8e1e2424fe7df20e23793c1a650b0c3849ae08d63dd4
 DIST dscanner-0.9.0.tar.gz 89372 BLAKE2B 
a1f958aa4a9319bd6aa856b0d54d22dde2bc84c392f5f50fcf17d61641a7a258091ea8a13516919583b5f02dbc37a79021a4aae68443fe46ed7a3732a1be3d6f
 SHA512 
4d2564590a48231d4c1dd8a4126d5b640bd83e90e7189ceac33c2727f981f690e94079411f7f3cbb727be780069cebeacdd38fa6b78b4516cec4e23a8eb12aff
+DIST dsymbol-71168a8449958e1807a8ba22c8a4df15456bae83.tar.gz 34626 BLAKE2B 
d86a413f81411d07b5376d93f295e7b26267bab70cbd5df327cff6d5f40ece8a52b2cfb1d1804696c12f8fab26aa5d7fe74cebc8a81a28b86b6c509ce8fbfb14
 SHA512 
a435e24582658998757914189664b253bcaefcf330b2ce272bd6904e71bdfa994d37bea2b4b73808f50565f8f5b23de52f00af710b5e2aac446d7b0a6a762c06
 DIST dsymbol-ceea154b0047f71e4ffec224096ce87015578a8a.tar.gz 32569 BLAKE2B 
d4b9e1a6c127f3a429f84b43364080137cc194d761f9b94f9803dd01e5d854de6d544194d95b76183482c9546c7405a32806ff9078658f3250a889d7eb778d21
 SHA512 
f480f8659fd1728dd314ad77e47090b95becddadaf4a01eb8040e7e24f471612ac9a972baf8f0f4a617e97c3ead8fe1900c674d07e762c7b470cffc1a8159058
 DIST inifiled-cecaff8037a60db2a51c9bded4802c87d938a44e.tar.gz 8251 BLAKE2B 
fa0bb78c11f69e257a0974c16188475d50fcf2a56138fc288d6262be91604b8e706bfab2572b2d0e358c8366b400a2c5a3af6ba87d5243825ddf26a5a03fbfe2
 SHA512 
9a3c66eca2b48350c798fd0a54d37c8714d6a499e8412983f1bda2f00cda6fe1439bfbc6766d32529f3d7cc708a0528c52c077f9169727b492616691833c52d0
+DIST libddoc-4ced25fa73bbcdbe801191147b32fdc94e947dd5.tar.gz 20106 BLAKE2B 
34e5e36601e6cc8f526d35f58c401df6cb5c3259c0ccb88591c98b1d505c1438e99de1009c3cff6ca0960a494d6571ed395193b906da7dcf859e572e0d2651f0
 SHA512 
80bd1c9b38fe3f57c7c7428f63e1d3ed8b73c43b79d728bb189bbec95dd4ee203c6c9f52a6615475cee2de907a0ef888cf67d9551acd725f1ec15dfa83f68eb3
 DIST libddoc-d50190b7e33b11d7fec05e504549f0f285bd2232.tar.gz 21319 BLAKE2B 
eafda40a7ca16b90d2c39ae9edbb2a8fa8e87a75089e31d4bc59ea2dd2127b4b7f5e9fc68be0f0e2c2b74c71e0875291a08b363ccbd569c733c3800690c02d6f
 SHA512 
6c6519442cd63879bed5b6ebce27ff607fae04b3b3d44c84a767ca304506262f2e967feaa8c358ca62cfc0a56bb91bf7d4c8a1f9a442c11a4489bf17f1cf28a4
 DIST libdparse-597d9a697b1f8a51fb2f441c61d0c6cc4eadc6d1.tar.gz 124830 BLAKE2B 
1a7b4246b00938c44c3e32c7d0fdda4a0d343bbafad25e3e003c4672aac1dd3677a8163750b13753aa484e6bcdd120b35fc736db6d5c0be4eb3d9c78ab6a9e8e
 SHA512 
c3b5660d455ca3dd8d22ae996ae437583b98c00e441bedfb72a5fcf8ccd4dc579e4fc8980faab501ff757ced62c079fbc116f91c796174895b33a57f0a183bbf
+DIST libdparse-f9a82848fe98a84f38a66df950514c3556e7fb2d.tar.gz 136856 BLAKE2B 
b289f94d30347edfb441d43238985411224b24488f36c3bb0120cb771625d141d183430091dd072adc3d1794ce73c89f198fbe34a85123de4c28be56ce8086a2
 SHA512 
1454e6ff36f4f8d45c3844436655c6b8a20e12397702a2891b9b293d92339bc53ad0bb1fbb18403d359a3e12efdc0165d07ecd517616da74b73bca45d6837deb
 DIST stdx-allocator-d6e6ce4a838e0dad43ef13f050f96627339cdccd.tar.gz 103648 
BLAKE2B 
c08925df810761bb4825d6058375dcc5415f4838403b3668aeff5c1be93c7d04b49c1994da27aa498cd0f4abd1ff923e8d906ae53c922f94bc63dac334b7f138
 SHA512 
3a41f95505e92d79a6b966d21d96fe5b5bb2b2f3762b09998b27334684d815a82a3e705935faa1b543a93ffb274c67b9110b2b1b7364f7d405bd65d05b819271

diff --git a/dev-util/dscanner/dscanner-0.10.0.ebuild 
b/dev-util/dscanner/dscanner-0.10.0.ebuild
new file mode 100644
index 000..0c81fdd
--- /dev/null
+++ b/dev-util/dscanner/dscanner-0.10.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Swiss-army knife for D source code"
+HOMEPAGE="https://github.com/dlang-community/D-Scanner;
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="deb

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/, dev-lang/dmd/, dev-util/dub/files/, dev-util/dub/, ...

2020-08-14 Thread Marco Leise
commit: 4125a7e240a73f7ef21f407b0fed89bf4fddfadf
Author: Marco Leise  gmx  de>
AuthorDate: Fri Aug 14 21:47:45 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 01:34:46 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=4125a7e2

dmd-2.093 & dub-1.22.0

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest  |  1 +
 dev-lang/dmd/dmd-2.074.1-r6.ebuild |  4 +-
 dev-lang/dmd/dmd-2.075.1-r4.ebuild |  4 +-
 dev-lang/dmd/dmd-2.076.1-r4.ebuild |  4 +-
 dev-lang/dmd/dmd-2.077.1-r3.ebuild |  4 +-
 dev-lang/dmd/dmd-2.078.3-r3.ebuild |  4 +-
 dev-lang/dmd/dmd-2.079.1-r3.ebuild |  4 +-
 dev-lang/dmd/dmd-2.080.1-r3.ebuild |  4 +-
 dev-lang/dmd/dmd-2.081.2-r3.ebuild |  4 +-
 dev-lang/dmd/dmd-2.082.1-r3.ebuild |  6 +--
 dev-lang/dmd/dmd-2.083.1-r2.ebuild |  6 +--
 dev-lang/dmd/dmd-2.084.1-r2.ebuild |  6 +--
 dev-lang/dmd/dmd-2.085.1-r2.ebuild |  6 +--
 dev-lang/dmd/dmd-2.086.1-r1.ebuild |  6 +--
 dev-lang/dmd/dmd-2.087.1-r1.ebuild |  6 +--
 dev-lang/dmd/dmd-2.088.1-r1.ebuild |  4 +-
 dev-lang/dmd/dmd-2.089.1.ebuild|  4 +-
 dev-lang/dmd/dmd-2.090.1.ebuild|  2 +-
 dev-lang/dmd/dmd-2.091.1.ebuild|  2 +-
 dev-lang/dmd/dmd-2.092.1.ebuild|  2 +-
 dev-lang/dmd/dmd-2.093.0.ebuild| 14 ++
 dev-lang/dmd/files/2.063-no-narrowing.patch|  6 +--
 dev-lang/dmd/files/2.064-no-narrowing.patch|  6 +--
 dev-lang/dmd/files/2.065-no-narrowing.patch|  6 +--
 ...2.074-link-32-bit-shared-lib-with-ld.bfd.patch} |  3 +-
 ...2.078-link-32-bit-shared-lib-with-ld.bfd.patch} |  3 +-
 dev-lang/dmd/files/2.082-allow-deprecations.patch  | 11 +
 dev-util/dlang-tools/Manifest  |  1 +
 dev-util/dlang-tools/dlang-tools-2.093.0.ebuild| 54 ++
 dev-util/dub/Manifest  |  1 +
 dev-util/dub/dub-1.22.0.ebuild | 39 
 .../dub/files/dub-1.22.0-gdc-dmd-pathfix.patch | 16 +++
 eclass/dmd.eclass  |  2 +-
 33 files changed, 190 insertions(+), 55 deletions(-)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index de65e24..d76e9d5 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -28,3 +28,4 @@ DIST dmd.2.089.1.linux.tar.xz 25877024 BLAKE2B 
38fdbac595a6d9ea7548ee331aacefec5
 DIST dmd.2.090.1.linux.tar.xz 25595804 BLAKE2B 
addd21fc482aa90d816593312aa6490949e54c3f8f36989eec193e9b09412022afe5d1f7006153f9b258a2c96fed9266ef5a9a94ca9c999cbc3ec1230937dec8
 SHA512 
ebc769d9c4c784b7e59730606e57bbde8dbfaea07be2492a0e475e0818f0ef4aaf3cb2bc8b1be066cc14479d9a3dd0d9655e0b0025c79383dbbbe9b2f2caf04f
 DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 
4db4c1733ecfdaa79a396039b8be735c217841deefd41b91b72a25e075e0f064892aa07497d840ef738021f66b58071d3d8c228573110614c43036ad51d7f701
 SHA512 
94db61b8cabd6229b404ce34e1618a710d6780bd7ce6db4ac666221b9bef616046ab9e4e793651e4e976fb4dd0eeedd5445abc9169ca27be753ff5611001e6bb
 DIST dmd.2.092.1.linux.tar.xz 24354760 BLAKE2B 
dd342c7cbb22f081720719a9aa2af40adb6bd9b6f25257eb85dc1e8b977dc80de87475b7fd9652c0c1cbba0e5115febd69969dce1f883e1a87e0f2a45b105d82
 SHA512 
df02256148a06bdab1427bed4428230b804da45e5241e6289f72fbc2bbf64020fe63a84b7aa91c36acb60ea8fb048933dc5a8c31f954df2637fd44a2964da0a3
+DIST dmd.2.093.0.linux.tar.xz 24477480 BLAKE2B 
a638963c2e98a43150451ca7d6280da5919b8dfea05af784a780cca35d3d61792b1f74842ae8c10221b4256ec3f6f223c84128fedb77933121f0357b5b4bfc86
 SHA512 
804da6df17d027e5584c80ba2ea7575218154b08c3c83c2993bb147887cd4c90da1b73166bf9e0ae18dd2d08054b2de092a39a0825b313afa3c9bb17a0b83f1f

diff --git a/dev-lang/dmd/dmd-2.074.1-r6.ebuild 
b/dev-lang/dmd/dmd-2.074.1-r6.ebuild
index d692175..124c1c1 100644
--- a/dev-lang/dmd/dmd-2.074.1-r6.ebuild
+++ b/dev-lang/dmd/dmd-2.074.1-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ inherit dmd
 PATCHES=(
"${FILESDIR}/2.074-fix-segv-in-evalu8.patch"
"${FILESDIR}/2.074-fix-out-of-bounds-in-evalu8.patch"
-   "${FILESDIR}/2.077-link-32-bit-shared-lib-with-ld.bfd.patch"
+   "${FILESDIR}/2.074-link-32-bit-shared-lib-with-ld.bfd.patch"
 )
 
 dmd_src_prepare_extra() {

diff --git a/dev-lang/dmd/dmd-2.075.1-r4.ebuild 
b/dev-lang/dmd/dmd-2.075.1-r4.ebuild
index a5d8015..d1358be 100644
--- a/dev-lang/dmd/dmd-2.075.1-r4.ebuild
+++ b/dev-lang/dmd/dmd-2.075.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed

[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2020-08-14 Thread Marco Leise
commit: 94fb390fc2eb8a5b0ebddcbabfdc9d23e8424abd
Author: Marco Leise  gmx  de>
AuthorDate: Fri Aug 14 21:12:17 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 01:34:45 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=94fb390f

ldc2-1.22

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/ldc2/Manifest   |  1 +
 dev-lang/ldc2/ldc2-1.22.0.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index e3f040c..8c35cf6 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -2,3 +2,4 @@ DIST ldc-1.18.0-src.tar.gz 7183351 BLAKE2B 
0affd49dda5f7c3df64e8d89fe66f2fce4c3a
 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 
bb69a69de1773a10998c653b5a1b0bce30e39cfcee0e19b036378b28519b3118ac369b341cfd305a8a9bd904564e83f720a62ab4f2c1942c2e26bb53
 DIST ldc-1.21.0-src.tar.gz 7355981 BLAKE2B 
46f3289e3e39d8c3b2a4985e1de4b5ef0e218188af5095cb2007bb83eec2bdaf6c590786d7b655a1f886c7f46703db2c049cf054c0fac438f943a702d3ac7a3b
 SHA512 
5759cb0ad04d2e62a075748b40efb30261c1ebefbc129024cddccf60ab59c211f20b87a0fe22b0a714a0435f53d54a79cd8ad4ede7bfbf492809f23c679a
+DIST ldc-1.22.0-src.tar.gz 7434646 BLAKE2B 
317c9ebb3f75e495c939fadd24abbbea4baa2f9bf547894067d373adc48dfefd47c5bcc2136ac67ecd2bbbe2bf0cf879cfc9b978d9ff75d68ede7b0686dbfee9
 SHA512 
81c59e96b181fbe4a499d84a816ee4fbdbc8b6170fe87dc42e8a315e72d0be4a7f42b939084e5a529572987bcdc495926d83ca517aff8a7e5632767cf46d67d8

diff --git a/dev-lang/ldc2/ldc2-1.22.0.ebuild b/dev-lang/ldc2/ldc2-1.22.0.ebuild
new file mode 100644
index 000..c5db3f2
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.22.0.ebuild
@@ -0,0 +1,76 @@
+# 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://ldc-developers.github.com/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 10.
+RDEPEND="|| (
+   sys-devel/llvm:10
+   sys-devel/llvm:9
+   )
+   =app-eselect/eselect-dlang-20140709"
+DEPEND="${RDEPEND}"
+LLVM_MAX_SLOT=10
+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.075-"
+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
+}



[gentoo-commits] repo/user/dlang:master commit in: eclass/, profiles/, dev-lang/ldc2/

2020-08-14 Thread Marco Leise
commit: 5019cbe38d24423e9e514a320df8a4ce5c7f4518
Author: Marco Leise  gmx  de>
AuthorDate: Fri Aug 14 21:18:08 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 01:15:55 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=5019cbe3

Removed ldc2 builds that depeneded on the removed LLVM 8.

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/ldc2/Manifest  |  3 --
 dev-lang/ldc2/ldc2-1.15.0-r2.ebuild | 81 -
 dev-lang/ldc2/ldc2-1.16.0.ebuild| 81 -
 dev-lang/ldc2/ldc2-1.17.0.ebuild| 81 -
 dev-lang/ldc2/ldc2-1.18.0.ebuild|  1 -
 dev-lang/ldc2/ldc2-1.19.0.ebuild|  1 -
 dev-lang/ldc2/ldc2-1.20.1.ebuild|  1 -
 dev-lang/ldc2/ldc2-1.21.0.ebuild|  1 -
 eclass/dlang-compilers.eclass   |  3 --
 profiles/use.desc   |  3 --
 10 files changed, 256 deletions(-)

diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
index 4abf228..e3f040c 100644
--- a/dev-lang/ldc2/Manifest
+++ b/dev-lang/ldc2/Manifest
@@ -1,6 +1,3 @@
-DIST ldc-1.15.0-src.tar.gz 6949021 BLAKE2B 
ba2488c0ce247c1f00cd4ac6206605221d9a0eed8bb637fa661676034709efd5aa6ce1cb2d314d1472d5a78a382e622bd9170653c2e3fac40f2d644aa08fdc3d
 SHA512 
acc180d0f01f2ff261a131de74b5630568da4b16acbe4c557ba36f3ca5606edeb9c7af8c8733927f174f4512812aabaa95cf2bff340c991c17ca4b50d7e3da87
-DIST ldc-1.16.0-src.tar.gz 6995348 BLAKE2B 
3437d2c1f64e17793c1564c19fdd41d5a881f1c3274a0e265b10b66a59b752436222395811354e9fea58dae0573c873f64f3c5de88c1681e4e78c74e618f9892
 SHA512 
afd9675ce0929a8acb1084becb47d2d30d40fcd3836a55713a9ac128d12764b7eefb5e04c2eae432c4e138aa64c3d8d248745dcfeb2fa134f66fb11ddc30743e
-DIST ldc-1.17.0-src.tar.gz 7084805 BLAKE2B 
1379ad77c0e489fea43b646a5d6cf5aa54e76b2cefe00686c69bb1c9b0caf42da7a0e24fb6d0f08c10fab9fd32e3ccb01b6702319ea73c782e3dca0a51bf6c08
 SHA512 
72a50b16cef63b30863b41571d14aad30b5fc25ea7859014d596c41360693da46dcf3f208195d9319fc2f4ef472ac3c86a0c552b19222cc05e491cb8cbcee38c
 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 
bb69a69de1773a10998c653b5a1b0bce30e39cfcee0e19b036378b28519b3118ac369b341cfd305a8a9bd904564e83f720a62ab4f2c1942c2e26bb53

diff --git a/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild 
b/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild
deleted file mode 100644
index 54ffbec..000
--- a/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib-build cmake-utils eapi7-ver 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://ldc-developers.github.com/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 8.
-RDEPEND="|| (
-   sys-devel/llvm:8
-   )
-   =app-eselect/eselect-dlang-20140709"
-DEPEND=">=dev-util/cmake-2.8
-   ${RDEPEND}"
-LLVM_MAX_SLOT=8
-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-utils_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}"
-   -DD_COMPILER_DMD_COMPAT=1
-   -DLDC_WITH_LLD=OFF
-   )
-   use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || 
mycmakeargs+=( -DBUI

[gentoo-commits] repo/user/dlang:master commit in: /

2020-08-14 Thread Marco Leise
commit: c71ade993fca5cfe64a19a14be2974c47398d645
Author: Marco Leise  gmx  de>
AuthorDate: Sat Aug 15 01:43:59 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 01:43:59 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c71ade99

updated .travis.yml

Signed-off-by: Marco Leise  gmx.de>

 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 1030ca7..349614f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,9 +4,9 @@
 #
 language: python
 python:
-- "3.7"
+- "3.8"
 env:
-- PORTAGE_VER="2.3.100"
+- PORTAGE_VER="3.0.1"
 before_install:
 - sudo apt-get -qq update
 - pip install lxml pyyaml



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2020-08-14 Thread Marco Leise
commit: 97ad37cb061d6c879bcf49e2731cefce98bfe4ed
Author: Marco Leise  gmx  de>
AuthorDate: Fri Aug 14 17:31:32 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 01:34:34 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=97ad37cb

Moved remaining ldc2 ebuilds to EAPI=7 and all of them from the legacy eclass 
cmake-util to cmake.

Signed-off-by: Marco Leise  gmx.de>

 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 | 76 +
 dev-lang/ldc2/ldc2-1.21.0-r1.ebuild | 76 +
 4 files changed, 303 insertions(+)

diff --git a/dev-lang/ldc2/ldc2-1.18.0-r1.ebuild 
b/dev-lang/ldc2/ldc2-1.18.0-r1.ebuild
new file mode 100644
index 000..5229a08
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.18.0-r1.ebuild
@@ -0,0 +1,76 @@
+# 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://ldc-developers.github.com/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
+   )
+   =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
new file mode 100644
index 000..e39c89a
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.19.0-r1.ebuild
@@ -0,0 +1,75 @@
+# 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://ldc-developers.github.com/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
+   )
+   =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)
+ 

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/, dev-lang/dmd/

2020-08-14 Thread Marco Leise
commit: 67a315025a7bed305d1e7fe2d30fa9f964d10a5d
Author: Marco Leise  gmx  de>
AuthorDate: Fri Aug 14 15:42:46 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 01:15:55 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=67a31502

dmd-2.092.1

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest   | 2 +-
 dev-lang/dmd/{dmd-2.092.0.ebuild => dmd-2.092.1.ebuild} | 0
 dev-util/dlang-tools/Manifest   | 2 +-
 .../{dlang-tools-2.092.0.ebuild => dlang-tools-2.092.1.ebuild}  | 0
 4 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index d07522e..de65e24 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -27,4 +27,4 @@ DIST dmd.2.088.1.linux.tar.xz 25122116 BLAKE2B 
e573a97cf9f547a3017a0b904523f4877
 DIST dmd.2.089.1.linux.tar.xz 25877024 BLAKE2B 
38fdbac595a6d9ea7548ee331aacefec530594be750a1b3dbfad7af8a5e310d6fb5e774106adfaa0d0c33cfec8e94c7a29f4c3c5c3088cc827f6ccd8a3472e56
 SHA512 
8a5343060d7f28394be81d8732997d96a23522c87912f2c8d0979375297467068d093ab4ef2b92b0ce8be941b5c65061660eef8d1e9252c626197014ac4331a9
 DIST dmd.2.090.1.linux.tar.xz 25595804 BLAKE2B 
addd21fc482aa90d816593312aa6490949e54c3f8f36989eec193e9b09412022afe5d1f7006153f9b258a2c96fed9266ef5a9a94ca9c999cbc3ec1230937dec8
 SHA512 
ebc769d9c4c784b7e59730606e57bbde8dbfaea07be2492a0e475e0818f0ef4aaf3cb2bc8b1be066cc14479d9a3dd0d9655e0b0025c79383dbbbe9b2f2caf04f
 DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 
4db4c1733ecfdaa79a396039b8be735c217841deefd41b91b72a25e075e0f064892aa07497d840ef738021f66b58071d3d8c228573110614c43036ad51d7f701
 SHA512 
94db61b8cabd6229b404ce34e1618a710d6780bd7ce6db4ac666221b9bef616046ab9e4e793651e4e976fb4dd0eeedd5445abc9169ca27be753ff5611001e6bb
-DIST dmd.2.092.0.linux.tar.xz 24272644 BLAKE2B 
417d406b071b8ea35ace5a8da303ba4c9e239bd5aae038ac45797383f54df460d3c169f451ea9bd4bde224e33fd1932412b341c057177f39550dab2c575066b1
 SHA512 
d385f06949a545e35cd93ef4a06ae613648dba641c19cdb66d7650730c8192ef80e4fb0d902e7f948629cc151b3fc940d1a4453056a0b70f901afd1c6de49026
+DIST dmd.2.092.1.linux.tar.xz 24354760 BLAKE2B 
dd342c7cbb22f081720719a9aa2af40adb6bd9b6f25257eb85dc1e8b977dc80de87475b7fd9652c0c1cbba0e5115febd69969dce1f883e1a87e0f2a45b105d82
 SHA512 
df02256148a06bdab1427bed4428230b804da45e5241e6289f72fbc2bbf64020fe63a84b7aa91c36acb60ea8fb048933dc5a8c31f954df2637fd44a2964da0a3

diff --git a/dev-lang/dmd/dmd-2.092.0.ebuild b/dev-lang/dmd/dmd-2.092.1.ebuild
similarity index 100%
rename from dev-lang/dmd/dmd-2.092.0.ebuild
rename to dev-lang/dmd/dmd-2.092.1.ebuild

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 3c090fb..e82bd6b 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -26,7 +26,7 @@ DIST dlang-tools-2.088.1.tar.gz 117104 BLAKE2B 
2920cb8950fb0e921665bab161584c35a
 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.1.tar.gz 117714 BLAKE2B 
bd0957f0e70401b1ededf29be7f942da1445c66e3ea4b47f31b136413b506c3dd03faa4cb1962a10ae51edd0cb18b282da072b0ba63f0f0d7e2cd3e460924e3a
 SHA512 
b8fb4f4c1e9aed1e2134644152a32a7c6073d801458bf0a45a23e86cd761a19c4b517365112edc7af73fbef3c26b4106fa0ee7478a78fa41c531a060c25e3955
-DIST dlang-tools-2.092.0.tar.gz 119007 BLAKE2B 
fbcd288973eb12a8f551fb27dc9c567d7a30895bf82c871ad96f47eb0691ec3fef697086ee0c3d202d668707c06716185d859325dae6214a083740bde09f57b1
 SHA512 
3d3b0f0cc02297119773f54576d350e9124166fad8ed31c6a08eeb1018e1095cebde1ae5056d8d68a6272297cc7ee35d487f4de152536935bac9ca175ffb9e0e
+DIST dlang-tools-2.092.1.tar.gz 119015 BLAKE2B 
35121ccda680297d686b6133b80f27d04c133d3d6add4a335294c203a58475326563b5f81cd90a3d1b261c7799b244b739924ec32a6bbf887a98dcad486b64b4
 SHA512 
84d69e2b5e073bc038f438304060a490bc41c740eba14599b911aa66cc40b0f4ba1fa55536c77f01c6964210025283a3c6d32768493e9ca1e021eadaaa38f8b2
 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B 
a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9
 SHA512 
a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf
 DIST dlang.org-2.065.0.tar.gz 

[gentoo-commits] repo/user/dlang:master commit in: eclass/

2020-08-14 Thread Marco Leise
commit: be92bd625289f6c2167917761dd4690cc62986d0
Author: Marco Leise  gmx  de>
AuthorDate: Fri Aug 14 19:59:19 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat Aug 15 01:34:45 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=be92bd62

Fixed an issue where ldc2 would not build with dmd, because "-Wl,--icf=safe" 
wasn't correctly filtered out of LDFLAGS if set.

Signed-off-by: Marco Leise  gmx.de>

 eclass/dlang.eclass | 37 ++---
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/eclass/dlang.eclass b/eclass/dlang.eclass
index a8a4ace..80dea3a 100644
--- a/eclass/dlang.eclass
+++ b/eclass/dlang.eclass
@@ -207,25 +207,6 @@ dlang_compile_lib_so() {
 # Makes linker flags meant for GCC understandable for the current D compiler.
 # Basically it replaces -L with what the D compiler uses as linker prefix.
 dlang_convert_ldflags() {
-   if [[ "${DLANG_VENDOR}" == "DigitalMars" ]]; then
-   # gc-sections breaks executables for some versions of D
-   # It works with the gold linker on the other hand
-   # See: https://issues.dlang.org/show_bug.cgi?id=879
-   [[ "${DLANG_PACKAGE_TYPE}" == "dmd" ]] && local 
dlang_version=$SLOT || local dlang_version=$DLANG_VERSION
-   if ver_test $dlang_version -lt 2.072; then
-   if ! ld -v | grep -q "^GNU gold"; then
-   filter-ldflags {-L,-Xlinker,-Wl,}--gc-sections
-   fi
-   fi
-   # Filter ld.gold ICF flag. 
(https://issues.dlang.org/show_bug.cgi?id=17515)
-   filter-ldflags {-L,-Xlinker,-Wl,}--icf={none,all,safe}
-   fi
-
-   if [[ "${DLANG_VENDOR}" == "DigitalMars" ]] || [[ "${DLANG_VENDOR}" == 
"GNU" ]]; then
-   # DMD and GDC don't undestand/work with LTO flags
-   filter-ldflags -f{no-,}use-linker-plugin -f{no-,}lto -flto=*
-   fi
-
if [[ "${DLANG_VENDOR}" == "DigitalMars" ]] || [[ "${DLANG_VENDOR}" == 
"LDC" ]]; then
local set prefix flags=()
if [[ is_dmd ]]; then
@@ -613,6 +594,24 @@ __dlang_use_build_vars() {
die "Could not detect D compiler vendor!"
fi
# We need to convert the LDFLAGS, so they are understood by DMD and LDC.
+   if [[ "${DLANG_VENDOR}" == "DigitalMars" ]]; then
+   # gc-sections breaks executables for some versions of D
+   # It works with the gold linker on the other hand
+   # See: https://issues.dlang.org/show_bug.cgi?id=879
+   [[ "${DLANG_PACKAGE_TYPE}" == "dmd" ]] && local 
dlang_version=$SLOT || local dlang_version=$DLANG_VERSION
+   if ver_test $dlang_version -lt 2.072; then
+   if ! ld -v | grep -q "^GNU gold"; then
+   filter-flags {-L,-Xlinker,-Wl\,}--gc-sections
+   fi
+   fi
+   # Filter ld.gold ICF flag. 
(https://issues.dlang.org/show_bug.cgi?id=17515)
+   filter-flags {-L,-Xlinker,-Wl\,}--icf={none,all,safe}
+   fi
+
+   if [[ "${DLANG_VENDOR}" == "DigitalMars" ]] || [[ "${DLANG_VENDOR}" == 
"GNU" ]]; then
+   # DMD and GDC don't undestand/work with LTO flags
+   filter-ldflags -f{no-,}use-linker-plugin -f{no-,}lto -flto=*
+   fi
export LDFLAGS=`dlang_convert_ldflags`
"${@}"
 }



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dub/files/, dev-util/dlang-tools/, dev-lang/dmd/, eclass/, ...

2020-05-30 Thread Marco Leise
commit: d8629dcc474754c43359a472d114ded7f4229d6f
Author: Marco Leise  gmx  de>
AuthorDate: Sat May 30 16:39:08 2020 +
Commit:     Marco Leise  gmx  de>
CommitDate: Sat May 30 16:39:08 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=d8629dcc

dmd-2.092.0 & dub-1.21.0

Signed-off-by: Marco Leise  gmx.de>

 dev-lang/dmd/Manifest  |  1 +
 dev-lang/dmd/dmd-2.092.0.ebuild| 20 
 dev-util/dlang-tools/Manifest  |  1 +
 dev-util/dlang-tools/dlang-tools-2.092.0.ebuild| 54 ++
 dev-util/dub/Manifest  |  1 +
 dev-util/dub/dub-1.21.0.ebuild | 39 
 .../dub/files/dub-1.21.0-gdc-dmd-pathfix.patch | 16 +++
 eclass/dmd.eclass  |  2 +-
 8 files changed, 133 insertions(+), 1 deletion(-)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 145b43c..d07522e 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -27,3 +27,4 @@ DIST dmd.2.088.1.linux.tar.xz 25122116 BLAKE2B 
e573a97cf9f547a3017a0b904523f4877
 DIST dmd.2.089.1.linux.tar.xz 25877024 BLAKE2B 
38fdbac595a6d9ea7548ee331aacefec530594be750a1b3dbfad7af8a5e310d6fb5e774106adfaa0d0c33cfec8e94c7a29f4c3c5c3088cc827f6ccd8a3472e56
 SHA512 
8a5343060d7f28394be81d8732997d96a23522c87912f2c8d0979375297467068d093ab4ef2b92b0ce8be941b5c65061660eef8d1e9252c626197014ac4331a9
 DIST dmd.2.090.1.linux.tar.xz 25595804 BLAKE2B 
addd21fc482aa90d816593312aa6490949e54c3f8f36989eec193e9b09412022afe5d1f7006153f9b258a2c96fed9266ef5a9a94ca9c999cbc3ec1230937dec8
 SHA512 
ebc769d9c4c784b7e59730606e57bbde8dbfaea07be2492a0e475e0818f0ef4aaf3cb2bc8b1be066cc14479d9a3dd0d9655e0b0025c79383dbbbe9b2f2caf04f
 DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 
4db4c1733ecfdaa79a396039b8be735c217841deefd41b91b72a25e075e0f064892aa07497d840ef738021f66b58071d3d8c228573110614c43036ad51d7f701
 SHA512 
94db61b8cabd6229b404ce34e1618a710d6780bd7ce6db4ac666221b9bef616046ab9e4e793651e4e976fb4dd0eeedd5445abc9169ca27be753ff5611001e6bb
+DIST dmd.2.092.0.linux.tar.xz 24272644 BLAKE2B 
417d406b071b8ea35ace5a8da303ba4c9e239bd5aae038ac45797383f54df460d3c169f451ea9bd4bde224e33fd1932412b341c057177f39550dab2c575066b1
 SHA512 
d385f06949a545e35cd93ef4a06ae613648dba641c19cdb66d7650730c8192ef80e4fb0d902e7f948629cc151b3fc940d1a4453056a0b70f901afd1c6de49026

diff --git a/dev-lang/dmd/dmd-2.092.0.ebuild b/dev-lang/dmd/dmd-2.092.0.ebuild
new file mode 100644
index 000..6b582a8
--- /dev/null
+++ b/dev-lang/dmd/dmd-2.092.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KEYWORDS="-* ~amd64 ~x86"
+YEAR=2020
+DLANG_VERSION_RANGE="2.076-"
+
+inherit dmd
+
+PATCHES=(
+   "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
+)
+
+dmd_src_prepare_extra() {
+   # Copy default DDOC theme file into resource directory
+   mkdir "dmd/res" || die "Failed to create 'dmd/res' directory"
+   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."
+}

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 8d581ee..3c090fb 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -26,6 +26,7 @@ DIST dlang-tools-2.088.1.tar.gz 117104 BLAKE2B 
2920cb8950fb0e921665bab161584c35a
 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.1.tar.gz 117714 BLAKE2B 
bd0957f0e70401b1ededf29be7f942da1445c66e3ea4b47f31b136413b506c3dd03faa4cb1962a10ae51edd0cb18b282da072b0ba63f0f0d7e2cd3e460924e3a
 SHA512 
b8fb4f4c1e9aed1e2134644152a32a7c6073d801458bf0a45a23e86cd761a19c4b517365112edc7af73fbef3c26b4106fa0ee7478a78fa41c531a060c25e3955
+DIST dlang-tools-2.092.0.tar.gz 119007 BLAKE2B 
fbcd288973eb12a8f551fb27dc9c567d7a30895bf82c871ad96f47eb0691ec3fef697086ee0c3d202d668707c06716185d859325dae6214a083740bde09f57b1
 SHA512 
3d3b0f0cc02297119773f54576d350e9124166fad8ed31c6a08eeb1018e1095cebde1ae5056d8d68a6272297cc7ee35d487f4de152536935bac9ca175ffb9e0e
 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B 
a7cf0d43a1cd531722bda717882a34e01c0186f0832

  1   2   >