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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99D3A138350 for ; Thu, 12 Mar 2020 20:49:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C138EE0C24; Thu, 12 Mar 2020 20:49:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6B6EE0C24 for ; Thu, 12 Mar 2020 20:49:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFC2F34EF34 for ; Thu, 12 Mar 2020 20:49:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4E15168 for ; Thu, 12 Mar 2020 20:49:36 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1584046159.c9c0ae5419485d7fc93be4a449a49f2fd7335631.floppym@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.4.0-r1.ebuild app-office/calcurse/calcurse-4.4.0.ebuild X-VCS-Directories: app-office/calcurse/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: c9c0ae5419485d7fc93be4a449a49f2fd7335631 X-VCS-Branch: master Date: Thu, 12 Mar 2020 20:49:36 +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: 423ea1aa-cc72-40b9-b025-b3a0e5c7c9e9 X-Archives-Hash: 56b7482f367aec2e7b2a04ab68be9aa6 commit: c9c0ae5419485d7fc93be4a449a49f2fd7335631 Author: Mike Gilbert gentoo org> AuthorDate: Thu Mar 12 20:45:27 2020 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Mar 12 20:49:19 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c0ae54 app-office/calcurse: wire up python-single-r1 Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118 Signed-off-by: Mike Gilbert gentoo.org> .../{calcurse-4.4.0.ebuild => calcurse-4.4.0-r1.ebuild} | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/app-office/calcurse/calcurse-4.4.0.ebuild b/app-office/calcurse/calcurse-4.4.0-r1.ebuild similarity index 61% rename from app-office/calcurse/calcurse-4.4.0.ebuild rename to app-office/calcurse/calcurse-4.4.0-r1.ebuild index aed85d93565..4f73bc66762 100644 --- a/app-office/calcurse/calcurse-4.4.0.ebuild +++ b/app-office/calcurse/calcurse-4.4.0-r1.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 +PYTHON_COMPAT=( python3_{6..8} ) -inherit autotools eutils +inherit autotools eutils python-single-r1 DESCRIPTION="a text-based calendar and scheduling application" HOMEPAGE="https://calcurse.org/" @@ -12,9 +13,11 @@ SRC_URI="https://calcurse.org/files/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" - dev-python/httplib2 + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/httplib2[${PYTHON_MULTI_USEDEP}]') sys-libs/ncurses:0=" DEPEND=" @@ -27,7 +30,17 @@ PATCHES=( # Most tests fail. RESTRICT="test" +pkg_setup() { + : +} + src_prepare() { default eautoreconf } + +src_compile() { + default + python_setup + python_fix_shebang contrib/caldav/calcurse-caldav +}