From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5DC4B15817D for ; Thu, 6 Jun 2024 19:56:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BA0FE29A6; Thu, 6 Jun 2024 19:56:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 676B2E29A6 for ; Thu, 6 Jun 2024 19:56:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 705DD340815 for ; Thu, 6 Jun 2024 19:56:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0ACE011EF for ; Thu, 6 Jun 2024 19:56:06 +0000 (UTC) From: "Hanno Böck" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hanno Böck" Message-ID: <1717703713.8e8bf3dd9a3a075d39874934a5fe756649f3d26b.hanno@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/calcurse/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/calcurse/calcurse-4.8.1-r1.ebuild X-VCS-Directories: app-office/calcurse/ X-VCS-Committer: hanno X-VCS-Committer-Name: Hanno Böck X-VCS-Revision: 8e8bf3dd9a3a075d39874934a5fe756649f3d26b X-VCS-Branch: master Date: Thu, 6 Jun 2024 19:56:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e5706321-390b-46e5-a88a-4a4c8f681ffc X-Archives-Hash: 5c7c568e4c2907b87a6c8da8d2e0c413 commit: 8e8bf3dd9a3a075d39874934a5fe756649f3d26b Author: Hanno Böck gentoo org> AuthorDate: Thu Jun 6 19:55:13 2024 +0000 Commit: Hanno Böck gentoo 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 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 +}