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

2024-04-23 Thread Horodniceanu Andrei
commit: 8055f299e5227d3c71180d2ed5100d4367d35b06
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Tue Apr 23 04:16:59 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Tue Apr 23 16:41:19 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=8055f299

dev-util/dub: add 1.37.0

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

 dev-util/dub/Manifest  |   1 +
 dev-util/dub/dub-1.37.0.ebuild | 182 +
 2 files changed, 183 insertions(+)

diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index 2bf5f79..0e73d93 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1,5 +1,6 @@
 DIST dub-1.35.1.tar.gz 1494965 BLAKE2B 
400e210584660f7ac67732006ca6d88156adbbf2bf221aa244e317bf7c2772a6a01d9e141252fbf0cfde4c07302ee533593f3a2f418f9e120edc7359a83180cf
 SHA512 
a371a7ec7003a4a4fb642a3567fce0685c99f4940a02de94d026bdc6fe4e84512b16e4bb57673da4d3b8e25177cc3df329da41862086cecc7b98aec1ebf9e4e7
 DIST dub-1.36.0.tar.gz 1502081 BLAKE2B 
2ae9503d5c8725de801d65a06fab07e9e3b8fbb007159b1e90fda18d2ca1f0361b055cf2de4e4290828a7fb401168b15c1a85eca872a58d7ce0d5eb5f979ff4e
 SHA512 
7a0e5c5432bbe6d67be8f98e8bc7ef0350e9eb358b13f795b9c18ef9a781dc3092074d88b7a846cf69e1ba648641c6acd8b766ec4bf119ce9b380d886f87b4c3
+DIST dub-1.37.0.tar.gz 1515440 BLAKE2B 
13bb5b5541af6ae11e45cf130e9bfb706e7fb59797e497a33e419500262fd70ef1ac657b2b230224010d78b36361f7974d38b22fd36fa70f580c3b7f7a578457
 SHA512 
dc4331b77681d05bc5c6f36f5179d2a1220f3e1cbfc64ba27104fb2b716bd7e2b70c5b3b4d0e8b786caf36632c2fd774bbd51b235389ff38cfde87138fc9de18
 DIST gitcompatibledubpackage-1.0.1.zip 1354 BLAKE2B 
60c3ff78c9cc0ca16f36bfdb4d91f6ec7e8d1bc7fb2fae9488e3f24b33fc3b578157f3c2fd9f892743b1fba7ec473267d9027febd3c27ac2af52733e146c341d
 SHA512 
0adb8a97cce0aaac1dbaea978aacf801071457c06413e618b0feb1adaf4169c7a1acbfac2d9c192fada4f2f8bd44e1ea3b9fce8c7cb3fb8bf364eba75f559122
 DIST gitcompatibledubpackage-1.0.4.zip 2041 BLAKE2B 
595080956881fd86753b17cdbb12108ab03161806ca51c748017f29251dd47a95a0aebde4442db1783602cfa67a9593014ebb6ca591dcfec2b08eef3d737e2cc
 SHA512 
12057117be99bb4d2351af74cfd36c050734383bfc44b185cf5f9737d982e9fd6840f6968a3246b625d4ec90e9d30f5e394f8fa1febb85464429d771bc8062d0
 DIST urld-2.1.1.zip 15062 BLAKE2B 
fe123fbef20167e07c81d0f7700a59c48dca28311329f9717283f3e7c88cc2430a1ffc26632c8c1512145b9d6fa6e432cee1677e99be3bd555247f02f7f42b67
 SHA512 
c4c8d349a8bbac9f234166ed9452ab221f8928e822c6ab95716b05948dbb21ae4309face4158909559698f23aa750c9faef5b2294feef7e601ccbc9a41c3b6bb

diff --git a/dev-util/dub/dub-1.37.0.ebuild b/dev-util/dub/dub-1.37.0.ebuild
new file mode 100644
index 000..3db7f28
--- /dev/null
+++ b/dev-util/dub/dub-1.37.0.ebuild
@@ -0,0 +1,182 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Package and build management system for D"
+HOMEPAGE="https://code.dlang.org/;
+
+DUB_TEST_DEPS=(
+   gitcompatibledubpackage@1.0.1
+   gitcompatibledubpackage@1.0.4
+   urld@2.1.1
+)
+generate_dub_test_dependencies() {
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+   echo 
"https://code.dlang.org/packages/${depName}/${depVersion}.zip -> 
${depName}-${depVersion}.zip"
+   done
+}
+
+GITHUB_URI="https://codeload.github.com/dlang;
+SRC_URI="
+   ${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz
+   test? (
+   $(generate_dub_test_dependencies)
+   )
+"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..37} )
+
+inherit dlang-single shell-completion
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+src_unpack() {
+   unpack "${P}.tar.gz"
+
+   if use test; then
+   # Copy the archives locally. Some tests do need to perform an
+   # actual fetch operation so make all of them available as
+   # archives and let dub figure out the rest.
+   local store="${T}/dub-test-deps"
+   mkdir -p "${store}" || die
+
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+
+   cp "${DISTDIR}/${depName}-${depVersion}.zip" "${store}" 
|| die
+   done
+
+   # Generate a settings.json file that points to the directory 
with all the deps.
+   # Note that "skipRegistry" doesn't seem to be respected.
+   cat < "${T}/settings.json"
+{
+   "registryUrls": [
+   "file://${store}"
+   ],
+   "skipRegistry": "standard"
+}
+EOF
+  

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

2024-04-13 Thread Horodniceanu Andrei
commit: cf9db5873fd9d11b0e66faab7ef61a3b2a95c2f9
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  9 14:39:38 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:31 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=cf9db587

dev-util/dub: port to dlang-single.eclass

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

 dev-util/dub/dub-1.36.0-r1.ebuild | 162 ++
 1 file changed, 162 insertions(+)

diff --git a/dev-util/dub/dub-1.36.0-r1.ebuild 
b/dev-util/dub/dub-1.36.0-r1.ebuild
new file mode 100644
index 000..608e02a
--- /dev/null
+++ b/dev-util/dub/dub-1.36.0-r1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Package and build management system for D"
+HOMEPAGE="https://code.dlang.org/;
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+
+inherit dlang-single shell-completion
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+DUB_TEST_DEPS=(
+   gitcompatibledubpackage@1.0.1
+   gitcompatibledubpackage@1.0.4
+   urld@2.1.1
+)
+generate_dub_test_dependencies() {
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+   echo 
"https://code.dlang.org/packages/${depName}/${depVersion}.zip -> 
${depName}-${depVersion}.zip"
+   done
+}
+
+GITHUB_URI="https://codeload.github.com/dlang;
+SRC_URI="
+   ${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz
+   test? (
+   $(generate_dub_test_dependencies)
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/${P}-fix-wno-error-not-applying.patch"
+)
+
+src_unpack() {
+   unpack "${P}.tar.gz"
+
+   if use test; then
+   # Copy the archives locally. Some tests do need to perform an
+   # actual fetch operation so make all of them available as
+   # archives and let dub figure out the rest.
+   local store="${T}/dub-test-deps"
+   mkdir -p "${store}" || die
+
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+
+   cp "${DISTDIR}/${depName}-${depVersion}.zip" "${store}" 
|| die
+   done
+
+   # Generate a settings.json file that points to the directory 
with all the deps.
+   cat < "${T}/settings.json"
+{
+   "registryUrls": [
+   "file://${store}"
+   ],
+   "skipRegistry": "all"
+}
+EOF
+   fi
+}
+
+src_compile() {
+   local imports=source versions="DubApplication DubUseCurl"
+   dlang_compile_bin bin/dub $(/../etc/dub/settings.json as per
+   # https://dub.pm/dub-reference/settings so that it's picked up
+   # automatically.
+   mkdir -p "${S}/bin/../etc/dub" || die
+   cp "${T}/settings.json" "${S}/bin/../etc/dub/" \
+   || die "Could not copy dub configuration file"
+
+   # See https://bugs.gentoo.org/921581 we have to remove -op (preserve
+   # source path for output files) from the flags lest the sandbox
+   # trips us up. This shouldn't be a problem anymore with dlang-single.
+   dlang-filter-dflags "*" "--op" "-op"
+
+   # Append -Wno-error or equivalent
+   DCFLAGS+=" $(dlang_get_wno_error_flag)"
+
+   DFLAGS="${DCFLAGS}" FRONTEND="$(dlang_get_fe_version)" 
test/run-unittest.sh  \
+   || die "Tests failed"
+}
+
+src_install() {
+   dobin bin/dub
+   dodoc README.md
+
+   # Make sure there are no man files in any other section.
+   use doc && doman scripts/man/*.1
+
+   newbashcomp scripts/bash-completion/${PN}.bash ${PN}
+   dozshcomp scripts/zsh-completion/_${PN}
+   dofishcomp scripts/fish-completion/${PN}.fish
+}



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

2024-02-20 Thread Horodniceanu Andrei
commit: e1cb0e5e10e429f7b03677c75e196a4feab52a4e
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Tue Feb 20 18:56:47 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Tue Feb 20 18:56:47 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e1cb0e5e

dev-util/dub/files: remove unused patches

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

 dev-util/dub/files/dub-1.29.0-gdc-dmd-pathfix.patch | 16 
 dev-util/dub/files/dub-1.33.0-gdc-dmd-pathfix.patch | 18 --
 2 files changed, 34 deletions(-)

diff --git a/dev-util/dub/files/dub-1.29.0-gdc-dmd-pathfix.patch 
b/dev-util/dub/files/dub-1.29.0-gdc-dmd-pathfix.patch
deleted file mode 100644
index 497ef50..000
--- a/dev-util/dub/files/dub-1.29.0-gdc-dmd-pathfix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d
 a/source/dub/generators/build.d
-+++ b/source/dub/generators/build.d
-@@ -119,10 +119,10 @@ class BuildGenerator : ProjectGenerator {
-   auto build_id = computeBuildID(config, buildsettings, settings);
- 
-   // make all paths relative to shrink the command line
--  string makeRelative(string path) { return 
shrinkPath(NativePath(path), cwd); }
-+  /+string makeRelative(string path) { return 
shrinkPath(NativePath(path), cwd); }
-   foreach (ref f; buildsettings.sourceFiles) f = makeRelative(f);
-   foreach (ref p; buildsettings.importPaths) p = makeRelative(p);
--  foreach (ref p; buildsettings.stringImportPaths) p = 
makeRelative(p);
-+  foreach (ref p; buildsettings.stringImportPaths) p = 
makeRelative(p);+/
- 
-   // perform the actual build
-   bool cached = false;

diff --git a/dev-util/dub/files/dub-1.33.0-gdc-dmd-pathfix.patch 
b/dev-util/dub/files/dub-1.33.0-gdc-dmd-pathfix.patch
deleted file mode 100644
index a32d54b..000
--- a/dev-util/dub/files/dub-1.33.0-gdc-dmd-pathfix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d
-index 8583eab..fc9a6d9 100644
 a/source/dub/generators/build.d
-+++ b/source/dub/generators/build.d
-@@ -211,11 +211,11 @@ class BuildGenerator : ProjectGenerator {
-   auto build_id = buildsettings.computeBuildID(config, settings);
- 
-   // make all paths relative to shrink the command line
--  string makeRelative(string path) { return 
shrinkPath(NativePath(path), cwd); }
-+  /+string makeRelative(string path) { return 
shrinkPath(NativePath(path), cwd); }
-   foreach (ref f; buildsettings.sourceFiles) f = makeRelative(f);
-   foreach (ref p; buildsettings.importPaths) p = makeRelative(p);
-   foreach (ref p; buildsettings.cImportPaths) p = makeRelative(p);
--  foreach (ref p; buildsettings.stringImportPaths) p = 
makeRelative(p);
-+  foreach (ref p; buildsettings.stringImportPaths) p = 
makeRelative(p);+/
- 
-   // perform the actual build
-   bool cached = false;



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

2024-02-20 Thread Horodniceanu Andrei
commit: 19c8d6a4792b57424fb923b69dd55c0974663588
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Tue Feb 20 18:56:33 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Tue Feb 20 18:56:33 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=19c8d6a4

dev-util/dub: drop 1.35.1-r1

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

 dev-util/dub/dub-1.35.1-r1.ebuild | 148 --
 1 file changed, 148 deletions(-)

diff --git a/dev-util/dub/dub-1.35.1-r1.ebuild 
b/dev-util/dub/dub-1.35.1-r1.ebuild
deleted file mode 100644
index 29038e0..000
--- a/dev-util/dub/dub-1.35.1-r1.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2024 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 ~arm64 ~x86"
-IUSE="debug test"
-RESTRICT="!test? ( test )"
-
-DUB_TEST_DEPS=(
-   gitcompatibledubpackage@1.0.1
-   gitcompatibledubpackage@1.0.4
-   urld@2.1.1
-)
-generate_dub_dependencies() {
-   local dep
-   for dep in "${DUB_TEST_DEPS[@]}"; do
-   local depName depVersion
-   depName="${dep%@*}"
-   depVersion="${dep#*@}"
-   echo 
"https://code.dlang.org/packages/${depName}/${depVersion}.zip -> 
${depName}-${depVersion}.zip"
-   done
-}
-
-GITHUB_URI="https://codeload.github.com/dlang;
-SRC_URI="
-${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz
-test? (
-   $(generate_dub_dependencies)
-)
-"
-
-# Upstream recommends the latest version available
-DLANG_VERSION_RANGE="2.100-2.106"
-DLANG_PACKAGE_TYPE="single"
-
-inherit dlang
-
-src_unpack() {
-   unpack "${PN}-${PV}.tar.gz"
-
-   if use test; then
-   # Copy the archives locally. Some tests do need to perform an
-   # actual fetch operation so make all of them available as
-   # archives and let dub figure out the rest.
-   local dep
-   for dep in "${DUB_TEST_DEPS[@]}"; do
-   local depName depVersion
-   depName="${dep%@*}"
-   depVersion="${dep#*@}"
-
-   cp "${DISTDIR}/${depName}-${depVersion}.zip" "${T}" || 
die
-   done
-
-   # Generate a dub.settings.json file that points to the 
directory with all the deps
-   cat < "${T}/dub.settings.json"
-{
-   "registryUrls": [
-   "file://${T}"
-   ],
-   "skipRegistry": "all"
-}
-EOF
-   fi
-}
-
-d_src_compile() {
-   local imports=source versions="DubApplication DubUseCurl"
-   dlang_compile_bin bin/dub $(https://github.com/dlang/dub/pull/2796
-   rm -rf test/dub-as-a-library-cwd || die
-   fi
-
-   local dropImportCTest
-   # We have an importC test and not all compilers pass it properly.
-   # gdc-13 doesn't support #include's in its importC implementation yet.
-   [[ ${DLANG_VENDOR} == GNU ]] && [[ ${DC_VERSION} -ge 13 ]] && 
dropImportCTest=1
-   # Nor does <=ldc2-1.32.
-   [[ ${DLANG_VENDOR} == LDC ]] && $(ver_test ${DC_VERSION} -le 1.32) && 
dropImportCTest=1
-   # dmd can do #include's but there are some other errors about 
__float128 in <=dmd-2.102 for non amd64.
-   [[ ${DLANG_VENDOR} == DigitalMars ]] && $(ver_test ${DC_VERSION} -le 
2.102) \
-   && [[ ${ARCH} != amd64 ]] && dropImportCTest=1
-   if [[ -n ${dropImportCTest} ]]; then
-   rm -rf "${S}/test/use-c-sources" || die
-   fi
-
-   # Put the configuration file relative to the dub binary:
-   # /../etc/dub/settings.json as per
-   # https://dub.pm/dub-reference/settings so that it's picked up
-   # automatically.
-   mkdir -p "${S}/bin/../etc/dub" || die
-   cp "${T}/dub.settings.json" "${S}/bin/../etc/dub/settings.json" \
-   || die "Could not copy dub configuration file"
-
-   # See https://bugs.gentoo.org/921581 we have to remove -op (preserve 
source path for output files)
-   # from the flags lest the sandbox trips us up.
-   local filteredDflags="${DCFLAGS//--op/}"
-   filteredDflags="${filteredDflags//-op/}"
-
-   # There's no easy way to make dub verbose here, the path has to be an 
actual binary for a few tests.
-   DUB="${DUB}" DFLAGS="${filteredDflags}" FRONTEND="${DLANG_VERSION}" 
test/run-unittest.sh  \
-   || die "Tests failed"
-}
-
-d_src_install() {
-   dobin bin/dub
-   dodoc README.md
-
-   ## Currently broken with gdc
-   # All the files in the directory below, with the exception of gen_man.d 
and README, are man pages.
-   # To keep the ebuild simple, we will just glob on the files that end in 
.1 since there are currently
-   # no man pages in a different section.
-   #doman scripts/man/*.1
-}



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

2024-02-20 Thread Horodniceanu Andrei
commit: 51b60bbc3e404fad03b2fa9d111f986d9fdd5ae3
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Tue Feb 20 18:41:47 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Tue Feb 20 18:42:18 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=51b60bbc

dev-util/dub: add 1.36.0

Additional changes:
- install bash/zsh/fish completions
- generate man pages with USE=doc

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

 dev-util/dub/Manifest  |   1 +
 dev-util/dub/dub-1.36.0.ebuild | 174 +
 .../dub-1.36.0-fix-wno-error-not-applying.patch| 110 +
 dev-util/dub/metadata.xml  |   6 +-
 4 files changed, 290 insertions(+), 1 deletion(-)

diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index ce30927..2bf5f79 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1,4 +1,5 @@
 DIST dub-1.35.1.tar.gz 1494965 BLAKE2B 
400e210584660f7ac67732006ca6d88156adbbf2bf221aa244e317bf7c2772a6a01d9e141252fbf0cfde4c07302ee533593f3a2f418f9e120edc7359a83180cf
 SHA512 
a371a7ec7003a4a4fb642a3567fce0685c99f4940a02de94d026bdc6fe4e84512b16e4bb57673da4d3b8e25177cc3df329da41862086cecc7b98aec1ebf9e4e7
+DIST dub-1.36.0.tar.gz 1502081 BLAKE2B 
2ae9503d5c8725de801d65a06fab07e9e3b8fbb007159b1e90fda18d2ca1f0361b055cf2de4e4290828a7fb401168b15c1a85eca872a58d7ce0d5eb5f979ff4e
 SHA512 
7a0e5c5432bbe6d67be8f98e8bc7ef0350e9eb358b13f795b9c18ef9a781dc3092074d88b7a846cf69e1ba648641c6acd8b766ec4bf119ce9b380d886f87b4c3
 DIST gitcompatibledubpackage-1.0.1.zip 1354 BLAKE2B 
60c3ff78c9cc0ca16f36bfdb4d91f6ec7e8d1bc7fb2fae9488e3f24b33fc3b578157f3c2fd9f892743b1fba7ec473267d9027febd3c27ac2af52733e146c341d
 SHA512 
0adb8a97cce0aaac1dbaea978aacf801071457c06413e618b0feb1adaf4169c7a1acbfac2d9c192fada4f2f8bd44e1ea3b9fce8c7cb3fb8bf364eba75f559122
 DIST gitcompatibledubpackage-1.0.4.zip 2041 BLAKE2B 
595080956881fd86753b17cdbb12108ab03161806ca51c748017f29251dd47a95a0aebde4442db1783602cfa67a9593014ebb6ca591dcfec2b08eef3d737e2cc
 SHA512 
12057117be99bb4d2351af74cfd36c050734383bfc44b185cf5f9737d982e9fd6840f6968a3246b625d4ec90e9d30f5e394f8fa1febb85464429d771bc8062d0
 DIST urld-2.1.1.zip 15062 BLAKE2B 
fe123fbef20167e07c81d0f7700a59c48dca28311329f9717283f3e7c88cc2430a1ffc26632c8c1512145b9d6fa6e432cee1677e99be3bd555247f02f7f42b67
 SHA512 
c4c8d349a8bbac9f234166ed9452ab221f8928e822c6ab95716b05948dbb21ae4309face4158909559698f23aa750c9faef5b2294feef7e601ccbc9a41c3b6bb

diff --git a/dev-util/dub/dub-1.36.0.ebuild b/dev-util/dub/dub-1.36.0.ebuild
new file mode 100644
index 000..7bae587
--- /dev/null
+++ b/dev-util/dub/dub-1.36.0.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Package and build management system for D"
+HOMEPAGE="https://code.dlang.org/;
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="debug doc test"
+RESTRICT="!test? ( test )"
+
+DUB_TEST_DEPS=(
+   gitcompatibledubpackage@1.0.1
+   gitcompatibledubpackage@1.0.4
+   urld@2.1.1
+)
+generate_dub_dependencies() {
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+   echo 
"https://code.dlang.org/packages/${depName}/${depVersion}.zip -> 
${depName}-${depVersion}.zip"
+   done
+}
+
+GITHUB_URI="https://codeload.github.com/dlang;
+SRC_URI="
+${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz
+test? (
+   $(generate_dub_dependencies)
+)
+"
+
+PATCHES=(
+   "${FILESDIR}/${PF}-fix-wno-error-not-applying.patch"
+)
+
+# Upstream recommends the latest version available
+DLANG_VERSION_RANGE="2.100-2.107"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang shell-completion
+
+src_unpack() {
+   unpack "${P}.tar.gz"
+
+   if use test; then
+   # Copy the archives locally. Some tests do need to perform an
+   # actual fetch operation so make all of them available as
+   # archives and let dub figure out the rest.
+   local store="${T}/dub-test-deps"
+   mkdir -p "${store}" || die
+
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+
+   cp "${DISTDIR}/${depName}-${depVersion}.zip" "${store}" 
|| die
+   done
+
+   # Generate a settings.json file that points to the directory 
with all the deps.
+   cat < "${T}/settings.json"
+{
+   "registryUrls": [
+   "file://${store}"
+   ],
+   "skipRegistry": "all"
+}
+EOF
+   fi
+}
+
+d_src_compile() {
+   local imports=source versions="DubApplication DubUseCurl"
+   dlang_compile_bin bin/dub 

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

2024-02-18 Thread Horodniceanu Andrei
commit: 8ee5fd5d1e5484ac1ab91b00bc1629768fb8e52d
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sun Feb  4 14:50:43 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sun Feb  4 14:50:43 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=8ee5fd5d

dev-util/dub: stabilize 1.35.1 for amd64, x86

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

 dev-util/dub/dub-1.35.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dub/dub-1.35.1.ebuild b/dev-util/dub/dub-1.35.1.ebuild
index ac524f5..3c503a8 100644
--- a/dev-util/dub/dub-1.35.1.ebuild
+++ b/dev-util/dub/dub-1.35.1.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://code.dlang.org/;
 LICENSE="MIT"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="debug"
 
 GITHUB_URI="https://codeload.github.com/dlang;



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

2024-02-18 Thread Horodniceanu Andrei
commit: f91d2618d5269413f818280a9ddeb188e352e12d
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sun Feb  4 15:54:46 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sun Feb  4 15:54:46 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f91d2618

dev-util/dub: drop 1.33.0

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

 dev-util/dub/Manifest  |  1 -
 dev-util/dub/dub-1.33.0.ebuild | 47 --
 2 files changed, 48 deletions(-)

diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index b6c5eda..ce30927 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1,4 +1,3 @@
-DIST dub-1.33.0.tar.gz 1488522 BLAKE2B 
f3171c4c85dca2bdae133c1f9f8f4ef79726a882ace9242ee825716c2f38ade16171eb1f0395856117d2b7ed592dd19e8e223ddff78ba900716832b346162f7e
 SHA512 
027c77ac6179cb0cf26618a04604c15bbe4ae668901b54a0029b63ce4585cd1017c463cd9b6bc58f2eabafab85fb58935feb2866714e69d281d1d5cbe0a3f806
 DIST dub-1.35.1.tar.gz 1494965 BLAKE2B 
400e210584660f7ac67732006ca6d88156adbbf2bf221aa244e317bf7c2772a6a01d9e141252fbf0cfde4c07302ee533593f3a2f418f9e120edc7359a83180cf
 SHA512 
a371a7ec7003a4a4fb642a3567fce0685c99f4940a02de94d026bdc6fe4e84512b16e4bb57673da4d3b8e25177cc3df329da41862086cecc7b98aec1ebf9e4e7
 DIST gitcompatibledubpackage-1.0.1.zip 1354 BLAKE2B 
60c3ff78c9cc0ca16f36bfdb4d91f6ec7e8d1bc7fb2fae9488e3f24b33fc3b578157f3c2fd9f892743b1fba7ec473267d9027febd3c27ac2af52733e146c341d
 SHA512 
0adb8a97cce0aaac1dbaea978aacf801071457c06413e618b0feb1adaf4169c7a1acbfac2d9c192fada4f2f8bd44e1ea3b9fce8c7cb3fb8bf364eba75f559122
 DIST gitcompatibledubpackage-1.0.4.zip 2041 BLAKE2B 
595080956881fd86753b17cdbb12108ab03161806ca51c748017f29251dd47a95a0aebde4442db1783602cfa67a9593014ebb6ca591dcfec2b08eef3d737e2cc
 SHA512 
12057117be99bb4d2351af74cfd36c050734383bfc44b185cf5f9737d982e9fd6840f6968a3246b625d4ec90e9d30f5e394f8fa1febb85464429d771bc8062d0

diff --git a/dev-util/dub/dub-1.33.0.ebuild b/dev-util/dub/dub-1.33.0.ebuild
deleted file mode 100644
index 5e07ea4..000
--- a/dev-util/dub/dub-1.33.0.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2023 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 ~arm64 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"
-
-# Upstream recommends the latest version available
-DLANG_VERSION_RANGE="2.092-"
-DLANG_PACKAGE_TYPE="single"
-
-inherit dlang
-
-d_src_compile() {
-   local imports=source versions="DubApplication DubUseCurl"
-   dlang_compile_bin bin/dub $(

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

2024-01-14 Thread Horodniceanu Andrei
commit: 744d388a0c92404d80bb0f125394a2c6cc624f2f
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Fri Jan 12 18:29:53 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sun Jan 14 20:43:48 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=744d388a

dev-util/dub: add and enable tests for 1.35.1-r1

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

 dev-util/dub/Manifest |   3 +
 dev-util/dub/dub-1.35.1-r1.ebuild | 148 ++
 2 files changed, 151 insertions(+)

diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index 9a9d96c..b6c5eda 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1,2 +1,5 @@
 DIST dub-1.33.0.tar.gz 1488522 BLAKE2B 
f3171c4c85dca2bdae133c1f9f8f4ef79726a882ace9242ee825716c2f38ade16171eb1f0395856117d2b7ed592dd19e8e223ddff78ba900716832b346162f7e
 SHA512 
027c77ac6179cb0cf26618a04604c15bbe4ae668901b54a0029b63ce4585cd1017c463cd9b6bc58f2eabafab85fb58935feb2866714e69d281d1d5cbe0a3f806
 DIST dub-1.35.1.tar.gz 1494965 BLAKE2B 
400e210584660f7ac67732006ca6d88156adbbf2bf221aa244e317bf7c2772a6a01d9e141252fbf0cfde4c07302ee533593f3a2f418f9e120edc7359a83180cf
 SHA512 
a371a7ec7003a4a4fb642a3567fce0685c99f4940a02de94d026bdc6fe4e84512b16e4bb57673da4d3b8e25177cc3df329da41862086cecc7b98aec1ebf9e4e7
+DIST gitcompatibledubpackage-1.0.1.zip 1354 BLAKE2B 
60c3ff78c9cc0ca16f36bfdb4d91f6ec7e8d1bc7fb2fae9488e3f24b33fc3b578157f3c2fd9f892743b1fba7ec473267d9027febd3c27ac2af52733e146c341d
 SHA512 
0adb8a97cce0aaac1dbaea978aacf801071457c06413e618b0feb1adaf4169c7a1acbfac2d9c192fada4f2f8bd44e1ea3b9fce8c7cb3fb8bf364eba75f559122
+DIST gitcompatibledubpackage-1.0.4.zip 2041 BLAKE2B 
595080956881fd86753b17cdbb12108ab03161806ca51c748017f29251dd47a95a0aebde4442db1783602cfa67a9593014ebb6ca591dcfec2b08eef3d737e2cc
 SHA512 
12057117be99bb4d2351af74cfd36c050734383bfc44b185cf5f9737d982e9fd6840f6968a3246b625d4ec90e9d30f5e394f8fa1febb85464429d771bc8062d0
+DIST urld-2.1.1.zip 15062 BLAKE2B 
fe123fbef20167e07c81d0f7700a59c48dca28311329f9717283f3e7c88cc2430a1ffc26632c8c1512145b9d6fa6e432cee1677e99be3bd555247f02f7f42b67
 SHA512 
c4c8d349a8bbac9f234166ed9452ab221f8928e822c6ab95716b05948dbb21ae4309face4158909559698f23aa750c9faef5b2294feef7e601ccbc9a41c3b6bb

diff --git a/dev-util/dub/dub-1.35.1-r1.ebuild 
b/dev-util/dub/dub-1.35.1-r1.ebuild
new file mode 100644
index 000..45e6d75
--- /dev/null
+++ b/dev-util/dub/dub-1.35.1-r1.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2024 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 ~x86"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+DUB_TEST_DEPS=(
+   gitcompatibledubpackage@1.0.1
+   gitcompatibledubpackage@1.0.4
+   urld@2.1.1
+)
+generate_dub_dependencies() {
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+   echo 
"https://code.dlang.org/packages/${depName}/${depVersion}.zip -> 
${depName}-${depVersion}.zip"
+   done
+}
+
+GITHUB_URI="https://codeload.github.com/dlang;
+SRC_URI="
+${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz
+test? (
+   $(generate_dub_dependencies)
+)
+"
+
+# Upstream recommends the latest version available
+DLANG_VERSION_RANGE="2.100-2.106"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang
+
+src_unpack() {
+   unpack "${PN}-${PV}.tar.gz"
+
+   if use test; then
+   # Copy the archives locally. Some tests do need to perform an
+   # actual fetch operation so make all of them available as
+   # archives and let dub figure out the rest.
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+
+   cp "${DISTDIR}/${depName}-${depVersion}.zip" "${T}" || 
die
+   done
+
+   # Generate a dub.settings.json file that points to the 
directory with all the deps
+   cat < "${T}/dub.settings.json"
+{
+   "registryUrls": [
+   "file://${T}"
+   ],
+   "skipRegistry": "all"
+}
+EOF
+   fi
+}
+
+d_src_compile() {
+   local imports=source versions="DubApplication DubUseCurl"
+   dlang_compile_bin bin/dub $(https://github.com/dlang/dub/pull/2796
+   rm -rf test/dub-as-a-library-cwd || die
+   fi
+
+   local dropImportCTest
+   # We have an importC test and not all compilers pass it properly.
+   # gdc-13 doesn't support #include's in its importC implementation yet.
+   [[ ${DLANG_VENDOR} == GNU ]] && [[ ${DC_VERSION} -ge 13 ]] && 
dropImportCTest=1
+   # Nor does <=ldc2-1.32.
+   

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

2024-01-14 Thread Horodniceanu Andrei
commit: f206665b015272cc35ebd291c565235b0b18edfc
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Fri Jan 12 19:04:33 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sun Jan 14 20:43:56 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f206665b

dev-util/dub: keyword 1.35.1-r1 for ~arm64

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

 dev-util/dub/dub-1.35.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dub/dub-1.35.1-r1.ebuild 
b/dev-util/dub/dub-1.35.1-r1.ebuild
index 45e6d75..29038e0 100644
--- a/dev-util/dub/dub-1.35.1-r1.ebuild
+++ b/dev-util/dub/dub-1.35.1-r1.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://code.dlang.org/;
 LICENSE="MIT"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



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

2024-01-03 Thread Horodniceanu Andrei
commit: 1f973ddfe636364bfebd455a53434673af101030
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Wed Jan  3 07:09:03 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Wed Jan  3 19:38:14 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=1f973ddf

dev-util/dub: add 1.35.1

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

 dev-util/dub/Manifest  |  1 +
 dev-util/dub/dub-1.35.1.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index 2a5aed3..9a9d96c 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1 +1,2 @@
 DIST dub-1.33.0.tar.gz 1488522 BLAKE2B 
f3171c4c85dca2bdae133c1f9f8f4ef79726a882ace9242ee825716c2f38ade16171eb1f0395856117d2b7ed592dd19e8e223ddff78ba900716832b346162f7e
 SHA512 
027c77ac6179cb0cf26618a04604c15bbe4ae668901b54a0029b63ce4585cd1017c463cd9b6bc58f2eabafab85fb58935feb2866714e69d281d1d5cbe0a3f806
+DIST dub-1.35.1.tar.gz 1494965 BLAKE2B 
400e210584660f7ac67732006ca6d88156adbbf2bf221aa244e317bf7c2772a6a01d9e141252fbf0cfde4c07302ee533593f3a2f418f9e120edc7359a83180cf
 SHA512 
a371a7ec7003a4a4fb642a3567fce0685c99f4940a02de94d026bdc6fe4e84512b16e4bb57673da4d3b8e25177cc3df329da41862086cecc7b98aec1ebf9e4e7

diff --git a/dev-util/dub/dub-1.35.1.ebuild b/dev-util/dub/dub-1.35.1.ebuild
new file mode 100644
index 000..ac524f5
--- /dev/null
+++ b/dev-util/dub/dub-1.35.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 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 ~x86"
+IUSE="debug"
+
+GITHUB_URI="https://codeload.github.com/dlang;
+SRC_URI="${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz"
+
+# Upstream recommends the latest version available
+DLANG_VERSION_RANGE="2.100-2.106"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang
+
+d_src_compile() {
+   local imports=source versions="DubApplication DubUseCurl"
+   dlang_compile_bin bin/dub $(

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

2023-09-28 Thread Horodniceanu Andrei
commit: a9689d44f2b60c471b637ff5634757e338a49a4d
Author: Horodniceanu Andrei  proton  me>
AuthorDate: Wed Sep 27 21:49:35 2023 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Thu Sep 28 11:33:43 2023 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=a9689d44

dev-util/dub: add 1.33.0

Man page generation has been disabled due to linking errors when
compiling the generator with gdc.

Dependency on net-misc/curl has been removed as dub only uses the
wrappers in phobos. For the same reason linking to libcurl and libz
is redundant and has been removed.

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

 dev-util/dub/Manifest  |  1 +
 dev-util/dub/dub-1.33.0.ebuild | 47 ++
 .../dub/files/dub-1.33.0-gdc-dmd-pathfix.patch | 18 +
 3 files changed, 66 insertions(+)

diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index 4c543e0..372e45d 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1 +1,2 @@
 DIST dub-1.29.0.tar.gz 1321720 BLAKE2B 
c24f55cb4d356538a22eda86b8abec0d0ccdb3ede6bc1e49424ba8350d0ac95b2c3b9307c6eaa9b9547be6a040548824ea32a019aac62287f8410c9beec07bd2
 SHA512 
f851ceccb7aa1ee00560c64fca2cf4239f0b260c7c2eee5c3688a555f7f37ff7bc4894cbc944ec0cf3a5b1cb1cf33d6d1e9cf23b24b42e098ccb3f432354a97c
+DIST dub-1.33.0.tar.gz 1488522 BLAKE2B 
f3171c4c85dca2bdae133c1f9f8f4ef79726a882ace9242ee825716c2f38ade16171eb1f0395856117d2b7ed592dd19e8e223ddff78ba900716832b346162f7e
 SHA512 
027c77ac6179cb0cf26618a04604c15bbe4ae668901b54a0029b63ce4585cd1017c463cd9b6bc58f2eabafab85fb58935feb2866714e69d281d1d5cbe0a3f806

diff --git a/dev-util/dub/dub-1.33.0.ebuild b/dev-util/dub/dub-1.33.0.ebuild
new file mode 100644
index 000..2805d8b
--- /dev/null
+++ b/dev-util/dub/dub-1.33.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 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 ~arm64 ~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"
+
+# Upstream recommends the latest version available
+DLANG_VERSION_RANGE="2.092-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang
+
+d_src_compile() {
+   local imports=source versions="DubApplication DubUseCurl"
+   dlang_compile_bin bin/dub $(

[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: 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: 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 
01fc8ec0c5148f910e2923be556208c08a18f00453ffa1f1a22d6725db6489b6f9022cd170caa3a05078baddde353ee819984da5efa53547e78006d2f0a97b9c
 SHA512 

[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 
a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9
 SHA512 

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

2020-05-17 Thread Marco Leise
commit: d6a7f48dce12a2cdb317e801771c7931dd8e4d98
Author: Marco Leise  gmx  de>
AuthorDate: Sat May 16 19:48:42 2020 +
Commit: Marco Leise  gmx  de>
CommitDate: Sat May 16 19:48:42 2020 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=d6a7f48d

dmd-2.091 and dub-1.20.1

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

 dev-lang/dmd/Manifest  |  2 +-
 .../dmd/{dmd-2.091.0.ebuild => dmd-2.091.1.ebuild} |  0
 dev-util/dlang-tools/Manifest  |  2 +-
 ...s-2.091.0.ebuild => dlang-tools-2.091.1.ebuild} |  0
 dev-util/dub/Manifest  |  1 +
 dev-util/dub/dub-1.20.1.ebuild | 39 ++
 .../dub/files/dub-1.20.1-gdc-dmd-pathfix.patch | 16 +
 7 files changed, 58 insertions(+), 2 deletions(-)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 02a00ef..145b43c 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -26,4 +26,4 @@ DIST dmd.2.087.1.linux.tar.xz 25120264 BLAKE2B 
fb6aed0ebf1547565f99717830acfe450
 DIST dmd.2.088.1.linux.tar.xz 25122116 BLAKE2B 
e573a97cf9f547a3017a0b904523f4877782bef98144744f064a539e87fac8c0938b2963308a0e4046b934a700273338cbea32467b472daf665c9c5673ee5e06
 SHA512 
e98183870cab35b67967b73149a10025b257ba9ce9aafabdbdd1d91cc3009b90d13d0b5173fb5e32d53da890de7b7bd41deddec19774baaafa84c6efef4717a8
 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.0.linux.tar.xz 24161356 BLAKE2B 
4604b9398afd5648fbee3ee26a6c48b1219cc24ee27f601e42820f83956ee7577c178487e4c71721b6730f1ae802c290f8887e416112ae974af56951d7e920d3
 SHA512 
2ac90f267f58a561553abfd7ddb9214f743b846758fcb0cb1439aea790da2a6dcb2ead7b5d2c2c7012c516bae92b0183596ba52aa070e89a5ef1a2c1d597982c
+DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 
4db4c1733ecfdaa79a396039b8be735c217841deefd41b91b72a25e075e0f064892aa07497d840ef738021f66b58071d3d8c228573110614c43036ad51d7f701
 SHA512 
94db61b8cabd6229b404ce34e1618a710d6780bd7ce6db4ac666221b9bef616046ab9e4e793651e4e976fb4dd0eeedd5445abc9169ca27be753ff5611001e6bb

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

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 38897a4..8d581ee 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -25,7 +25,7 @@ DIST dlang-tools-2.087.1.tar.gz 117096 BLAKE2B 
3384882ff647c459d2a2380d35cf355ea
 DIST dlang-tools-2.088.1.tar.gz 117104 BLAKE2B 
2920cb8950fb0e921665bab161584c35a267acbc4a34713afabfab2edc40c6d391a2a55ae2bb3a0f28f2be2ef5ddbeec767b9afcea510d9b35d57d1cf9e5ca52
 SHA512 
288739656404e345e683e6692a6478a03af8455d3e3ad56d3ba22e1d7d9cb1e5156f70116e138c798bfa28cf4b38263b6cd32a8d2483417e8ae51192ea65
 DIST dlang-tools-2.089.1.tar.gz 117693 BLAKE2B 
6e499fd01bda7a58036b08f30319549ca2c786ea348ac93d045019fde745a3b30179af0d7c3999af8bd09f15d86876e43927cf069a70dc5120ebc08eb82a84c3
 SHA512 
ffc1eb9d42f167d2a519a052fdc87fb3db576d9b549dac80c993859f597dfbc492e783129b9c94dc664e33817bacf09b040d0cb2efbc679971ba768163eb4e42
 DIST dlang-tools-2.090.1.tar.gz 117709 BLAKE2B 
8a714a5bd6860bf4a856fbbde2a7188b404b819e11f9ed815688b9acb5fa6e95a95c0fb4aa407495da89a0e3b19dba584be1d90f3c60c2af95090d6e81f221d6
 SHA512 
82f6d3fd4a7f6fd013425894ec5f817c960764479649c97139a019802fc5c2a83671102f1b2a9427e88446055e5a1a4fa884a4b86400a84107b2d5ca322b7a32
-DIST dlang-tools-2.091.0.tar.gz 117712 BLAKE2B 
af1ccb162f5e2a9c95bf5e5b879ff670cadd1ac8fd4320c168745f40c1d57c5711348dbfda4a6a6cacede1c332b9878a46b6d1ac565792395181a01f727550b8
 SHA512 
b484074e22b7f7a6a6f1cc3cd184d5373474808eba1b195c275858905273335d033ed02b7b1fc993ecc6ef42d91fc1b3f2fc1ee32d5d2497ed7c992b46d13100
+DIST dlang-tools-2.091.1.tar.gz 117714 BLAKE2B 
bd0957f0e70401b1ededf29be7f942da1445c66e3ea4b47f31b136413b506c3dd03faa4cb1962a10ae51edd0cb18b282da072b0ba63f0f0d7e2cd3e460924e3a
 SHA512 
b8fb4f4c1e9aed1e2134644152a32a7c6073d801458bf0a45a23e86cd761a19c4b517365112edc7af73fbef3c26b4106fa0ee7478a78fa41c531a060c25e3955
 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B 
a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9
 SHA512 

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

2019-11-17 Thread Marco Leise
commit: 594dd1fb1b361c1d3f779602606d142ce9055b25
Author: Marco Leise  gmx  de>
AuthorDate: Sun Nov  3 01:00:25 2019 +
Commit: Marco Leise  gmx  de>
CommitDate: Sun Nov 17 15:37:38 2019 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=594dd1fb

dmd-2.089.0 & dub-1.18.0

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

 dev-lang/dmd/Manifest  |  1 +
 dev-lang/dmd/dmd-2.089.0.ebuild| 24 ++
 dev-util/dlang-tools/Manifest  |  1 +
 dev-util/dlang-tools/dlang-tools-2.089.0.ebuild| 54 ++
 dev-util/dub/Manifest  |  1 +
 dev-util/dub/dub-1.18.0.ebuild | 39 
 .../dub/files/dub-1.18.0-gdc-dmd-pathfix.patch | 16 +++
 eclass/dmd.eclass  |  2 +-
 x11-terms/tilix/tilix-1.9.3-r1.ebuild  |  2 +-
 9 files changed, 138 insertions(+), 2 deletions(-)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 8d5fc09..fe2c4b7 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -25,3 +25,4 @@ DIST dmd.2.086.1.linux.tar.xz 24643816 BLAKE2B 
fc6703f6c7f8724e06bb75278df584698
 DIST dmd.2.087.1.linux.tar.xz 25120264 BLAKE2B 
fb6aed0ebf1547565f99717830acfe450bc7db260070b77d37491a8d216acbe7ac1b07d320a42d7df706e0f18c6644ab18925273455b7949160c99af83645053
 SHA512 
8c44aa61b7fb1605a98f49db2e45d9e115626ad4bca9a1cdf3e61a116538e893d2504f524234bcd060ad3a1dda67b8813adf256055f24a0289b4f9630fc7ce63
 DIST dmd.2.088.0.linux.tar.xz 25131504 BLAKE2B 
9a52c7ff2a34ef3bf5f792709f71da852a19c5c48b79ee843c2d46b2017cff2e31d7bd4d375d665fe0d5027a1397c6f05c4b3c442d6a57196bd8d548e61135fc
 SHA512 
dcacbb48de87c312b1032306e6b33888ec779f45d33fca08a37d2341fc1f2061ae43ea95467a46bc961ee2841795e559d9c8e3ea41cf06a6e14a9c789f044c17
 DIST dmd.2.088.1.linux.tar.xz 25122116 BLAKE2B 
e573a97cf9f547a3017a0b904523f4877782bef98144744f064a539e87fac8c0938b2963308a0e4046b934a700273338cbea32467b472daf665c9c5673ee5e06
 SHA512 
e98183870cab35b67967b73149a10025b257ba9ce9aafabdbdd1d91cc3009b90d13d0b5173fb5e32d53da890de7b7bd41deddec19774baaafa84c6efef4717a8
+DIST dmd.2.089.0.linux.tar.xz 25693688 BLAKE2B 
034d90b18e32d382d3e9c78654560b20cfc89f53cf4395b46c2b0f09db9be75c008017ff843b49912a43a40020d857a6654890b8293df305c012058369e45f78
 SHA512 
91e03f706ff91172a64fb9ab06544e39fcec90890074fbf72758b3bbc4d8664f66a7f714ccac5d3d236464485abef85d7936aba1612559a5c1dd78a505abd328

diff --git a/dev-lang/dmd/dmd-2.089.0.ebuild b/dev-lang/dmd/dmd-2.089.0.ebuild
new file mode 100644
index 000..1350dea
--- /dev/null
+++ b/dev-lang/dmd/dmd-2.089.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2019 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-"
+
+inherit dmd
+
+PATCHES=(
+   "${FILESDIR}/2.081-allow-deprecations.patch"
+   "${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."
+
+   # Copy missing config.d
+   cp "${FILESDIR}/2.086-config.d" "dmd/config.d" || die "Failed to copy 
'config.d' file into 'dmd' directory."
+}

diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index bc6884c..f23d817 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -24,6 +24,7 @@ DIST dlang-tools-2.086.1.tar.gz 116540 BLAKE2B 
5a2e19f72fd8dd608e15dd5d5d4d6fe22
 DIST dlang-tools-2.087.1.tar.gz 117096 BLAKE2B 
3384882ff647c459d2a2380d35cf355eaeb0828d0b965ce4aa2bc7b8652662b3f38b137b01f60d33df0400982ec1c96a1d2d3b6363ccbfe4f52d01d88dccbb93
 SHA512 
af5adf9971ed818ca93f7d0e462d7d3f91920caacc77c4b26cc828ef00ee28ee2bb56574c4c7f8692853af2e2d32495e49bf1fca4956652df4452eac099b52cd
 DIST dlang-tools-2.088.0.tar.gz 117098 BLAKE2B 
1b202aa34c0a0d34a9b415cd450da2310cb0d4fbf4d32c4ebe9d6d56dbff6534e026cb7260cfed68630be21b118c79c953109818948afc543b1bb075d9cee250
 SHA512 
767fa0e7c66a5e1932d96c2fadc49846db623501c62a59c3679e1c76a21154a9e03fa5d4ca9acecf8ef0bcb4c7f4e252a271e9f474b34627a28a6e643b8aeb7d
 DIST dlang-tools-2.088.1.tar.gz 117104 BLAKE2B 
2920cb8950fb0e921665bab161584c35a267acbc4a34713afabfab2edc40c6d391a2a55ae2bb3a0f28f2be2ef5ddbeec767b9afcea510d9b35d57d1cf9e5ca52
 SHA512 
288739656404e345e683e6692a6478a03af8455d3e3ad56d3ba22e1d7d9cb1e5156f70116e138c798bfa28cf4b38263b6cd32a8d2483417e8ae51192ea65
+DIST dlang-tools-2.089.0.tar.gz 117576 BLAKE2B 
73ff760a86bd537e8ae818287bd337c25a865c2a103ad7334f66abc02725b064b1190c2bdc29b32d6b3759adc69a36a2ac499285aef3f1c4b260f4d747750418
 SHA512