diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-office/gtg/gtg-0.4.0.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'app-office/gtg/gtg-0.4.0.ebuild')
-rw-r--r-- | app-office/gtg/gtg-0.4.0.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/app-office/gtg/gtg-0.4.0.ebuild b/app-office/gtg/gtg-0.4.0.ebuild new file mode 100644 index 000000000000..135111e7c824 --- /dev/null +++ b/app-office/gtg/gtg-0.4.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_REQ_USE="xml(+)" + +inherit meson python-single-r1 xdg + +DESCRIPTION="Personal organizer for the GNOME desktop environment" +HOMEPAGE="https://wiki.gnome.org/Apps/GTG/" +SRC_URI="https://github.com/getting-things-gnome/gtg/releases/download/v0.4/${P}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + >=dev-python/liblarch-3.0[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + ') + x11-libs/pango[introspection] + x11-libs/gdk-pixbuf[introspection] + x11-libs/gtk+:3[introspection] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/itstool + >=sys-devel/gettext-0.19.8 + test? ( $(python_gen_cond_dep ' + dev-python/nose[${PYTHON_USEDEP}] + dev-python/cheetah3[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ') + app-text/pdfjam + app-text/pdftk + dev-texlive/texlive-latex + ) +" + +src_install() { + meson_src_install + python_fix_shebang "${ED}"/usr/bin/gtg + python_optimize +} + +src_test() { + nosetests -v || die +} |