app-office/calcurse: add 4.8.2

Signed-off-by: Kai-Chun Ning (Github Signing key) <kaichun.ning@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43612
Closes: https://github.com/gentoo/gentoo/pull/43612
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Kai-Chun Ning (Github Signing key) 2025-08-30 18:10:50 +02:00 committed by Sam James
parent 9c7ea61074
commit 652bb40829
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 57 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST calcurse-4.8.1.tar.gz 730787 BLAKE2B 0c34b85313c3414dffc08635f6f37feb0a1e0f6c03bcf3b71a6cc95ed8fb4430ab1339abce72850364251884d707acb6cbbed0143d930f8bb76310ca5951b779 SHA512 a0a0bcfceb28a4e363168711a3c2de8f6e94d7f12aa78ff40f157c247ea6a41646bd218a1defba2d128b131ed0ab71c4d417820a0af0adbaa215011b11f0a040
DIST calcurse-4.8.2.tar.gz 753648 BLAKE2B 53951b8bfc94bab8847b1c1d819d2ac10e988725232d3ba84a37966c77b468cde86fa60b8fd3548657947792bdabcf32bf2db16a8d809c1b71a7b7664d59fbf4 SHA512 9949eb32b79022c3c2e7c8cdf32de34cc370d7550e4211146666fadf2a00110b9c9f2e224b4ecd0caaf0b6437d73675b016f20caa123a3fef9d10ebe03c42460

View File

@ -0,0 +1,56 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
inherit python-single-r1
DESCRIPTION="A text-based calendar and scheduling application"
HOMEPAGE="https://calcurse.org/"
SRC_URI="https://calcurse.org/files/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
IUSE="caldav doc"
RDEPEND="
sys-libs/ncurses:0=
sys-libs/timezone-data
${PYTHON_DEPS}
caldav? (
$(python_gen_cond_dep '
dev-python/httplib2[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
')
)
"
DEPEND="
${RDEPEND}
"
BDEPEND="virtual/pkgconfig"
src_configure() {
local myconf=(
$(use_enable doc docs)
--without-asciidoc # do not use AsciiDoc to regenerate docs
)
ECONF_SOURCE="${S}" econf "${myconf[@]}"
}
src_compile() {
default
if use caldav; then
python_fix_shebang contrib/caldav/calcurse-caldav
fi
}
src_install() {
docompress -x /usr/share/doc # decompress text files
default
}