From: "Horodniceanu Andrei" <a.horodniceanu@proton.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/user/dlang:master commit in: dev-libs/gtkd/
Date: Fri, 17 Nov 2023 21:44:44 +0000 (UTC) [thread overview]
Message-ID: <1700254470.c4ff5cfc49313068a4591a6e192b50cde40c5f32.a.horodniceanu@gentoo> (raw)
commit: c4ff5cfc49313068a4591a6e192b50cde40c5f32
Author: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Oct 15 10:45:36 2023 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Fri Nov 17 20:54:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c4ff5cfc
dev-libs/gtkd: upgrade to EAPI 7, replace unzip calls
Closes: https://github.com/gentoo/dlang/pull/125
Signed-off-by: Horodniceanu Andrei <a.horodniceanu <AT> proton.me>
dev-libs/gtkd/gtkd-2.4.2-r1.ebuild | 13 ++++++++-----
dev-libs/gtkd/gtkd-3.9.0.ebuild | 7 +++++--
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/dev-libs/gtkd/gtkd-2.4.2-r1.ebuild b/dev-libs/gtkd/gtkd-2.4.2-r1.ebuild
index ad07352..16d99d0 100644
--- a/dev-libs/gtkd/gtkd-2.4.2-r1.ebuild
+++ b/dev-libs/gtkd/gtkd-2.4.2-r1.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=7
DESCRIPTION="D binding and OO wrapper of GTK+ and is released on the LGPL license"
HOMEPAGE="http://gtkd.org/"
@@ -15,9 +15,9 @@ SRC_URI="https://gtkd.org/Downloads/sources/GtkD-${PV}.zip"
DLANG_VERSION_RANGE="2.063-2.067 2.071-2.080"
DLANG_PACKAGE_TYPE="multi"
-inherit eutils dlang
+inherit dlang multilib-build
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
RDEPEND="
>=x11-libs/gtk+-3.10:3[${MULTILIB_USEDEP}]
sourceview? ( >=x11-libs/gtksourceview-3.10:3.0 )
@@ -34,7 +34,10 @@ MAJOR=$(ver_cut 1)
MINOR=$(ver_cut 2-)
src_unpack() {
- unzip -q "${DISTDIR}/${A}" -d "${S}"
+ mkdir "${S}" || die "Could not create source directory"
+ pushd "${S}" >/dev/null
+ unpack "${A}"
+ popd >/dev/null
}
d_src_compile() {
diff --git a/dev-libs/gtkd/gtkd-3.9.0.ebuild b/dev-libs/gtkd/gtkd-3.9.0.ebuild
index bfea972..0d016fb 100644
--- a/dev-libs/gtkd/gtkd-3.9.0.ebuild
+++ b/dev-libs/gtkd/gtkd-3.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -39,7 +39,10 @@ MAJOR=$(ver_cut 1)
MINOR=$(ver_cut 2-)
src_unpack() {
- unzip -q "${DISTDIR}/${A}" -d "${S}"
+ mkdir "${S}" || die "Could not create source directory"
+ pushd "${S}" >/dev/null
+ unpack "${DISTDIR}/${A}"
+ popd "${S}" >/dev/null
}
d_src_compile() {
next reply other threads:[~2023-11-17 21:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-17 21:44 Horodniceanu Andrei [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-03 20:34 [gentoo-commits] repo/user/dlang:master commit in: dev-libs/gtkd/ Horodniceanu Andrei
2024-07-14 20:09 Horodniceanu Andrei
2024-07-14 19:44 Horodniceanu Andrei
2024-06-02 5:29 Horodniceanu Andrei
2024-06-02 5:29 Horodniceanu Andrei
2024-05-02 21:00 Horodniceanu Andrei
2024-05-02 21:00 Horodniceanu Andrei
2024-04-13 23:04 Horodniceanu Andrei
2024-01-14 10:37 Horodniceanu Andrei
2024-01-14 10:37 Horodniceanu Andrei
2023-12-18 12:37 Horodniceanu Andrei
2023-11-28 9:42 Horodniceanu Andrei
2021-05-21 17:20 Marco Leise
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1700254470.c4ff5cfc49313068a4591a6e192b50cde40c5f32.a.horodniceanu@gentoo \
--to=a.horodniceanu@proton.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox