commit:     652bb408296d3c35c4c9f6f3d2e7c6e8bda0723e
Author:     Kai-Chun Ning (Github Signing key) <kaichun.ning <AT> gmail <DOT> 
com>
AuthorDate: Sat Aug 30 16:10:50 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  3 01:10:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=652bb408

app-office/calcurse: add 4.8.2

Signed-off-by: Kai-Chun Ning (Github Signing key) <kaichun.ning <AT> 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 <AT> gentoo.org>

 app-office/calcurse/Manifest              |  1 +
 app-office/calcurse/calcurse-4.8.2.ebuild | 56 +++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/app-office/calcurse/Manifest b/app-office/calcurse/Manifest
index f34b7b01d0ee..fd9ca255adea 100644
--- a/app-office/calcurse/Manifest
+++ b/app-office/calcurse/Manifest
@@ -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

diff --git a/app-office/calcurse/calcurse-4.8.2.ebuild 
b/app-office/calcurse/calcurse-4.8.2.ebuild
new file mode 100644
index 000000000000..5bfdcc8b9288
--- /dev/null
+++ b/app-office/calcurse/calcurse-4.8.2.ebuild
@@ -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
+}

Reply via email to