public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-plugins/dtmediawiki/
Date: Tue, 21 May 2024 21:10:09 +0000 (UTC)	[thread overview]
Message-ID: <1716261777.cc9c6654491721dd445a25f79e9ca1d82b9146d8.julien@gentoo> (raw)

commit:     cc9c6654491721dd445a25f79e9ca1d82b9146d8
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Tue May 21 03:22:57 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue May 21 03:22:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc9c6654

media-plugins/dtmediawiki: lua_targets_lua5-4 hardcode to LUA_COMPAT

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 media-plugins/dtmediawiki/dtmediawiki-9999.ebuild | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/media-plugins/dtmediawiki/dtmediawiki-9999.ebuild b/media-plugins/dtmediawiki/dtmediawiki-9999.ebuild
index 184e2b7087..2f2a87ee06 100644
--- a/media-plugins/dtmediawiki/dtmediawiki-9999.ebuild
+++ b/media-plugins/dtmediawiki/dtmediawiki-9999.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=8
 
-inherit git-r3
+LUA_COMPAT=( lua5-4 )
+
+inherit git-r3 lua-single
 
 DESCRIPTION="Wikimedia Commons export plugin for Darktable"
 HOMEPAGE="https://github.com/trougnouf/dtMediaWiki"
@@ -12,11 +14,14 @@ EGIT_REPO_URI="https://github.com/trougnouf/dtMediaWiki"
 LICENSE="GPL-3"
 SLOT="0"
 
-RDEPEND="
+DEPEND="
+	$LUA_DEPS
 	media-gfx/darktable[lua]
-	dev-lua/luasec[lua_targets_lua5-4]
-	dev-lua/luajson[lua_targets_lua5-4]
-	dev-lua/multipart-post[lua_targets_lua5-4]
+	$(lua_gen_cond_dep '
+		dev-lua/luasec[${LUA_USEDEP}]
+		dev-lua/luajson[${LUA_USEDEP}]
+		dev-lua/multipart-post[${LUA_USEDEP}]
+	')
 "
 
 src_install() {


             reply	other threads:[~2024-05-21 21:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-21 21:10 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-21 21:10 [gentoo-commits] repo/proj/guru:master commit in: media-plugins/dtmediawiki/ Julien Roy

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=1716261777.cc9c6654491721dd445a25f79e9ca1d82b9146d8.julien@gentoo \
    --to=julien@jroy.ca \
    --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