diff options
author | Mart Raudsepp <leio@gentoo.org> | 2020-07-08 08:56:24 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2020-07-08 08:58:34 +0300 |
commit | 7a44f55f3b38aff1f63206c39570a2c9ad0b8e93 (patch) | |
tree | a19048ea6235f80da110c602cfe386083a392190 /app-office | |
parent | app-office/gtg: bump to 0.4.0 (diff) | |
download | gentoo-7a44f55f3b38aff1f63206c39570a2c9ad0b8e93.tar.gz gentoo-7a44f55f3b38aff1f63206c39570a2c9ad0b8e93.tar.bz2 gentoo-7a44f55f3b38aff1f63206c39570a2c9ad0b8e93.zip |
app-office/gtg: remove old
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/gtg/Manifest | 1 | ||||
-rw-r--r-- | app-office/gtg/files/fix-help-open.patch | 43 | ||||
-rw-r--r-- | app-office/gtg/gtg-0.4.0_pre20200613.ebuild | 62 |
3 files changed, 0 insertions, 106 deletions
diff --git a/app-office/gtg/Manifest b/app-office/gtg/Manifest index 982ff10fe507..b3bc648952f6 100644 --- a/app-office/gtg/Manifest +++ b/app-office/gtg/Manifest @@ -1,2 +1 @@ DIST gtg-0.4.0.tar.xz 3744752 BLAKE2B fdeabe32135dea24ac6113a486650b66b5143aa745117029b03e26e1bb3f2e8629623b26efdae0c8217741a2b4964b5dc060f0e450c05c950e21ea360f3f3823 SHA512 f2677f6bbc0b6cb21b7882a2bd0342b4919581c12e4aa43c13b5dbc48740418c512a41619584d0d75bfa63ebc4a5460abfbc27360e1817c8832cbecf3c34a60e -DIST gtg-0.4.0_pre20200613.tar.gz 4827071 BLAKE2B 80515f064b4a034066a86c1b63dcb4e2510e49493b067991b7135a3914b1d75ebfc7f18132d6db81e55fdec34a0225c3147b55dc1e0c891540b2b895f3768f2d SHA512 8d4c9460693f7a913c224bd22aacec5b7db67faa5e74e8575fe99d2e792e8f95f6480e1d0ecc3ac77b0533403b8baa41ece315bd14782fb3c783315aa3d7a5fb diff --git a/app-office/gtg/files/fix-help-open.patch b/app-office/gtg/files/fix-help-open.patch deleted file mode 100644 index a66d8e95bdd9..000000000000 --- a/app-office/gtg/files/fix-help-open.patch +++ /dev/null @@ -1,43 +0,0 @@ -From f8f4cbf0beda0e82388748c916c6152996b12a8e Mon Sep 17 00:00:00 2001 -From: Mart Raudsepp <leio@gentoo.org> -Date: Sat, 20 Jun 2020 01:06:04 +0300 -Subject: [PATCH] Fix opening of the help files - -webbrowser python module just opens things in the browser for me, which -doesn't understand what a "help:gtg" is and routes it back to external -program dialog if lucky. -Use Gtk.show_uri instead, which will properly open it in help handler (yelp). - -I believe we should be using Gtk.show_uri instead of webbrowser in other -places as well, but that's something for a different release. ---- - GTG/gtk/application.py | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/GTG/gtk/application.py b/GTG/gtk/application.py -index 39a8a5b3..e8091973 100644 ---- a/GTG/gtk/application.py -+++ b/GTG/gtk/application.py -@@ -28,7 +28,6 @@ from GTG.gtk.browser.main_window import MainWindow - from GTG.gtk.editor.editor import TaskEditor - from GTG.gtk.preferences import Preferences - from GTG.gtk.plugins import PluginsDialog --from webbrowser import open as openurl - from GTG.core import clipboard - from GTG.core.plugins.engine import PluginEngine - from GTG.core.plugins.api import PluginAPI -@@ -251,7 +250,10 @@ class Application(Gtk.Application): - def open_help(self, action, param): - """Open help callback.""" - -- openurl("help:gtg") -+ try: -+ Gtk.show_uri(None, "help:gtg", Gdk.CURRENT_TIME) -+ except GLib.Error: -+ log.error('Could not open help') - - def open_backends_manager(self, action, param): - """Callback to open the backends manager dialog.""" --- -2.20.1 - diff --git a/app-office/gtg/gtg-0.4.0_pre20200613.ebuild b/app-office/gtg/gtg-0.4.0_pre20200613.ebuild deleted file mode 100644 index d9f3109d2424..000000000000 --- a/app-office/gtg/gtg-0.4.0_pre20200613.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# 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/" -COMMIT="abe2a9110dd0fc6a46f2d095013972877ea67d78" -SRC_URI="https://github.com/getting-things-gnome/gtg/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/gtg-${COMMIT}" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gnome-keyring 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] - gnome-keyring? ( gnome-base/libgnome-keyring[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 - ) -" - -PATCHES=( "${FILESDIR}"/fix-help-open.patch ) - -src_install() { - meson_src_install - python_fix_shebang "${ED}"/usr/bin/gtg - python_optimize -} - -src_test() { - nosetests -v || die -} |