commit:     6847f1e6315628dee18d01cd0645505e2cd1286e
Author:     Kai-Chun Ning <kaichun.ning <AT> gmail <DOT> com>
AuthorDate: Fri May 12 17:16:38 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue May 30 06:58:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6847f1e6

app-office/calcurse: add missing dep for musl systems for 4.8.0

Signed-off-by: Kai-Chun Ning <kaichun.ning <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31008
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../calcurse/{calcurse-4.8.0.ebuild => calcurse-4.8.0-r1.ebuild}   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-office/calcurse/calcurse-4.8.0.ebuild 
b/app-office/calcurse/calcurse-4.8.0-r1.ebuild
similarity index 86%
rename from app-office/calcurse/calcurse-4.8.0.ebuild
rename to app-office/calcurse/calcurse-4.8.0-r1.ebuild
index a918b427a68f..eac0ca24f616 100644
--- a/app-office/calcurse/calcurse-4.8.0.ebuild
+++ b/app-office/calcurse/calcurse-4.8.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit python-single-r1
+inherit autotools python-single-r1
 
 DESCRIPTION="A text-based calendar and scheduling application"
 HOMEPAGE="https://calcurse.org/";
@@ -19,6 +19,7 @@ IUSE="caldav doc"
 
 RDEPEND="
        sys-libs/ncurses:0=
+       sys-libs/timezone-data
        ${PYTHON_DEPS}
        caldav? (
                $(python_gen_cond_dep '
@@ -42,7 +43,9 @@ src_configure() {
 
 src_compile() {
        default
-       python_fix_shebang contrib/caldav/calcurse-caldav
+       if use caldav; then
+               python_fix_shebang contrib/caldav/calcurse-caldav
+       fi
 }
 
 src_install() {

Reply via email to