You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-office/calcurse/calcurse-4.7.0.ebuild

52 lines
966 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
inherit autotools 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}"
# Some tests fail, mostly those pertaining to ical, perhaps due to requiring network?
RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${PN}-4.2.1-tinfo.patch
)
pkg_setup() {
:
}
src_prepare() {
default
eautoreconf
}
src_compile() {
default
python_setup
python_fix_shebang contrib/caldav/calcurse-caldav
}
src_install() {
default
mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
}