debian/0000755000000000000000000000000012227451222007165 5ustar debian/dirs0000644000000000000000000000001012226673403010046 0ustar usr/bin debian/docs0000644000000000000000000000003312226673403010042 0ustar NEWS README.markdown doc/* debian/copyright0000644000000000000000000000226512227132123011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: yokadi Source: http://yokadi.github.com/ Upstream-Contact: Aurélien Gâteau , Sébastien Renard Files: * Copyright: (C) 2008-2009, Yokadi developers License: GPL-3+ Files: debian/* Copyright: (C) 2009-2013, Kartik Mistry License: GPL-3+ License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. debian/patches/0000755000000000000000000000000012226673403010622 5ustar debian/patches/series0000644000000000000000000000001712226673403012035 0ustar fix_t_describe debian/patches/fix_t_describe0000644000000000000000000000256012226673403013521 0ustar Description: Patch to fix t_describe from upstream Author: Sébastien Renard Bug-Debian: http://bugs.debian.org/632593 Last-Update: 2011-07-05 --- yokadi-0.13.0.orig/src/yokadi/tui.py +++ yokadi-0.13.0/src/yokadi/tui.py @@ -44,6 +44,8 @@ def editText(text): """Edit text with external editor @return: newText""" (fd, name) = tempfile.mkstemp(suffix=".txt", prefix="yokadi-") + if text is None: + text = "" try: fl = file(name, "w") fl.write(text.encode(ENCODING, "replace")) --- /dev/null +++ yokadi-0.13.0/src/yokadi/tests/tuitestcase.py @@ -0,0 +1,17 @@ +# -*- coding: UTF-8 -*- +""" +TUI module test cases +@author: Aurélien Gâteau +@license: GPL v3 or later +""" + +import os +import unittest + +import tui + +class TuiTestCase(unittest.TestCase): + def testEditEmptyText(self): + os.environ["EDITOR"] = "/bin/true" + out = tui.editText(None) + self.assertEqual(out, "") --- yokadi-0.13.0.orig/src/yokadi/tests/tests.py +++ yokadi-0.13.0/src/yokadi/tests/tests.py @@ -28,7 +28,7 @@ from textlistrenderertestcase import Tex from icaltestcase import IcalTestCase from keywordtestcase import KeywordTestCase from cryptotestcase import CryptoTestCase - +from tuitestcase import TuiTestCase def main(): db.connectDatabase("", memoryDatabase=True) debian/compat0000644000000000000000000000000212226673403010371 0ustar 7 debian/control0000644000000000000000000000206612227131335010574 0ustar Source: yokadi Section: utils Priority: extra Maintainer: Kartik Mistry Build-Depends: debhelper (>= 7) Build-Depends-Indep: python (>= 2.6.6-3~), python-distutils-extra Standards-Version: 3.9.4 Homepage: http://yokadi.github.com/ Vcs-Git: git://anonscm.debian.org/collab-maint/yokadi.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/yokadi.git;a=summary Package: yokadi Architecture: all Depends: python (>= 2.6.6-3~), python-crypto, python-dateutil, python-sqlobject, sqlite3, ${misc:Depends}, ${python:Depends} Description: commandline todo system Yokadi is a command-line oriented, SQLite powered, TODO list tool. It helps you organize all the things you have to do and you must not forget. It aims to be simple, intuitive and very efficient. . In Yokadi you manage projects, which contains tasks. At the minimum, a task has a title, but it can also have a description, a due date, an urgency or keywords. Keywords can be any word that help you to find and sort your tasks. debian/source/0000755000000000000000000000000012226673403010473 5ustar debian/source/format0000644000000000000000000000001412226673403011701 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001020512227451222011035 0ustar yokadi (0.13.0-3) unstable; urgency=low * debian/control: + Updated Standards-Version to 3.9.4 + Added VCS-* URLs. * debian/copyright: + Updated to copyright-format 1.0 -- Kartik Mistry Wed, 16 Oct 2013 14:17:08 +0530 yokadi (0.13.0-2) unstable; urgency=low * debian/patches/fix_t_describe: + Added patch from upstream to fix t_describe (Closes: #632593) * debian/rules: + Install /usr/share/yokadi/version now + Used -k flag to keep upstream changelogs name intact + Added missing binary-indep, binary-arch targets + Migrated to dh_python2 * debian/control: + Removed dependency on python-support, bumped python build/depends + Updated Standards-Version to 3.9.2 (no changes needed) -- Kartik Mistry Tue, 05 Jul 2011 09:23:02 +0530 yokadi (0.13.0-1) unstable; urgency=low * New upstream release: + cryptographic support to encrypt tasks title and description. See README for more details. * debian/control: + Updated Standards-Version to 3.9.1 (no changes needed) + Depends on python-crypto * debian/copyright: + Updated as per latest DEP-5 specification -- Kartik Mistry Sat, 09 Apr 2011 17:21:32 +0530 yokadi (0.12.0-1) unstable; urgency=low * New upstream release * debian/control: + Updated Standards-Version to 3.9.0 (no changes needed) * debian/copyright: + Updated as per DEP-5 specification * debian/*.1: + Removed manpages, merged upstream -- Kartik Mistry Wed, 07 Jul 2010 19:53:48 +0530 yokadi (0.11.2-2) unstable; urgency=low * debian/yokadid.1: + Fixed spelling error in manpage * debian/rules: + Used *.1 to install manpages instead of giving separate manpage names * Converted package to new source format '3.0 (quilt)' -- Kartik Mistry Thu, 07 Jan 2010 10:07:59 +0530 yokadi (0.11.2-1) unstable; urgency=low * New upstream release -- Kartik Mistry Tue, 01 Dec 2009 18:42:00 +0530 yokadi (0.11.1-2) unstable; urgency=low * debian/rules: + Added --prefix=/usr and --install-layout=deb options to setup.py to fix installation for Python >= 2.6 (Closes: #557944) * debian/control: + Bumped python dependency to 2.5.4-1~ as needed -- Kartik Mistry Wed, 25 Nov 2009 23:11:46 +0530 yokadi (0.11.1-1) unstable; urgency=low * New upstream release: + Dropped patch 01_fix_bashism.diff, merged with upstream * Removed README.source * debian/rules: + update/* should go to /usr/share/yokadi/update/ instead of /usr/share/doc/yokadi/update + Removed patch system * debian/control: + Changes as we removed patch system + Added Depends on sqlite3, needed for update.py script * debian/README.Debian + Added for providing details about yokadi database update * debian/*.1: + Fixed groff warnings -- Kartik Mistry Wed, 18 Nov 2009 10:27:20 +0530 yokadi (0.10.0-3) unstable; urgency=low * debian/patches/01_fix_bashism.diff: + Added patch to fix bashism in xyokadi script, Fixed in upstream (Closes: #547766) * debian/control: + Added Build-Depends on quilt + Wrapped long description to 80 chars instead of 60 chars * debian/rules: + Changed for quilt patch system * Added debian/README.source file * debian/*.1: + Wrapped them to 80 chars -- Kartik Mistry Tue, 22 Sep 2009 14:58:55 +0530 yokadi (0.10.0-2) unstable; urgency=low * debian/control: + Lower dependency on Python to >= 2.5.2 to make Lenny backport easy, Thanks to Sven Mueller + Updated to Standards-Version 3.8.3 (no changes needed) * debian/watch: + Corrected from Ubuntu package * debian/rules: + Don't install stuffs in /usr/share/yokadi/ + Don't compress README.markdown -- Kartik Mistry Fri, 21 Aug 2009 09:32:58 +0530 yokadi (0.10.0-1) unstable; urgency=low * Initial release (Closes: #536272) * debian/yokadi.1, xyokadi.1, yokadid.1: + Added manpages for binaries -- Kartik Mistry Wed, 15 Jul 2009 16:05:47 +0530 debian/README.Debian0000644000000000000000000000044112226673403011233 0ustar You need to upgrade your yokadi.db after upgrading package. Please use script /usr/share/doc/yokadi/update/update.py for updating database and read /usr/share/doc/yokadi/update/README.markdown for more details. -- Kartik Mistry Wed, 11 Nov 2009 10:01:01 +0530 debian/watch0000644000000000000000000000012012226673403010215 0ustar version=3 http://yokadi.github.com/download.html download/yokadi-(.*)\.tar\.bz2 debian/rules0000755000000000000000000000201012226673403010244 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 build: build-arch: build build-indep: build clean: dh_testdir dh_testroot rm -rf build dh_clean install: dh_testdir dh_testroot dh_prep dh_installdirs python setup.py install --root=$(CURDIR)/debian/yokadi \ --prefix=/usr \ --install-layout=deb # Don't install stuffs in /usr/share/yokadi/doc and others rm -rf $(CURDIR)/debian/yokadi/usr/share/yokadi/doc \ $(CURDIR)/debian/yokadi/usr/share/yokadi/NEWS \ $(CURDIR)/debian/yokadi/usr/share/yokadi/README.markdown \ $(CURDIR)/debian/yokadi/usr/share/yokadi/LICENSE binary-arch: binary-indep: install dh_testdir dh_testroot dh_installchangelogs -k NEWS dh_installdocs dh_installman man/*.1 dh_python2 dh_link dh_compress --exclude=README.markdown dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build-indep build-arch build clean binary-indep binary-arch binary install configure