* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2023-09-28 4:56 Marco Leise
0 siblings, 0 replies; 14+ messages in thread
From: Marco Leise @ 2023-09-28 4:56 UTC (permalink / raw
To: gentoo-commits
commit: 841e9c539667ee3291375d30f0a3950a0202d5d4
Author: Horodniceanu Andrei <a.horodniceanu <AT> protonmail <DOT> com>
AuthorDate: Fri Aug 25 08:23:52 2023 +0000
Commit: Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Fri Sep 1 21:12:51 2023 +0000
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 <a.horodniceanu <AT> 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 ".")"
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.073.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild
index 2c2791d..0b8f508 100644
--- a/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.073.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.074.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild
index 2c2791d..0b8f508 100644
--- a/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.074.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="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.075.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild
index 2c2791d..0b8f508 100644
--- a/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.075.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="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.076.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild
index 8f82afd..c46edb6 100644
--- a/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.076.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="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.077.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild
index 8f82afd..c46edb6 100644
--- a/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.077.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="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.078.3.ebuild b/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild
index 8f82afd..c46edb6 100644
--- a/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.078.3.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.079.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild
index 8f82afd..c46edb6 100644
--- a/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.079.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="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.080.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild
index 12a250d..17e5181 100644
--- a/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.080.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="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.081.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild
index 12a250d..17e5181 100644
--- a/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.081.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.082.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild
index 12a250d..17e5181 100644
--- a/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.082.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="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.083.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild
index 12a250d..17e5181 100644
--- a/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.083.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="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.084.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild
index 12a250d..17e5181 100644
--- a/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.084.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="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.085.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild
index 12a250d..17e5181 100644
--- a/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.085.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="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.086.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild
index 12a250d..17e5181 100644
--- a/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.086.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="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.087.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild
index 12a250d..17e5181 100644
--- a/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.087.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="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.088.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
index 126e8dc..90894bb 100644
--- a/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.088.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="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.089.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild
index d97c113..e085ec4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.089.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="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.090.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild
index d97c113..e085ec4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.090.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="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.091.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
index d97c113..e085ec4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.091.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="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.092.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild
index d97c113..e085ec4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.092.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="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.093.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild
index d97c113..e085ec4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.093.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="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.094.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
index 63ece33..d170846 100644
--- a/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.094.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.095.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild
index 0fd4d6a..8291c8b 100644
--- a/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.095.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="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.096.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild
index 0fd4d6a..8291c8b 100644
--- a/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.096.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="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.097.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild
index 91dc009..f857d03 100644
--- a/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.097.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.098.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild
index 91dc009..f857d03 100644
--- a/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.098.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="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.099.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild
index 6de79ce..289b2f1 100644
--- a/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.099.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="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-tools-${VERSION}.tar.gz"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2023-09-28 4:56 Marco Leise
0 siblings, 0 replies; 14+ messages in thread
From: Marco Leise @ 2023-09-28 4:56 UTC (permalink / raw
To: gentoo-commits
commit: e5550afb3550d6b76a46d15a524deb1ca9f709dc
Author: Horodniceanu Andrei <a.horodniceanu <AT> protonmail <DOT> com>
AuthorDate: Thu Aug 31 20:49:21 2023 +0000
Commit: Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Fri Sep 1 21:12:51 2023 +0000
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 <a.horodniceanu <AT> 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..af5be5f 100644
--- a/dev-util/dlang-tools/dlang-tools-2.067.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.067.1.ebuild
@@ -31,7 +31,7 @@ PATCHES=( "${FILESDIR}/2.067-no-narrowing.patch" "${FILESDIR}/replace-bits-mathd
DLANG_VERSION_RANGE="${DLANG_SLOT}-2.070"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}"
@@ -77,3 +77,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.068.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.068.2.ebuild
index 3179356..01045c2 100644
--- a/dev-util/dlang-tools/dlang-tools-2.068.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.068.2.ebuild
@@ -23,7 +23,7 @@ SRC_URI="${GITHUB_URI}/tools/tar.gz/v${PV} -> dlang-tools-${PV}.tar.gz"
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}"
@@ -42,3 +42,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.069.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.069.1.ebuild
index 47e82c7..78492bc 100644
--- a/dev-util/dlang-tools/dlang-tools-2.069.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.069.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="${GITHUB_URI}/v${VERSION}.tar.gz -> dlang-tools-${VERSION}.tar.gz"
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -49,3 +49,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.070.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.070.2.ebuild
index a1fe54f..736a44e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.070.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.070.2.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -49,3 +49,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.071.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.071.2.ebuild
index 0b8f508..a6c8396 100644
--- a/dev-util/dlang-tools/dlang-tools-2.071.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.071.2.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -54,3 +54,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
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 0b8f508..a6c8396 100644
--- a/dev-util/dlang-tools/dlang-tools-2.072.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.072.2.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -54,3 +54,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild
index 0b8f508..a6c8396 100644
--- a/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -54,3 +54,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild
index 0b8f508..a6c8396 100644
--- a/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -54,3 +54,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild
index 0b8f508..a6c8396 100644
--- a/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -54,3 +54,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild
index c46edb6..fb749d6 100644
--- a/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild
index c46edb6..fb749d6 100644
--- a/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild b/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild
index c46edb6..fb749d6 100644
--- a/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild
index c46edb6..fb749d6 100644
--- a/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild
index 17e5181..4dc215e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild
index 17e5181..4dc215e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild
index 17e5181..4dc215e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild
index 17e5181..4dc215e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild
index 17e5181..4dc215e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild
index 17e5181..4dc215e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild
index 17e5181..4dc215e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild
index 17e5181..4dc215e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
index 90894bb..07eadce 100644
--- a/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild
index e085ec4..01f9748 100644
--- a/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild
index e085ec4..01f9748 100644
--- a/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
index e085ec4..01f9748 100644
--- a/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild
index e085ec4..01f9748 100644
--- a/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild
index e085ec4..01f9748 100644
--- a/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
index d170846..838d0e3 100644
--- a/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild
index 8291c8b..7e16d25 100644
--- a/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild
index 8291c8b..7e16d25 100644
--- a/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild
index f857d03..640ccb4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild
index f857d03..640ccb4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
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 289b2f1..aa26d98 100644
--- a/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang
+inherit eutils dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -53,3 +53,11 @@ d_src_install() {
newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
done
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2023-11-17 21:44 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2023-11-17 21:44 UTC (permalink / raw
To: gentoo-commits
commit: a3929b2ed8f7365c14ff8f81fd2cbdb00347ac33
Author: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Wed Oct 11 12:41:15 2023 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Fri Nov 17 20:54:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=a3929b2e
dev-util/dlang-tools: upgrade to EAPI 8
Also drop dman utility from older versions.
Signed-off-by: Horodniceanu Andrei <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/Manifest | 10 ----
dev-util/dlang-tools/dlang-tools-2.064.2.ebuild | 60 ++++++++------------
dev-util/dlang-tools/dlang-tools-2.065.0.ebuild | 62 ++++++++-------------
dev-util/dlang-tools/dlang-tools-2.066.1.ebuild | 62 ++++++++-------------
dev-util/dlang-tools/dlang-tools-2.067.1.ebuild | 73 ++++++++-----------------
dev-util/dlang-tools/dlang-tools-2.068.2.ebuild | 34 ++++++++----
dev-util/dlang-tools/dlang-tools-2.069.1.ebuild | 21 ++++---
dev-util/dlang-tools/dlang-tools-2.070.2.ebuild | 17 +++---
dev-util/dlang-tools/dlang-tools-2.071.2.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.072.2.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.073.2.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.074.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.075.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.076.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.077.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.078.3.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.079.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.080.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.081.2.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.082.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.083.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.084.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.085.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.086.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.087.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.088.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.089.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.090.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.091.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.092.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.093.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.094.2.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.095.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.096.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.097.2.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.098.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.099.1.ebuild | 8 +--
dev-util/dlang-tools/dlang-tools-2.100.2.ebuild | 6 +-
dev-util/dlang-tools/dlang-tools-2.101.2.ebuild | 6 +-
dev-util/dlang-tools/dlang-tools-2.102.2.ebuild | 6 +-
dev-util/dlang-tools/dlang-tools-2.103.1.ebuild | 6 +-
dev-util/dlang-tools/dlang-tools-2.104.2.ebuild | 6 +-
dev-util/dlang-tools/dlang-tools-2.105.2.ebuild | 6 +-
dev-util/dlang-tools/metadata.xml | 1 -
44 files changed, 239 insertions(+), 369 deletions(-)
diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 186515b..7408506 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -40,13 +40,3 @@ DIST dlang-tools-2.102.2.tar.gz 129480 BLAKE2B 1eba640a429ab6812bf7f2c5a15ced31f
DIST dlang-tools-2.103.1.tar.gz 129477 BLAKE2B 4ae83c17fd354265ae8a221f849af9f293a6b81e86aec8713ee9e5eb32be6ebf2faa92c5d760270b76ac26eec05881d841264132cabdd493dc9ecffa00019f00 SHA512 5e4d535804f64b6d0374c12bf1fb9b64859f31e9ddd260ed73aefb66cbb6fd6cc0e892ac0e91d4ecf0771e817743f2c9cc9eb7b7631437083a799f98d6131eed
DIST dlang-tools-2.104.2.tar.gz 129552 BLAKE2B 656e2ae6b6194906a9ee0b29827e3de9e25ae1b3f099dc91c5f75d63fd366c07c4367067d73c744d0307b3e74a6ef54a527d17916a1b60b47ebbb8a08ebb9442 SHA512 a2dcece4a68e0f8791a04b5fc431e240f5052c66e0fc732bc52bbb0345e46d40dba83451123c8ea07ef517121b1831acb1e4e7e4bf501fc320382632bbb543db
DIST dlang-tools-2.105.2.tar.gz 129644 BLAKE2B 2ec9ace06e5ffe3ee0dae40f702eb7d0268460f86bdc613912a3931552b71d7a9d451d103946f7a4fba2fa6e07927c6ce4c9a162edeafa9ac719c0d8a2b5501e SHA512 702841fa2c636c8d2fcd525bccb083a3fcaef660ade3bcf199fb4908f164464ba2d33afe5610a213b4b6d82e927d7fa75db7503094144a09054807bb67d77615
-DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9 SHA512 a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf
-DIST dlang.org-2.065.0.tar.gz 1005429 BLAKE2B 01fc8ec0c5148f910e2923be556208c08a18f00453ffa1f1a22d6725db6489b6f9022cd170caa3a05078baddde353ee819984da5efa53547e78006d2f0a97b9c SHA512 0fb185603766b54c3b9dc57824b18ec7ea9f37281610729860543630f4546591f9523bff48eee5414235d2ee656201c444e6d2efc44ba66a052b98a0d9b4729e
-DIST dlang.org-2.066.1.tar.gz 1024075 BLAKE2B cfdb4922c38d9f0ced941eeb4578d71f09d65201d2f89cfc73e46ae73f0939c74fa92d7f003b87a28f814c5b2cc0dda6855b86e64fd86be3920c129f8c20df6a SHA512 d3838cc2ab6236d57c17f92fa5eaef8458176715985aecbea9653cc772725e1b9f813c9ffc8e06490e08c1031826ab84d1fcfbd88008791cac3257db814e3dc8
-DIST dlang.org-2.067.1.tar.gz 852712 BLAKE2B d0aeda080fd67d598cc0423a26d8a9edf7f24e10592e0368c4fd5275bf9fe0bae0946d19896bc617d24363480367abff53564d451f72ce80ba50231430124ea1 SHA512 1aeee0d2dbb18418bf5b3f5d9a1523cd3dc898a4ad7ed1385060200eb2f8585443cac056841f3aafe4d131925ba4bd6042377d644baa1345ac1dc1316d8c33e9
-DIST dmd-2.067.1.tar.gz 2521765 BLAKE2B 4835f9e9aaf7eaadc13a39f93f792965c2a48710dc2fb686c2556b70edfbcada21b9534aea78ec777362c7179ba80893c66790fc587698dd8a89f773be793083 SHA512 1e2275af60b3812419042b490b1c0363b50041f1002e8ca92631540ca0cb87d75f2b81a1edae5d0203edc3ef0a51010dfd589f66699f781f491be57b1397a61c
-DIST druntime-2.067.1.tar.gz 863410 BLAKE2B 8226dbc3cc1381a7f6c2e4018da6c24f82cf5a10c53a9604caa4bbaf83d0a5b4f443b1b0ad9fd5abb75cbe5a987d25f11b7f482e177ee9a2101f4d88627f295a SHA512 c2a74e17224636f5c7ea4f529db4e1b494573a809d6cb50a835dd8c7d9fbec801c5a46c45c57b4064b3013dc3ceec5d1d2b5393c54dad57e503ebef31ba43453
-DIST phobos-2.064.2.tar.gz 1671937 BLAKE2B dafef9997e4840f2bedd3cae0356df1059d0d485f881fa2ddb8f113a1ba71adb6542cac7995ad042f9defed85085f05dd842fb8a99e111641464aba13aa1119d SHA512 e4bd2a508afb86e484c73049b186290269ddd9820592d3113344c6bc50d76723fa21999e3d34372b727193a98105256bd53e29874b2155684027637450ba982f
-DIST phobos-2.065.0.tar.gz 1693942 BLAKE2B e9bbe0b51c74506f09dd19b0ce0bc66673e4fbd9c326c93f20791f96fe39056e88c1ed3fb0e48b092b192d886b0064099144af030855cd707b2d5ee5e9422e7b SHA512 0e9c3d98a1743e1d5f697e1602345cdc0ad1902393935a7928d4afc7904c4e2299f5608b4922a505663b0948aecb7348ebde69e4ac5e9039fe29d650f6979a64
-DIST phobos-2.066.1.tar.gz 1716661 BLAKE2B 0b6fab2b51c16ff3ec39c8c18ca975d9c4d9630f8c87812f127b011be2e3c4285f7223d98691affddb851f8e8a52a7e551a8b8eb103948af3ad2696cc30d99d4 SHA512 9dd703b42cd3ba44ca070629e739a93df00b502cb43d5f21afd9540128a7c371259703a1667f093b87e37cb1b9ae706ade5d8b1e51e4b9dd3d1feed2dcccdd23
-DIST phobos-2.067.1.tar.gz 1834537 BLAKE2B 328507302aae94145a610c34bff86999bd4889f34980ddc93a807dcf14f9adfce8f0d24a849945ecb10b7867e2df24a88ed7dd0f32d55e88c782216b23eca23c SHA512 80fec2707f78ebec505c400c80195d3fc07eb1921d2ac6668f2ce157f24addd73545955d6e1dd4e195b8fc0f09fcd0a865ba1c81f58074208239f153855348f8
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 dd5e9c4..a4ff489 100644
--- a/dev-util/dlang-tools/dlang-tools-2.064.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.064.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -9,50 +9,33 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
-TOOLS="rdmd ddemangle detab dman dustmite"
-IUSE="+rdmd +ddemangle detab +dman dustmite"
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
-GITHUB_URI="https://codeload.github.com/dlang"
-SRC_URI="
- ${GITHUB_URI}/tools/tar.gz/v${PV} -> dlang-tools-${PV}.tar.gz
- dman? (
- ${GITHUB_URI}/phobos/tar.gz/v${PV} -> phobos-${PV}.tar.gz
- ${GITHUB_URI}/dlang.org/tar.gz/v${PV} -> dlang.org-${PV}.tar.gz
- )"
-DEPEND="dman? ( =dev-lang/dmd-${PV}*:${DLANG_SLOT} )"
+RESTRICT="mirror"
-DLANG_VERSION_RANGE="${DLANG_SLOT}"
-DLANG_PACKAGE_TYPE="single"
+BETA="$(ver_cut 4)"
+VERSION="$(ver_cut 1-3)"
-inherit eutils dlang xdg-utils
+if [[ -n "${BETA}" ]]; then
+ # 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"
-S="${WORKDIR}"
+DLANG_VERSION_RANGE="${DLANG_SLOT}-2.070"
+DLANG_PACKAGE_TYPE="single"
-src_prepare() {
- mv "tools-${PV}" "tools" || die "Could not rename tools-${PV} to tools"
- if use dman; then
- mv "phobos-${PV}" "phobos" || die "Could not rename phobos-${PV} to phobos"
- mv "dlang.org-${PV}" "dlang.org" || die "Could not rename dlang.org-${PV} to dlang.org"
- fi
- # Apply patches
- dlang_src_prepare
-}
+inherit desktop dlang xdg-utils
+
+S="${WORKDIR}/tools-${VERSION}"
d_src_compile() {
- mkdir -p "tools/generated/linux/default" || die "Could not create output directory"
for tool in ${TOOLS}; do
if use "${tool}"; then
- if [[ "${tool}" == dman ]]; then
- emake -C "dlang.org" -f posix.mak LATEST="${PV}" DMD="${DMD}" html
- emake -C "phobos" -f posix.mak \
- DOC_OUTPUT_DIR="../dlang.org/web/phobos" SONAME="" \
- DMD="${ROOT}opt/dmd-${DLANG_SLOT}/bin/dmd" html
- fi
- DFLAGS="${DMDFLAGS}" emake -C "tools" -f posix.mak DMD="${DMD}" "${tool}"
+ emake -f posix.mak DMD="${DMD}" DFLAGS="${DMDFLAGS}" "${tool}"
fi
done
}
@@ -60,9 +43,14 @@ d_src_compile() {
d_src_install() {
for tool in ${TOOLS}; do
if use "${tool}"; then
- dobin "tools/generated/linux/default/${tool}"
+ dobin generated/linux/*/"${tool}"
fi
done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
}
pkg_postinst() {
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 62558dd..a4ff489 100644
--- a/dev-util/dlang-tools/dlang-tools-2.065.0.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.065.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -9,52 +9,33 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
-TOOLS="rdmd ddemangle detab dman dustmite"
-IUSE="+rdmd +ddemangle detab +dman dustmite"
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
-GITHUB_URI="https://codeload.github.com/dlang"
-SRC_URI="
- ${GITHUB_URI}/tools/tar.gz/v${PV} -> dlang-tools-${PV}.tar.gz
- dman? (
- ${GITHUB_URI}/phobos/tar.gz/v${PV} -> phobos-${PV}.tar.gz
- ${GITHUB_URI}/dlang.org/tar.gz/v${PV} -> dlang.org-${PV}.tar.gz
- )"
-DEPEND="dman? ( =dev-lang/dmd-${PV}*:${DLANG_SLOT} )"
+RESTRICT="mirror"
-DLANG_VERSION_RANGE="${DLANG_SLOT}-2.071"
-DLANG_PACKAGE_TYPE="single"
+BETA="$(ver_cut 4)"
+VERSION="$(ver_cut 1-3)"
-inherit eutils dlang xdg-utils
+if [[ -n "${BETA}" ]]; then
+ # 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"
-S="${WORKDIR}"
+DLANG_VERSION_RANGE="${DLANG_SLOT}-2.070"
+DLANG_PACKAGE_TYPE="single"
-src_prepare() {
- mv "tools-${PV}" "tools" || die "Could not rename tools-${PV} to tools"
- if use dman; then
- mv "phobos-${PV}" "phobos" || die "Could not rename phobos-${PV} to phobos"
- mv "dlang.org-${PV}" "dlang.org" || die "Could not rename dlang.org-${PV} to dlang.org"
- echo "${PV}" > VERSION || die "Could not write VERSION file"
- fi
- # Apply patches
- dlang_src_prepare
-}
+inherit desktop dlang xdg-utils
+
+S="${WORKDIR}/tools-${VERSION}"
d_src_compile() {
- mkdir -p "tools/generated/${CHOST}" || die "Could not create output directory"
for tool in ${TOOLS}; do
if use "${tool}"; then
- if [[ "${tool}" == dman ]]; then
- emake -C "dlang.org" -f posix.mak LATEST="${PV}" DMD="${DMD}" html
- emake -C "phobos" -f posix.mak \
- DOC_OUTPUT_DIR="../dlang.org/web/phobos" SONAME="" \
- VERSION="../VERSION" \
- DMD="${ROOT}opt/dmd-${DLANG_SLOT}/bin/dmd" html
- fi
- DFLAGS="${DMDFLAGS}" emake -C "tools" -f posix.mak DMD="${DMD}" ROOT="generated/${CHOST}" "${tool}"
+ emake -f posix.mak DMD="${DMD}" DFLAGS="${DMDFLAGS}" "${tool}"
fi
done
}
@@ -62,9 +43,14 @@ d_src_compile() {
d_src_install() {
for tool in ${TOOLS}; do
if use "${tool}"; then
- dobin "tools/generated/${CHOST}/${tool}"
+ dobin generated/linux/*/"${tool}"
fi
done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
}
pkg_postinst() {
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 2f2d6ac..a4ff489 100644
--- a/dev-util/dlang-tools/dlang-tools-2.066.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.066.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -9,52 +9,33 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
-TOOLS="rdmd ddemangle detab dman dustmite"
-IUSE="+rdmd +ddemangle detab +dman dustmite"
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
-GITHUB_URI="https://codeload.github.com/dlang"
-SRC_URI="
- ${GITHUB_URI}/tools/tar.gz/v${PV} -> dlang-tools-${PV}.tar.gz
- dman? (
- ${GITHUB_URI}/phobos/tar.gz/v${PV} -> phobos-${PV}.tar.gz
- ${GITHUB_URI}/dlang.org/tar.gz/v${PV} -> dlang.org-${PV}.tar.gz
- )"
-DEPEND="dman? ( =dev-lang/dmd-${PV}*:${DLANG_SLOT} )"
+RESTRICT="mirror"
-DLANG_VERSION_RANGE="${DLANG_SLOT}"
-DLANG_PACKAGE_TYPE="single"
+BETA="$(ver_cut 4)"
+VERSION="$(ver_cut 1-3)"
-inherit eutils dlang xdg-utils
+if [[ -n "${BETA}" ]]; then
+ # 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"
-S="${WORKDIR}"
+DLANG_VERSION_RANGE="${DLANG_SLOT}-2.070"
+DLANG_PACKAGE_TYPE="single"
-src_prepare() {
- mv "tools-${PV}" "tools" || die "Could not rename tools-${PV} to tools"
- if use dman; then
- mv "phobos-${PV}" "phobos" || die "Could not rename phobos-${PV} to phobos"
- mv "dlang.org-${PV}" "dlang.org" || die "Could not rename dlang.org-${PV} to dlang.org"
- echo "${PV}" > VERSION || die "Could not write VERSION file"
- fi
- # Apply patches
- dlang_src_prepare
-}
+inherit desktop dlang xdg-utils
+
+S="${WORKDIR}/tools-${VERSION}"
d_src_compile() {
- mkdir -p "tools/generated/${CHOST}" || die "Could not create output directory"
for tool in ${TOOLS}; do
if use "${tool}"; then
- if [[ "${tool}" == dman ]]; then
- emake -C "dlang.org" -f posix.mak LATEST="${PV}" DMD="${DMD}" html
- emake -C "phobos" -f posix.mak \
- DOC_OUTPUT_DIR="../dlang.org/web/phobos" SONAME="" \
- VERSION="../VERSION" \
- DMD="${ROOT}opt/dmd-${DLANG_SLOT}/bin/dmd" html
- fi
- DFLAGS="${DMDFLAGS}" emake -C "tools" -f posix.mak DMD="${DMD}" ROOT="generated/${CHOST}" "${tool}"
+ emake -f posix.mak DMD="${DMD}" DFLAGS="${DMDFLAGS}" "${tool}"
fi
done
}
@@ -62,9 +43,14 @@ d_src_compile() {
d_src_install() {
for tool in ${TOOLS}; do
if use "${tool}"; then
- dobin "tools/generated/${CHOST}/${tool}"
+ dobin generated/linux/*/"${tool}"
fi
done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
}
pkg_postinst() {
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 af5be5f..a4ff489 100644
--- a/dev-util/dlang-tools/dlang-tools-2.067.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.067.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -9,73 +9,48 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
-TOOLS="rdmd ddemangle detab dustmite"
-IUSE="+rdmd +ddemangle detab +dman dustmite"
-REQUIRED_USE="|| ( ${TOOLS} dman )"
-
-inherit eapi7-ver
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
+REQUIRED_USE="|| ( ${TOOLS} )"
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
-GITHUB_URI="https://codeload.github.com/dlang"
-SRC_URI="
- ${GITHUB_URI}/tools/tar.gz/v${PV} -> dlang-tools-${PV}.tar.gz
- dman? (
- ${GITHUB_URI}/dmd/tar.gz/v${PV} -> dmd-${PV}.tar.gz
- ${GITHUB_URI}/druntime/tar.gz/v${PV} -> druntime-${PV}.tar.gz
- ${GITHUB_URI}/phobos/tar.gz/v${PV} -> phobos-${PV}.tar.gz
- ${GITHUB_URI}/dlang.org/tar.gz/v${PV} -> dlang.org-${PV}.tar.gz
- )"
-PATCHES=( "${FILESDIR}/2.067-no-narrowing.patch" "${FILESDIR}/replace-bits-mathdef-h.patch" )
+
+BETA="$(ver_cut 4)"
+VERSION="$(ver_cut 1-3)"
+
+if [[ -n "${BETA}" ]]; then
+ # 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"
DLANG_VERSION_RANGE="${DLANG_SLOT}-2.070"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
-
-S="${WORKDIR}"
+inherit desktop dlang xdg-utils
-src_prepare() {
- mv "tools-${PV}" "tools" || die "Could not rename tools-${PV} to tools"
- if use dman; then
- mv "dlang.org-${PV}" "dlang.org" || die "Could not rename dlang.org-${PV} to dlang.org"
- mv "dmd-${PV}" "dmd" || die "Could not rename dmd-${PV} to dmd"
- touch dmd/.cloned || die "Could not touch 'dmd/.cloned'"
- mv "druntime-${PV}" "druntime" || die "Could not rename druntime-${PV} to druntime"
- mv "phobos-${PV}" "phobos" || die "Could not rename phobos-${PV} to phobos"
- fi
- # Apply patches
- dlang_src_prepare
-}
+S="${WORKDIR}/tools-${VERSION}"
d_src_compile() {
for tool in ${TOOLS}; do
if use "${tool}"; then
- emake -C "tools" -f posix.mak DMD="${DMD}" DFLAGS="${DMDFLAGS}" "${tool}"
+ emake -f posix.mak DMD="${DMD}" DFLAGS="${DMDFLAGS}" "${tool}"
fi
done
- if use dman; then
- # This builds chmgen with the system D compiler (and also a vanilla DMD
- # as a dependency from the make file.) A dummy PHOBOS_DIR is set to make
- # the build process use the system Phobos instead.
- emake -C "dlang.org" -f posix.mak RELEASE=1 LATEST="${PV}" TARGET_CPU=X86 DMD="${DMD}" PHOBOS_DIR="." chmgen
- # Next we populate the druntime/import directory as required by the HTML
- # generation process.
- emake -C "druntime" -f posix.mak DMD="${DMD}" import copy
- # Then we generate Phobos HTML documentation that can be parsed by
- # chmgen when building dman.
- emake -C "phobos" -f posix.mak DOC_OUTPUT_DIR="../dlang.org/web/phobos" DMD="${DMD}" html
- # The last step creates the actual executable.
- emake -C "tools" -f posix.mak RELEASE=1 LATEST="${PV}" DMD="${DMD}" DFLAGS="${DMDFLAGS} -J../dlang.org" dman
- fi
}
d_src_install() {
- for tool in ${TOOLS} dman; do
+ for tool in ${TOOLS}; do
if use "${tool}"; then
- dobin tools/generated/linux/*/"${tool}"
+ dobin generated/linux/*/"${tool}"
fi
done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
}
pkg_postinst() {
diff --git a/dev-util/dlang-tools/dlang-tools-2.068.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.068.2.ebuild
index 01045c2..1b61994 100644
--- a/dev-util/dlang-tools/dlang-tools-2.068.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.068.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -9,28 +9,33 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
-TOOLS="rdmd ddemangle detab dustmite"
-IUSE="+rdmd +ddemangle detab dustmite"
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
-GITHUB_URI="https://codeload.github.com/dlang"
-SRC_URI="${GITHUB_URI}/tools/tar.gz/v${PV} -> dlang-tools-${PV}.tar.gz"
+
+BETA="$(ver_cut 4)"
+VERSION="$(ver_cut 1-3)"
+
+if [[ -n "${BETA}" ]]; then
+ # 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"
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
-S="${WORKDIR}"
+S="${WORKDIR}/tools-${VERSION}"
d_src_compile() {
for tool in ${TOOLS}; do
if use "${tool}"; then
- emake -C "tools-${PV}" -f posix.mak DMD="${DMD}" DFLAGS="${DMDFLAGS}" "${tool}"
+ emake -f posix.mak DMD="${DMD}" DFLAGS="${DMDFLAGS}" "${tool}"
fi
done
}
@@ -38,9 +43,14 @@ d_src_compile() {
d_src_install() {
for tool in ${TOOLS}; do
if use "${tool}"; then
- dobin tools-"${PV}"/generated/linux/*/"${tool}"
+ dobin generated/linux/*/"${tool}"
fi
done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
}
pkg_postinst() {
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 78492bc..1b61994 100644
--- a/dev-util/dlang-tools/dlang-tools-2.069.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.069.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -9,15 +9,13 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
-TOOLS="rdmd ddemangle detab dustmite"
-IUSE="+rdmd +ddemangle detab dustmite"
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
-GITHUB_URI="https://github.com/D-Programming-Language/tools/archive"
+
BETA="$(ver_cut 4)"
VERSION="$(ver_cut 1-3)"
@@ -25,12 +23,12 @@ if [[ -n "${BETA}" ]]; then
# 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"
+SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-tools-${VERSION}.tar.gz"
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -48,6 +46,11 @@ d_src_install() {
dobin generated/linux/*/"${tool}"
fi
done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
}
pkg_postinst() {
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 736a44e..1b61994 100644
--- a/dev-util/dlang-tools/dlang-tools-2.070.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.070.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -9,12 +9,10 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
-TOOLS="rdmd ddemangle detab dustmite"
-IUSE="+rdmd +ddemangle detab dustmite"
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
@@ -48,6 +46,11 @@ d_src_install() {
dobin generated/linux/*/"${tool}"
fi
done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
}
pkg_postinst() {
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 a6c8396..1b61994 100644
--- a/dev-util/dlang-tools/dlang-tools-2.071.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.071.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
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 a6c8396..1b61994 100644
--- a/dev-util/dlang-tools/dlang-tools-2.072.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.072.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild
index a6c8396..1b61994 100644
--- a/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.073.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild
index a6c8396..1b61994 100644
--- a/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.074.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild
index a6c8396..1b61994 100644
--- a/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.075.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild
index fb749d6..3336818 100644
--- a/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.076.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild
index fb749d6..3336818 100644
--- a/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.077.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild b/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild
index fb749d6..3336818 100644
--- a/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.078.3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild
index fb749d6..3336818 100644
--- a/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.079.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="${DLANG_SLOT}-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild
index 4dc215e..003249a 100644
--- a/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.080.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild
index 4dc215e..003249a 100644
--- a/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.081.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild
index 4dc215e..003249a 100644
--- a/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.082.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild
index 4dc215e..003249a 100644
--- a/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.083.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild
index 4dc215e..003249a 100644
--- a/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.084.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild
index 4dc215e..003249a 100644
--- a/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.085.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild
index 4dc215e..003249a 100644
--- a/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.086.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild
index 4dc215e..003249a 100644
--- a/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.087.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
index 07eadce..5108ce1 100644
--- a/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.088.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild
index 01f9748..5108ce1 100644
--- a/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.089.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild
index 01f9748..5108ce1 100644
--- a/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.090.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
index 01f9748..5108ce1 100644
--- a/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.091.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild
index 01f9748..5108ce1 100644
--- a/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.092.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild
index 01f9748..5108ce1 100644
--- a/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.093.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
index 838d0e3..5108ce1 100644
--- a/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.094.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild
index 7e16d25..20bea31 100644
--- a/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.095.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild
index 7e16d25..20bea31 100644
--- a/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.096.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild
index 640ccb4..3d753fc 100644
--- a/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild
index 640ccb4..3d753fc 100644
--- a/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
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 aa26d98..20bea31 100644
--- a/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.099.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.076-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.100.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.100.2.ebuild
index 77e9b0d..6f1cef4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.100.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.100.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-2.102"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.101.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.101.2.ebuild
index 77e9b0d..6f1cef4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.101.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.101.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-2.102"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.102.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.102.2.ebuild
index 77e9b0d..6f1cef4 100644
--- a/dev-util/dlang-tools/dlang-tools-2.102.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.102.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-2.102"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.103.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.103.1.ebuild
index cfc4c35..3d753fc 100644
--- a/dev-util/dlang-tools/dlang-tools-2.103.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.103.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.104.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.104.2.ebuild
index cfc4c35..3d753fc 100644
--- a/dev-util/dlang-tools/dlang-tools-2.104.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.104.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/dlang-tools-2.105.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.105.2.ebuild
index cfc4c35..3d753fc 100644
--- a/dev-util/dlang-tools/dlang-tools-2.105.2.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.105.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Ancilliary tools for the D programming language compiler"
HOMEPAGE="http://dlang.org/"
@@ -13,8 +13,6 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd"
REQUIRED_USE="|| ( ${TOOLS} )"
-inherit eapi7-ver
-
DLANG_SLOT="$(ver_cut 1-2)"
RESTRICT="mirror"
@@ -30,7 +28,7 @@ SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-too
DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"
-inherit eutils dlang xdg-utils
+inherit desktop dlang xdg-utils
S="${WORKDIR}/tools-${VERSION}"
diff --git a/dev-util/dlang-tools/metadata.xml b/dev-util/dlang-tools/metadata.xml
index b599856..b23ae29 100644
--- a/dev-util/dlang-tools/metadata.xml
+++ b/dev-util/dlang-tools/metadata.xml
@@ -4,7 +4,6 @@
<use>
<flag name="ddemangle">An improved D symbol demangler. Replaces all occurrences of mangled D symbols in the input with their unmangled form, and writes the result to standard output.</flag>
<flag name="detab">Replace tabs with spaces, and remove trailing whitespace from lines.</flag>
- <flag name="dman">Look up D topics in the online manual. (Requires dmd as a build dependency to create the index.)</flag>
<flag name="dustmite">DustMite is a tool which minimizes D source code. It was inspired by Tigris Delta and a thread on digitalmars.D.learn. DustMite will parse the source code into a simple hierarchy, and attempt to shrink it by deleting fragments iteratively, as long as the result satisfies a user-specified condition.</flag>
<flag name="rdmd">rdmd is a companion to the dmd compiler that simplifies the typical edit-compile-link-run or edit-make-run cycle to a rapid edit-run cycle. Like make and other tools, rdmd uses the relative dates of the files involved to minimize the amount of work necessary. Unlike make, rdmd tracks dependencies and freshness without requiring additional information from the user.</flag>
</use>
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-02-18 22:49 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-02-18 22:49 UTC (permalink / raw
To: gentoo-commits
commit: b88865a752fcf3d798257c8aa8d4f0e0eefe6067
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Feb 4 14:11:30 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Feb 4 14:11:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=b88865a7
dev-util/dlang-tools: stabilize 2.106.1 for amd64, x86
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/dlang-tools-2.106.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-util/dlang-tools/dlang-tools-2.106.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.106.1.ebuild
index 3d753fc..079e860 100644
--- a/dev-util/dlang-tools/dlang-tools-2.106.1.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.106.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -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} )"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-02-18 22:49 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-02-18 22:49 UTC (permalink / raw
To: gentoo-commits
commit: 82a4cc46b942127aef32f509e8f661e4ec11082d
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Feb 4 15:52:47 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Feb 4 15:52:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=82a4cc46
dev-util/dlang-tools: drop 2.104.2
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/Manifest | 1 -
dev-util/dlang-tools/dlang-tools-2.104.2.ebuild | 61 -------------------------
2 files changed, 62 deletions(-)
diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 1091f53..0d1a52d 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -1,2 +1 @@
-DIST dlang-tools-2.104.2.tar.gz 129552 BLAKE2B 656e2ae6b6194906a9ee0b29827e3de9e25ae1b3f099dc91c5f75d63fd366c07c4367067d73c744d0307b3e74a6ef54a527d17916a1b60b47ebbb8a08ebb9442 SHA512 a2dcece4a68e0f8791a04b5fc431e240f5052c66e0fc732bc52bbb0345e46d40dba83451123c8ea07ef517121b1831acb1e4e7e4bf501fc320382632bbb543db
DIST dlang-tools-2.106.1.tar.gz 129644 BLAKE2B 014adf42be0c4f82b96d1857eff01e5927a5e179cf99e0928abb2300b7ed3e1e2719e2a38a0ff36dc776b61dcd5ae24affd18ed26a1eabdab1185430eeb888b3 SHA512 bed6ec6cf6287104ad1d5e79e8512094b1aec69be09206104ea58d4bff8af8c5f15012db0237aa195a58baa85a8d880b054ea66a7352fc0684218bfa563b2d32
diff --git a/dev-util/dlang-tools/dlang-tools-2.104.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.104.2.ebuild
deleted file mode 100644
index c60a0cc..0000000
--- a/dev-util/dlang-tools/dlang-tools-2.104.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Ancilliary tools for the D programming language compiler"
-HOMEPAGE="http://dlang.org/"
-LICENSE="Boost-1.0"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-TOOLS="ddemangle detab dustmite rdmd"
-IUSE="+ddemangle detab dustmite +rdmd"
-REQUIRED_USE="|| ( ${TOOLS} )"
-
-DLANG_SLOT="$(ver_cut 1-2)"
-RESTRICT="mirror"
-
-BETA="$(ver_cut 4)"
-VERSION="$(ver_cut 1-3)"
-
-if [[ -n "${BETA}" ]]; then
- # 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"
-
-DLANG_VERSION_RANGE="2.075-"
-DLANG_PACKAGE_TYPE="single"
-
-inherit desktop dlang xdg-utils
-
-S="${WORKDIR}/tools-${VERSION}"
-
-d_src_compile() {
- use ddemangle && dlang_compile_bin ddemangle ddemangle.d
- use detab && dlang_compile_bin detab detab.d
- use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d DustMite/polyhash.d
- use rdmd && dlang_compile_bin rdmd rdmd.d
-}
-
-d_src_install() {
- for tool in ${TOOLS}; do
- if use "${tool}"; then
- dobin "${tool}"
- fi
- done
-
- # file icons
- for size in 16 22 24 32 48 256; do
- newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
- done
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-02-18 22:49 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-02-18 22:49 UTC (permalink / raw
To: gentoo-commits
commit: 0cdb9d7114e66847e675384a659b82bc0a2b6bff
Author: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Feb 18 22:17:36 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Feb 18 22:43:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=0cdb9d71
dev-util/dlang-tools: add 2.107.0
Signed-off-by: Horodniceanu Andrei <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/Manifest | 1 +
dev-util/dlang-tools/dlang-tools-2.107.0.ebuild | 61 +++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 0d1a52d..194a7b9 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -1 +1,2 @@
DIST dlang-tools-2.106.1.tar.gz 129644 BLAKE2B 014adf42be0c4f82b96d1857eff01e5927a5e179cf99e0928abb2300b7ed3e1e2719e2a38a0ff36dc776b61dcd5ae24affd18ed26a1eabdab1185430eeb888b3 SHA512 bed6ec6cf6287104ad1d5e79e8512094b1aec69be09206104ea58d4bff8af8c5f15012db0237aa195a58baa85a8d880b054ea66a7352fc0684218bfa563b2d32
+DIST dlang-tools-2.107.0.tar.gz 128252 BLAKE2B 9d51eda89ab60ca1a98933c8e17ac4ea545d5c8f70ed7f9fec655e8888a37a5487a11345306fd02d7ab27c4ef3127795d4900d47db558ca0e337e163e6102dee SHA512 7e12f29eb230d7160b985bb6f892b8b267d51bdab96c9f75ab0d80d9fea596c106253f2673bfc54084f343116751c827e83aa8a27cad77c71b3475a0f9b2806d
diff --git a/dev-util/dlang-tools/dlang-tools-2.107.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.107.0.ebuild
new file mode 100644
index 0000000..ea02763
--- /dev/null
+++ b/dev-util/dlang-tools/dlang-tools-2.107.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Ancilliary tools for the D programming language compiler"
+HOMEPAGE="http://dlang.org/"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
+REQUIRED_USE="|| ( ${TOOLS} )"
+
+DLANG_SLOT="$(ver_cut 1-2)"
+RESTRICT="mirror"
+
+BETA="$(ver_cut 4)"
+VERSION="$(ver_cut 1-3)"
+
+if [[ -n "${BETA}" ]]; then
+ # 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"
+
+DLANG_VERSION_RANGE="2.100-2.107"
+DLANG_PACKAGE_TYPE="single"
+
+inherit desktop dlang xdg-utils
+
+S="${WORKDIR}/tools-${VERSION}"
+
+d_src_compile() {
+ use ddemangle && dlang_compile_bin ddemangle ddemangle.d
+ use detab && dlang_compile_bin detab detab.d
+ use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d DustMite/polyhash.d
+ use rdmd && dlang_compile_bin rdmd rdmd.d
+}
+
+d_src_install() {
+ for tool in ${TOOLS}; do
+ if use "${tool}"; then
+ dobin "${tool}"
+ fi
+ done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-04-13 23:04 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-04-13 23:04 UTC (permalink / raw
To: gentoo-commits
commit: 1d4aecbcff00c424dc413ae6bdade57a3ceda80b
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sat Mar 9 17:06:47 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sat Apr 13 22:47:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=1d4aecbc
dev-util/dlang-tools: port to dlang-single.eclass
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild | 64 ++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild b/dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild
new file mode 100644
index 0000000..87b1fef
--- /dev/null
+++ b/dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Ancilliary tools for the D programming language compiler"
+HOMEPAGE="http://dlang.org/"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
+
+DLANG_SLOT="$(ver_cut 1-2)"
+RESTRICT="mirror"
+
+BETA="$(ver_cut 4)"
+VERSION="$(ver_cut 1-3)"
+
+if [[ -n "${BETA}" ]]; then
+ # 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"
+
+DLANG_COMPAT=( dmd-2_{106..107} gdc-12 ldc2-1_{35..36} )
+
+inherit desktop dlang-single xdg-utils
+
+REQUIRED_USE="|| ( ${TOOLS[@]} ) ${DLANG_REQUIRED_USE}"
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+S="${WORKDIR}/tools-${VERSION}"
+
+src_compile() {
+ use ddemangle && dlang_compile_bin ddemangle ddemangle.d
+ use detab && dlang_compile_bin detab detab.d
+ use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d DustMite/polyhash.d
+ use rdmd && dlang_compile_bin rdmd rdmd.d
+}
+
+src_install() {
+ for tool in ${TOOLS}; do
+ if use "${tool}"; then
+ dobin "${tool}"
+ fi
+ done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-05-07 23:18 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-05-07 23:18 UTC (permalink / raw
To: gentoo-commits
commit: e440148fd0b48caf3f32bd9a0db7915ef0de64a0
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Tue May 7 20:11:20 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Tue May 7 20:11:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e440148f
dev-util/dlang-tools: form a REQUIRED_USE conditional around tests
As suggested on IRC, since tests are only run if either ddemangle,
dustmite, or, rdmd appear in USE, require that any of those are set when
tests are enabled.
This changes requires that test is added to IUSE.
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/dlang-tools-2.108.0.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild
index b086a62..fbd6a3e 100644
--- a/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild
@@ -24,7 +24,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
TOOLS="ddemangle detab dustmite rdmd"
-IUSE="+ddemangle detab dustmite +rdmd"
+IUSE="+ddemangle detab dustmite +rdmd test"
+RESTRICT="!test? ( test )"
DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..37} )
@@ -36,7 +37,7 @@ PATCHES=(
"${FILESDIR}/gdc-13-fix-parentheses.patch"
)
-REQUIRED_USE="|| ( ${TOOLS[@]} ) ${DLANG_REQUIRED_USE}"
+REQUIRED_USE="|| ( ${TOOLS[@]} ) ${DLANG_REQUIRED_USE} test? ( || ( ddemangle dustmite rdmd ) )"
DEPEND=${DLANG_DEPS}
BDEPEND=${DLANG_DEPS}
RDEPEND=${DLANG_DEPS}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-05-30 17:28 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-05-30 17:28 UTC (permalink / raw
To: gentoo-commits
commit: 35b670786117132cb0fe27f146b90311f649500b
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Thu May 30 05:29:39 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Thu May 30 05:29:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=35b67078
dev-util/dlang-tools: add github upstream metadata
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/metadata.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-util/dlang-tools/metadata.xml b/dev-util/dlang-tools/metadata.xml
index b23ae29..ea44b8b 100644
--- a/dev-util/dlang-tools/metadata.xml
+++ b/dev-util/dlang-tools/metadata.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <upstream>
+ <remote-id type="github">dlang/tools</remote-id>
+ </upstream>
<use>
<flag name="ddemangle">An improved D symbol demangler. Replaces all occurrences of mangled D symbols in the input with their unmangled form, and writes the result to standard output.</flag>
<flag name="detab">Replace tabs with spaces, and remove trailing whitespace from lines.</flag>
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-05-30 17:28 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-05-30 17:28 UTC (permalink / raw
To: gentoo-commits
commit: e43ae4bf0767567abe5a86127359df271f2cb5a5
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Thu May 30 17:00:53 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Thu May 30 17:00:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e43ae4bf
dev-util/dlang-tools: drop 2.107.0
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/dlang-tools-2.107.0.ebuild | 61 -------------------------
1 file changed, 61 deletions(-)
diff --git a/dev-util/dlang-tools/dlang-tools-2.107.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.107.0.ebuild
deleted file mode 100644
index ea02763..0000000
--- a/dev-util/dlang-tools/dlang-tools-2.107.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Ancilliary tools for the D programming language compiler"
-HOMEPAGE="http://dlang.org/"
-LICENSE="Boost-1.0"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-TOOLS="ddemangle detab dustmite rdmd"
-IUSE="+ddemangle detab dustmite +rdmd"
-REQUIRED_USE="|| ( ${TOOLS} )"
-
-DLANG_SLOT="$(ver_cut 1-2)"
-RESTRICT="mirror"
-
-BETA="$(ver_cut 4)"
-VERSION="$(ver_cut 1-3)"
-
-if [[ -n "${BETA}" ]]; then
- # 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"
-
-DLANG_VERSION_RANGE="2.100-2.107"
-DLANG_PACKAGE_TYPE="single"
-
-inherit desktop dlang xdg-utils
-
-S="${WORKDIR}/tools-${VERSION}"
-
-d_src_compile() {
- use ddemangle && dlang_compile_bin ddemangle ddemangle.d
- use detab && dlang_compile_bin detab detab.d
- use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d DustMite/polyhash.d
- use rdmd && dlang_compile_bin rdmd rdmd.d
-}
-
-d_src_install() {
- for tool in ${TOOLS}; do
- if use "${tool}"; then
- dobin "${tool}"
- fi
- done
-
- # file icons
- for size in 16 22 24 32 48 256; do
- newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
- done
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-05-30 17:28 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-05-30 17:28 UTC (permalink / raw
To: gentoo-commits
commit: f00a8d0c6b78aa1fdef01696a3dd4791b0f2e592
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Thu May 30 17:01:16 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Thu May 30 17:01:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f00a8d0c
dev-util/dlang-tools: drop 2.107.0-r1
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/Manifest | 1 -
dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild | 64 ----------------------
2 files changed, 65 deletions(-)
diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 0b68e75..00713fa 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -1,3 +1,2 @@
DIST dlang-tools-2.106.1.tar.gz 129644 BLAKE2B 014adf42be0c4f82b96d1857eff01e5927a5e179cf99e0928abb2300b7ed3e1e2719e2a38a0ff36dc776b61dcd5ae24affd18ed26a1eabdab1185430eeb888b3 SHA512 bed6ec6cf6287104ad1d5e79e8512094b1aec69be09206104ea58d4bff8af8c5f15012db0237aa195a58baa85a8d880b054ea66a7352fc0684218bfa563b2d32
-DIST dlang-tools-2.107.0.tar.gz 128252 BLAKE2B 9d51eda89ab60ca1a98933c8e17ac4ea545d5c8f70ed7f9fec655e8888a37a5487a11345306fd02d7ab27c4ef3127795d4900d47db558ca0e337e163e6102dee SHA512 7e12f29eb230d7160b985bb6f892b8b267d51bdab96c9f75ab0d80d9fea596c106253f2673bfc54084f343116751c827e83aa8a27cad77c71b3475a0f9b2806d
DIST dlang-tools-2.108.0.tar.gz 128260 BLAKE2B de91759bfe75809450eb67c57d05872d5fb1d9a6dde82c3ad8af622fd2068d41290f60b121af60ea4d3a0c7eb555f2e498ab57872c7e7ecb882697a0a32282d7 SHA512 e962a3cebcbe7143fc558a4609f02e59c23b10be15eb1a65147bc49b54ed0b4eb8e3d040045cf9522536a7b016cffb18d66d6db9e26d619c19a2585e0917536a
diff --git a/dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild b/dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild
deleted file mode 100644
index 87b1fef..0000000
--- a/dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Ancilliary tools for the D programming language compiler"
-HOMEPAGE="http://dlang.org/"
-LICENSE="Boost-1.0"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-TOOLS="ddemangle detab dustmite rdmd"
-IUSE="+ddemangle detab dustmite +rdmd"
-
-DLANG_SLOT="$(ver_cut 1-2)"
-RESTRICT="mirror"
-
-BETA="$(ver_cut 4)"
-VERSION="$(ver_cut 1-3)"
-
-if [[ -n "${BETA}" ]]; then
- # 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"
-
-DLANG_COMPAT=( dmd-2_{106..107} gdc-12 ldc2-1_{35..36} )
-
-inherit desktop dlang-single xdg-utils
-
-REQUIRED_USE="|| ( ${TOOLS[@]} ) ${DLANG_REQUIRED_USE}"
-DEPEND=${DLANG_DEPS}
-BDEPEND=${DLANG_DEPS}
-RDEPEND=${DLANG_DEPS}
-
-S="${WORKDIR}/tools-${VERSION}"
-
-src_compile() {
- use ddemangle && dlang_compile_bin ddemangle ddemangle.d
- use detab && dlang_compile_bin detab detab.d
- use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d DustMite/polyhash.d
- use rdmd && dlang_compile_bin rdmd rdmd.d
-}
-
-src_install() {
- for tool in ${TOOLS}; do
- if use "${tool}"; then
- dobin "${tool}"
- fi
- done
-
- # file icons
- for size in 16 22 24 32 48 256; do
- newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
- done
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-06-02 5:29 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-06-02 5:29 UTC (permalink / raw
To: gentoo-commits
commit: ac315a729767b7c9983ff3f6c48335e68ed78a5c
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Fri May 31 05:00:32 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Fri May 31 05:00:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=ac315a72
dev-util/dlang-tools: enable ldc2-1_38
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/dlang-tools-2.108.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild
index fbd6a3e..1896fa2 100644
--- a/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild
@@ -27,7 +27,7 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd test"
RESTRICT="!test? ( test )"
-DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..37} )
+DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..38} )
inherit desktop dlang-single xdg-utils
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-06-02 5:29 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-06-02 5:29 UTC (permalink / raw
To: gentoo-commits
commit: 944f6576c4fc10426856385dbc61dd24a701d5dd
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Jun 2 04:44:12 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Jun 2 04:44:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=944f6576
dev-util/dlang-tools: enable gdc-14
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/dlang-tools-2.108.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild
index 1896fa2..566a518 100644
--- a/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild
+++ b/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild
@@ -27,7 +27,7 @@ TOOLS="ddemangle detab dustmite rdmd"
IUSE="+ddemangle detab dustmite +rdmd test"
RESTRICT="!test? ( test )"
-DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..38} )
+DLANG_COMPAT=( dmd-2_{106..108} gdc-1{3,4} ldc2-1_{35..38} )
inherit desktop dlang-single xdg-utils
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/
@ 2024-07-14 19:44 Horodniceanu Andrei
0 siblings, 0 replies; 14+ messages in thread
From: Horodniceanu Andrei @ 2024-07-14 19:44 UTC (permalink / raw
To: gentoo-commits
commit: b8a501918785a8087f40d82d14e1aa83e0aea6c6
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Jul 14 13:29:39 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Jul 14 13:29:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=b8a50191
dev-util/dlang-tools: add 2.109.1
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-util/dlang-tools/Manifest | 1 +
dev-util/dlang-tools/dlang-tools-2.109.1.ebuild | 114 ++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
index 00713fa..13a794d 100644
--- a/dev-util/dlang-tools/Manifest
+++ b/dev-util/dlang-tools/Manifest
@@ -1,2 +1,3 @@
DIST dlang-tools-2.106.1.tar.gz 129644 BLAKE2B 014adf42be0c4f82b96d1857eff01e5927a5e179cf99e0928abb2300b7ed3e1e2719e2a38a0ff36dc776b61dcd5ae24affd18ed26a1eabdab1185430eeb888b3 SHA512 bed6ec6cf6287104ad1d5e79e8512094b1aec69be09206104ea58d4bff8af8c5f15012db0237aa195a58baa85a8d880b054ea66a7352fc0684218bfa563b2d32
DIST dlang-tools-2.108.0.tar.gz 128260 BLAKE2B de91759bfe75809450eb67c57d05872d5fb1d9a6dde82c3ad8af622fd2068d41290f60b121af60ea4d3a0c7eb555f2e498ab57872c7e7ecb882697a0a32282d7 SHA512 e962a3cebcbe7143fc558a4609f02e59c23b10be15eb1a65147bc49b54ed0b4eb8e3d040045cf9522536a7b016cffb18d66d6db9e26d619c19a2585e0917536a
+DIST dlang-tools-2.109.1.tar.gz 128289 BLAKE2B f69d248162938b21888549812372b92937ebe3e21dcfd2d2b15bf793eb74d2b3a7aea94695b5dd2ec00817013d6a1dcff344b08e343ba309ee076ba8e2535948 SHA512 f0e2858b0b6ed58128679beae30d15caa11eb5560368b760114d3df43e63fef5a6afeef1adfb76c3cef6d9e32c233c649cef7625adbf56bae161edbdfefdf106
diff --git a/dev-util/dlang-tools/dlang-tools-2.109.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.109.1.ebuild
new file mode 100644
index 0000000..f9df159
--- /dev/null
+++ b/dev-util/dlang-tools/dlang-tools-2.109.1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Ancilliary tools for the D programming language compiler"
+HOMEPAGE="http://dlang.org/"
+
+DLANG_SLOT="$(ver_cut 1-2)"
+
+BETA="$(ver_cut 4)"
+VERSION="$(ver_cut 1-3)"
+
+if [[ -n "${BETA}" ]]; then
+ # 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"
+S="${WORKDIR}/tools-${VERSION}"
+
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd test"
+RESTRICT="!test? ( test )"
+
+DLANG_COMPAT=( dmd-2_{106..109} gdc-1{3,4} ldc2-1_{35..39} )
+
+inherit desktop dlang-single xdg-utils
+
+PATCHES=(
+ # The make tests fails due to https://savannah.gnu.org/bugs/?65588
+ "${FILESDIR}/2.108.0-rdmd-disable-make-test.patch"
+ "${FILESDIR}/gdc-13-fix-parentheses.patch"
+)
+
+REQUIRED_USE="|| ( ${TOOLS[@]} ) ${DLANG_REQUIRED_USE} test? ( || ( ddemangle dustmite rdmd ) )"
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+src_compile() {
+ use ddemangle && dlang_compile_bin ddemangle ddemangle.d
+ use detab && dlang_compile_bin detab detab.d
+ use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d DustMite/polyhash.d
+ use rdmd && dlang_compile_bin rdmd rdmd.d
+}
+
+src_test() {
+ if use ddemangle; then
+ dlang_compile_bin ddemangle_ut ddemangle.d $(dlang_get_unittest_flag)
+ ./ddemangle_ut || die 'ddemangle unittests failed'
+ fi
+ if use dustmite; then
+ dlang_compile_bin dustmite_ut DustMite/dustmite.d DustMite/splitter.d DustMite/polyhash.d $(dlang_get_unittest_flag)
+ ./dustmite_ut || die 'dustmite unittests failed'
+ fi
+ if use rdmd; then
+ # Add an empty main since gdc doesn't support -main
+ echo 'void main(){}' >> rdmd.d
+ dlang_compile_bin rdmd_ut rdmd.d $(dlang_get_unittest_flag)
+ ./rdmd_ut || die 'rdmd unittests failed'
+
+ # These tests fail with gdc, due to some quirks.
+ #
+ # On aarch64, -m64 is not supported by gdc.
+ # See: https://github.com/dlang/tools/pull/470
+ #
+ # On other arches there is one test failing. See:
+ # https://github.com/dlang/tools/pull/469 for possible
+ # solutions.
+ #
+ # These issues have existed for a while so ignore the failures.
+ if [[ ${EDC} == gdc* ]]; then
+ ewarn "Some rdmd tests have been skipped"
+ else
+ dlang_compile_bin rdmd_test rdmd_test.d
+ local model
+ # Note that dlang_get_model_flag doesn't work here since it
+ # is only meant for multilib.
+ [[ ${ABI} == @(x86|amd64) ]] && model=-m$(dlang_get_abi_bits)
+ # One test uses make, it can be specified through $MAKE if needed.
+ ./rdmd_test -v \
+ ${model} \
+ --rdmd-default-compiler="$(dlang_get_dmdw)" \
+ ./rdmd || die 'rdmd tests failed'
+ fi
+
+ fi
+}
+
+src_install() {
+ for tool in ${TOOLS}; do
+ if use "${tool}"; then
+ dobin "${tool}"
+ fi
+ done
+
+ # file icons
+ for size in 16 22 24 32 48 256; do
+ newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+ done
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 14+ messages in thread
end of thread, other threads:[~2024-07-14 19:44 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-02 5:29 [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/ Horodniceanu Andrei
-- strict thread matches above, loose matches on Subject: below --
2024-07-14 19:44 Horodniceanu Andrei
2024-06-02 5:29 Horodniceanu Andrei
2024-05-30 17:28 Horodniceanu Andrei
2024-05-30 17:28 Horodniceanu Andrei
2024-05-30 17:28 Horodniceanu Andrei
2024-05-07 23:18 Horodniceanu Andrei
2024-04-13 23:04 Horodniceanu Andrei
2024-02-18 22:49 Horodniceanu Andrei
2024-02-18 22:49 Horodniceanu Andrei
2024-02-18 22:49 Horodniceanu Andrei
2023-11-17 21:44 Horodniceanu Andrei
2023-09-28 4:56 Marco Leise
2023-09-28 4:56 Marco Leise
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox