From c9c0ae5419485d7fc93be4a449a49f2fd7335631 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 12 Mar 2020 16:45:27 -0400 Subject: 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 --- app-office/calcurse/calcurse-4.4.0-r1.ebuild | 46 ++++++++++++++++++++++++++++ app-office/calcurse/calcurse-4.4.0.ebuild | 33 -------------------- 2 files changed, 46 insertions(+), 33 deletions(-) create mode 100644 app-office/calcurse/calcurse-4.4.0-r1.ebuild delete mode 100644 app-office/calcurse/calcurse-4.4.0.ebuild (limited to 'app-office') diff --git a/app-office/calcurse/calcurse-4.4.0-r1.ebuild b/app-office/calcurse/calcurse-4.4.0-r1.ebuild new file mode 100644 index 000000000000..4f73bc667627 --- /dev/null +++ b/app-office/calcurse/calcurse-4.4.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6..8} ) + +inherit autotools eutils 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 ppc ppc64 x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/httplib2[${PYTHON_MULTI_USEDEP}]') + sys-libs/ncurses:0=" + +DEPEND=" + ${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-4.2.1-tinfo.patch +) + +# Most tests fail. +RESTRICT="test" + +pkg_setup() { + : +} + +src_prepare() { + default + eautoreconf +} + +src_compile() { + default + python_setup + python_fix_shebang contrib/caldav/calcurse-caldav +} diff --git a/app-office/calcurse/calcurse-4.4.0.ebuild b/app-office/calcurse/calcurse-4.4.0.ebuild deleted file mode 100644 index aed85d935654..000000000000 --- a/app-office/calcurse/calcurse-4.4.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools eutils - -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 ppc ppc64 x86" - -RDEPEND=" - dev-python/httplib2 - sys-libs/ncurses:0=" - -DEPEND=" - ${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-4.2.1-tinfo.patch -) - -# Most tests fail. -RESTRICT="test" - -src_prepare() { - default - eautoreconf -} -- cgit v1.2.3-65-gdbad