public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hanno Böck" <hanno@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/calcurse/
Date: Thu,  6 Jun 2024 19:56:06 +0000 (UTC)	[thread overview]
Message-ID: <1717703713.8e8bf3dd9a3a075d39874934a5fe756649f3d26b.hanno@gentoo> (raw)

commit:     8e8bf3dd9a3a075d39874934a5fe756649f3d26b
Author:     Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  6 19:55:13 2024 +0000
Commit:     Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 19:55:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8bf3dd

app-office/calcurse: python 3.12 support

Also remove unused eclass inherit.

Closes: https://bugs.gentoo.org/929344
Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>

 app-office/calcurse/calcurse-4.8.1-r1.ebuild | 56 ++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/app-office/calcurse/calcurse-4.8.1-r1.ebuild b/app-office/calcurse/calcurse-4.8.1-r1.ebuild
new file mode 100644
index 000000000000..0b35c3f066f2
--- /dev/null
+++ b/app-office/calcurse/calcurse-4.8.1-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+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	other threads:[~2024-06-06 19:56 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06 19:56 Hanno Böck [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-17 13:24 [gentoo-commits] repo/gentoo:master commit in: app-office/calcurse/ Arthur Zamarin
2024-07-17  9:50 Arthur Zamarin
2024-07-17  9:50 Arthur Zamarin
2023-07-07 21:57 Conrad Kostecki
2023-05-30  6:59 Joonas Niilola
2023-05-30  6:59 Joonas Niilola
2023-05-30  6:59 Joonas Niilola
2023-05-02 20:11 Sam James
2023-05-02 19:32 Arthur Zamarin
2023-05-02 19:24 Sam James
2023-05-02 19:06 Arthur Zamarin
2023-03-22  8:08 Viorel Munteanu
2023-02-08 17:13 Sam James
2022-10-14  5:06 Arthur Zamarin
2021-12-05 18:39 Sam James
2021-12-05 18:31 Sam James
2021-12-05  4:16 Sam James
2021-01-07 19:37 Sam James
2021-01-07 11:15 Sam James
2021-01-04  3:31 Sam James
2020-11-04 15:13 Joonas Niilola
2020-11-04 15:13 Joonas Niilola
2020-03-12 20:49 Mike Gilbert
2020-03-12 20:49 Mike Gilbert
2020-03-12 20:49 Mike Gilbert
2020-03-11  8:24 Patrice Clement
2020-03-10 15:07 Andreas K. Hüttel
2020-03-10 11:28 Patrice Clement
2019-05-20 11:14 Mikle Kolyada
2019-05-12 22:03 Sergei Trofimovich
2019-05-12 21:57 Sergei Trofimovich
2019-02-25 21:54 Patrice Clement
2019-02-25 21:54 Patrice Clement
2018-08-26 14:49 Patrice Clement
2018-08-25 21:27 Patrice Clement
2018-06-25 13:31 Jeroen Roovers
2018-06-24 14:51 Patrice Clement
2018-06-24 14:51 Patrice Clement
2018-06-03 13:49 Aaron Bauman
2017-11-14 21:51 Patrice Clement
2017-02-24 13:38 Agostino Sarubbo
2017-02-24  9:01 Michael Weber
2017-02-08 22:15 Patrice Clement
2016-01-19 14:21 Patrice Clement
2016-01-19 13:33 Patrice Clement
2015-10-24  9:03 Patrice Clement
2015-10-24  9:03 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717703713.8e8bf3dd9a3a075d39874934a5fe756649f3d26b.hanno@gentoo \
    --to=hanno@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox