commit:     eaadd7954eb64572ce91f3ad8dd788bd4c1cdd96
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Tue Mar 12 06:25:40 2024 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Tue Mar 12 06:47:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eaadd795

net-irc/thelounge: setup for python only if +sqlite

missed this one as I didn't know that python-single-r1 exports pkg_setup

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 net-irc/thelounge/thelounge-4.4.1.ebuild     | 4 ++++
 net-irc/thelounge/thelounge-4.4.2_rc1.ebuild | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/net-irc/thelounge/thelounge-4.4.1.ebuild 
b/net-irc/thelounge/thelounge-4.4.1.ebuild
index a1d2ccb91d..096387d178 100644
--- a/net-irc/thelounge/thelounge-4.4.1.ebuild
+++ b/net-irc/thelounge/thelounge-4.4.1.ebuild
@@ -53,6 +53,10 @@ mooyarn() {
                 --ignore-scripts ${YARN_OPTS} "${@}" || die
 }
 
+pkg_setup() {
+       use sqlite && python-single-r1_pkg_setup
+}
+
 src_prepare() {
        default
        use !sqlite && { sed -i -e 's|\["sqlite", |\[|g;' defaults/config.js  
|| die ; }

diff --git a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild 
b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild
index e7d1c48610..a8abb0005c 100644
--- a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild
+++ b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild
@@ -53,6 +53,10 @@ mooyarn() {
                 --ignore-scripts ${YARN_OPTS} "${@}" || die
 }
 
+pkg_setup() {
+       use sqlite && python-single-r1_pkg_setup
+}
+
 src_prepare() {
        default
        use !sqlite && { sed -i -e 's|\["sqlite", |\[|g;' defaults/config.js  
|| die ; }

Reply via email to