aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahil Bhimjiani <me@rahil.rocks>2024-03-12 11:55:40 +0530
committerRahil Bhimjiani <me@rahil.rocks>2024-03-12 12:17:09 +0530
commiteaadd7954eb64572ce91f3ad8dd788bd4c1cdd96 (patch)
treea3187317b63898499d15ec44d3ad7fd87372ca49 /net-irc
parentsys-kernel/uek-sources: add 5.15.0.205.149.3 (diff)
downloadguru-eaadd7954eb64572ce91f3ad8dd788bd4c1cdd96.tar.gz
guru-eaadd7954eb64572ce91f3ad8dd788bd4c1cdd96.tar.bz2
guru-eaadd7954eb64572ce91f3ad8dd788bd4c1cdd96.zip
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@rahil.rocks>
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/thelounge/thelounge-4.4.1.ebuild4
-rw-r--r--net-irc/thelounge/thelounge-4.4.2_rc1.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/net-irc/thelounge/thelounge-4.4.1.ebuild b/net-irc/thelounge/thelounge-4.4.1.ebuild
index a1d2ccb91..096387d17 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 e7d1c4861..a8abb0005 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 ; }