jtc-overlay/app-office/rednotebook/rednotebook-2.15.ebuild
2022-08-30 15:46:53 -04:00

35 lines
766 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6,7,8} )
inherit python-r1
DESCRIPTION="A python based journal"
HOMEPAGE="https://rednotebook.sourceforge.io/"
SRC_URI="https://github.com/jendrikseipp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="spell"
RDEPEND="${PYTHON_DEPS}
>=x11-libs/gtk+-3.18
>=net-libs/webkit-gtk-2.16
>=x11-libs/gtksourceview-3.18:3.0
>=dev-python/pyyaml-3.10
spell? ( >=dev-python/pyenchant-1.6 )"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_install() {
python3 setup.py install --root="${D}"
# python_replicate_script "${D%/}"/usr/bin/rednotebook
einstalldocs
}