mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
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>
This commit is contained in:
@@ -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 ; }
|
||||
|
||||
@@ -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 ; }
|
||||
|
||||
Reference in New Issue
Block a user