summaryrefslogtreecommitdiff
path: root/app-office/taskcoach
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-office/taskcoach
reinit the tree, so we can have metadata
Diffstat (limited to 'app-office/taskcoach')
-rw-r--r--app-office/taskcoach/Manifest7
-rw-r--r--app-office/taskcoach/files/taskcoach-1.4.2-fix-desktop-file.patch23
-rw-r--r--app-office/taskcoach/files/taskcoach-1.4.3-version-check.patch25
-rw-r--r--app-office/taskcoach/metadata.xml7
-rw-r--r--app-office/taskcoach/taskcoach-1.4.3-r1.ebuild50
5 files changed, 112 insertions, 0 deletions
diff --git a/app-office/taskcoach/Manifest b/app-office/taskcoach/Manifest
new file mode 100644
index 000000000000..8cdcd3eb7edb
--- /dev/null
+++ b/app-office/taskcoach/Manifest
@@ -0,0 +1,7 @@
+AUX taskcoach-1.4.2-fix-desktop-file.patch 825 SHA256 80aca39710219253e6ffb4c49bd9f0f75526f49a8ef6f0d696bfae9db194ebcb SHA512 f34353c8d5b6142e4d5cba973b3d2f7bb7d76f7bd3384ffa6157f3b0bf1194d9071736f8a1b20526999c86602c6343461d16be4cb0466ef2597342ebbd2645f7 WHIRLPOOL c0d28ce7629c6cd13b4ef970d8039cfa5d5b1e3300fc5679eccbd29ae33db95d65b2de4e9e75a0e4989a5562711750947ddf0b9763ba19f50dd84e278dd635fb
+AUX taskcoach-1.4.3-version-check.patch 771 SHA256 d1da009b6fa15581b8021b027a7ba6fd35628df5ba866b70bd24f57d30af2c3f SHA512 018a9c1b678e07d1f7433e28b631917c551da4e65a5544a4cc1b1824cbb14d7c207361c6c5844c30686852d2f295fc1b6dd15095a53f371b20ac1d183e45d2cc WHIRLPOOL 98f9a56b346501c29586cc6c30ab6ed3fab5ecdeae8da71d601e37588be2dad48b3f8f5434f3872553ca102d46f74c3e6745be32798986bdeaac5156d2eda06a
+DIST TaskCoach-1.4.3.tar.gz 2927984 SHA256 a2885ffefc0d5b55a0cbe47ad1a2d57cde52595cbba786ebf661bd2435071a2b SHA512 ae449ae66d29ec884de680179853d5e39814a4e7b10d8e5ca2066f1c85fda328470852a10600e74ade1e4a52c5cdc8f749eceaf4f861f8852c2f47d654e9fc88 WHIRLPOOL 6ed69b2f478d98129d7d7638a9db074f2439373d2d63b85adfcf3a64fbce254ef1f734197e9d21f3e3babeb7f21924bbc8a74aa27250f3de63871aef9803b72c
+EBUILD taskcoach-1.4.3-r1.ebuild 1124 SHA256 6fc8867de432f1fb76efe556506c0f71d28cf23f93018aa427986aaede0900fd SHA512 3680ac5cef1413a1fd73f893268f890348f530f4c4ca640c8cfdc52607a26cc106057a717baf5a5e0af40511e555bdc73d224a229b3965db39fafe7bc803e6bd WHIRLPOOL fa8fc7aa522c1dcf53393573e444e3ad32044c8b942240b8026b4e547922e1ccb460f5d852fba52b9724fdaeb982a1c52fb4df2a8d2647dabcb441b8db41d2f8
+MISC ChangeLog 4965 SHA256 6ba3a7e8bfb997318e1dbd0234d16a13c25ac2c61035ca5da91aa3dff1a914ab SHA512 094510e7623755badff66ba9a75ceadb5baf9a17d58f866bb17f51f865064ce4aaead0d2f84a27e8dba6b8628395217cd94452f90b29fe4b19e92e4c4555cb0f WHIRLPOOL 9387125702139acc9a30bc9da9346b55db35392da415fe044f70614905a2391fef7347cbc0831abc359d6bac9f74a81ce1e3c069bdf7a021d5c08a65884b8bb5
+MISC ChangeLog-2015 15681 SHA256 8e79ba79bd620245f262581447bf97b5ce9c17f550f247d9e4a325dba3164bc4 SHA512 ebb892646bda8684c6c997ee6081551531851d63d5f12290e6f49346d2e23b1b5a510b38a8e4c9d165ed5e1dd01fa6862138fa1e22f6437dfcc35757a339666f WHIRLPOOL fc45b5405d416e17d259ead8860077d5bf46c4d1a6f0966d08f47e72426b972f6b3de28b43ec891cfcfc25ec08beba81967a569cb5a66e03b7a66ad018d3aff5
+MISC metadata.xml 218 SHA256 233ae2553a5e25ce2861453db29d874cb67eeee50dfdb5d7615f86001cd7ce53 SHA512 3d4294255ecceb5a75271241310a79460d28f3d12ecfbe97f7c11948a8da7be5ccbf38931506a1614cf8d1cd8af4495ab757d2167ce6dc18d2dda825d82645fa WHIRLPOOL 7d1abfe80d69ad6094cb35825283e8c2fb11b3119eca02cd1926c225367a32178957c41aa7c1d2afd730287d15d0ce9ed6ae84a8555b3b41c91a70b4dec64a45
diff --git a/app-office/taskcoach/files/taskcoach-1.4.2-fix-desktop-file.patch b/app-office/taskcoach/files/taskcoach-1.4.2-fix-desktop-file.patch
new file mode 100644
index 000000000000..9f57beb8d054
--- /dev/null
+++ b/app-office/taskcoach/files/taskcoach-1.4.2-fix-desktop-file.patch
@@ -0,0 +1,23 @@
+From dd39524692896995daabc69c7090ecf66e64858e Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sun, 10 Jan 2016 01:34:13 +0100
+Subject: [PATCH] Fix .desktop file
+
+error: value "task;todo;reminder" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
+---
+ build.in/linux_common/taskcoach.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build.in/linux_common/taskcoach.desktop b/build.in/linux_common/taskcoach.desktop
+index 9382b0b..b1a4bd1 100644
+--- a/build.in/linux_common/taskcoach.desktop
++++ b/build.in/linux_common/taskcoach.desktop
+@@ -7,4 +7,4 @@ Icon=taskcoach
+ Terminal=false
+ Type=Application
+ Categories=Office;Calendar;
+-Keywords=task;todo;reminder
++Keywords=task;todo;reminder;
+--
+2.7.0
+
diff --git a/app-office/taskcoach/files/taskcoach-1.4.3-version-check.patch b/app-office/taskcoach/files/taskcoach-1.4.3-version-check.patch
new file mode 100644
index 000000000000..f869c9930b25
--- /dev/null
+++ b/app-office/taskcoach/files/taskcoach-1.4.3-version-check.patch
@@ -0,0 +1,25 @@
+From 8967c58a435ad8c1db5599edd044de2902399459 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Fri, 24 Jun 2016 15:54:24 +0200
+Subject: [PATCH] Disable check for new version by default
+
+---
+ taskcoachlib/config/defaults.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/taskcoachlib/config/defaults.py b/taskcoachlib/config/defaults.py
+index 77a3809..5025af3 100644
+--- a/taskcoachlib/config/defaults.py
++++ b/taskcoachlib/config/defaults.py
+@@ -538,7 +538,7 @@ defaults = {
+ 'pythonfrozen': '', # Idem
+ 'current': meta.data.version,
+ 'notified': meta.data.version,
+- 'notify': 'True'
++ 'notify': 'False'
+ },
+ 'behavior': {
+ 'markparentcompletedwhenallchildrencompleted': 'False',
+--
+2.9.0
+
diff --git a/app-office/taskcoach/metadata.xml b/app-office/taskcoach/metadata.xml
new file mode 100644
index 000000000000..d519527e0775
--- /dev/null
+++ b/app-office/taskcoach/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="sourceforge">taskcoach</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-office/taskcoach/taskcoach-1.4.3-r1.ebuild b/app-office/taskcoach/taskcoach-1.4.3-r1.ebuild
new file mode 100644
index 000000000000..647187508834
--- /dev/null
+++ b/app-office/taskcoach/taskcoach-1.4.3-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils versionator
+
+MY_PN="TaskCoach"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Simple personal tasks and todo lists manager"
+HOMEPAGE="http://www.taskcoach.org https://pypi.python.org/pypi/TaskCoach"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="libnotify"
+
+DEPEND="
+ || (
+ >=dev-python/wxpython-2.8.9.2:2.8[${PYTHON_USEDEP}]
+ dev-python/wxpython:3.0[${PYTHON_USEDEP}]
+ )
+ || (
+ >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
+ >=dev-python/twisted-core-10.0
+ )
+"
+RDEPEND="${DEPEND}
+ x11-libs/libXScrnSaver
+ libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( CHANGES.txt README.txt )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.4.2-fix-desktop-file.patch
+ epatch "${FILESDIR}"/${PN}-1.4.3-version-check.patch
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ doicon "icons.in/${PN}.png"
+ make_desktop_entry ${PN}.py "Task Coach" ${PN} Office
+}