pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/todoman Updated todoman to 3.0.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f24dfacc6ee7
branches:  trunk
changeset: 360600:f24dfacc6ee7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 04 11:45:24 2017 +0000

description:
Updated todoman to 3.0.1.

v3.0.0
------

New features
~~~~~~~~~~~~

* Add a ``today`` setting and flag to exclude todos that start in the future.
* Add the ``--humanize`` to show friendlier date times (eg: ``in 3 hours``).
* Drop ``--urgent`` and introduced ``--priority``, which allows fine-filtering
  by priority.
* Add support for times in due dates, new ``time_format`` setting.
* Use the system's date format as a default.
* Add list selector to the interactive editor.
* Add ``--start=[before|after] [DATE]`` option for ``list`` to only show
  todos starting before/after given date.
* Add flag "--done-only" to todo list. Displays only completed tasks.
* Make the output of move, delete, copy and flush consistent.
* Porcelain now outputs proper JSON, rather than one-JSON-per-line.
* Increment sequence number upon edits.
* Print a descriptive message when no lists are found.
* Add full support for locations.

Packaging changes
~~~~~~~~~~~~~~~~~

* New runtime dependency: ``tabulate``.
* New supported python version: ``pypy3``.
* Include an alternative [much faster] entry point (aka "bin") which we
  recommend all downstream packagers use. Please see the :ref:`Notes for
  Packagers <notes-for-packagers>` documentation for further details.

diffstat:

 misc/todoman/Makefile                |  17 +++++++++++++----
 misc/todoman/PLIST                   |  11 +++++++----
 misc/todoman/distinfo                |  11 ++++++-----
 misc/todoman/patches/patch-setup.cfg |  14 ++++++++++++++
 4 files changed, 40 insertions(+), 13 deletions(-)

diffs (108 lines):

diff -r a771230defa9 -r f24dfacc6ee7 misc/todoman/Makefile
--- a/misc/todoman/Makefile     Tue Apr 04 11:34:30 2017 +0000
+++ b/misc/todoman/Makefile     Tue Apr 04 11:45:24 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2017/03/24 16:57:36 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2017/04/04 11:45:24 wiz Exp $
 
-DISTNAME=      todoman-2.1.0
+DISTNAME=      todoman-3.0.1
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/todoman/}
 
@@ -9,13 +9,15 @@
 COMMENT=       Simple CalDav-based todo manager
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-ansi-[0-9]*:../../misc/py-ansi
 DEPENDS+=      ${PYPKGPREFIX}-atomicwrites-[0-9]*:../../devel/py-atomicwrites
+DEPENDS+=      ${PYPKGPREFIX}-click>=6.0:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-click-log-[0-9]*:../../devel/py-click-log
 DEPENDS+=      ${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
 DEPENDS+=      ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
+DEPENDS+=      ${PYPKGPREFIX}-humanize-[0-9]*:../../textproc/py-humanize
 DEPENDS+=      ${PYPKGPREFIX}-icalendar-[0-9]*:../../time/py-icalendar
 DEPENDS+=      ${PYPKGPREFIX}-parsedatetime-[0-9]*:../../time/py-parsedatetime
-DEPENDS+=      ${PYPKGPREFIX}-click>=6.0:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-tabulate-[0-9]*:../../textproc/py-tabulate
 DEPENDS+=      ${PYPKGPREFIX}-urwid-[0-9]*:../../devel/py-urwid
 DEPENDS+=      ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
@@ -27,8 +29,15 @@
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
+REPLACE_PYTHON+=       bin/todo
 USE_LANGUAGES= # none
 
+# overwrite automatically generated file with recommended one, per
+# "Notes for Packagers" in documentation
+post-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/todo ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
 # needed for "make test" with python-3.x
diff -r a771230defa9 -r f24dfacc6ee7 misc/todoman/PLIST
--- a/misc/todoman/PLIST        Tue Apr 04 11:34:30 2017 +0000
+++ b/misc/todoman/PLIST        Tue Apr 04 11:45:24 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/02/05 19:33:58 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/04/04 11:45:24 wiz Exp $
 bin/todo
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -19,12 +19,15 @@
 ${PYSITELIB}/todoman/configuration.pyc
 ${PYSITELIB}/todoman/configuration.pyo
 ${PYSITELIB}/todoman/confspec.ini
+${PYSITELIB}/todoman/formatters.py
+${PYSITELIB}/todoman/formatters.pyc
+${PYSITELIB}/todoman/formatters.pyo
+${PYSITELIB}/todoman/interactive.py
+${PYSITELIB}/todoman/interactive.pyc
+${PYSITELIB}/todoman/interactive.pyo
 ${PYSITELIB}/todoman/model.py
 ${PYSITELIB}/todoman/model.pyc
 ${PYSITELIB}/todoman/model.pyo
-${PYSITELIB}/todoman/ui.py
-${PYSITELIB}/todoman/ui.pyc
-${PYSITELIB}/todoman/ui.pyo
 ${PYSITELIB}/todoman/version.py
 ${PYSITELIB}/todoman/version.pyc
 ${PYSITELIB}/todoman/version.pyo
diff -r a771230defa9 -r f24dfacc6ee7 misc/todoman/distinfo
--- a/misc/todoman/distinfo     Tue Apr 04 11:34:30 2017 +0000
+++ b/misc/todoman/distinfo     Tue Apr 04 11:45:24 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2017/02/27 10:24:11 wiz Exp $
+$NetBSD: distinfo,v 1.6 2017/04/04 11:45:24 wiz Exp $
 
-SHA1 (todoman-2.1.0.tar.gz) = 18e49b583883e138128b95741fc5e993b776365c
-RMD160 (todoman-2.1.0.tar.gz) = 42a8860af0da4b567bd003eba5f858f55e681a00
-SHA512 (todoman-2.1.0.tar.gz) = 4fb95ae8c5f397f421490c3e5cabd7e048efc0c6387b7d914c4cf26541503dd8ad2cd829aed61d115e45cff8203e6ed9fff741b6dd59e65dc9fc95b972613986
-Size (todoman-2.1.0.tar.gz) = 34246 bytes
+SHA1 (todoman-3.0.1.tar.gz) = bceee304dc6850799f2b197a55ef4d42d851a046
+RMD160 (todoman-3.0.1.tar.gz) = d6bd77af6a98a9975694ca1d643d208a1a443736
+SHA512 (todoman-3.0.1.tar.gz) = fd17b3f3acac05f6ddbe82c4f663b203985a11b7d9d947752140511d4fe84a51e424a36363407647a7e8056601c68a63c5f6697b6be9c4cb587e3f14f823a92e
+Size (todoman-3.0.1.tar.gz) = 48056 bytes
+SHA1 (patch-setup.cfg) = 091c8adf683abb36ea307422820586e2b0bdbb68
diff -r a771230defa9 -r f24dfacc6ee7 misc/todoman/patches/patch-setup.cfg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/todoman/patches/patch-setup.cfg      Tue Apr 04 11:45:24 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.cfg,v 1.1 2017/04/04 11:45:24 wiz Exp $
+
+pkgsrc's pytest does not support these options.
+
+--- setup.cfg.orig     2017-03-26 21:03:46.000000000 +0000
++++ setup.cfg
+@@ -3,7 +3,6 @@ test = pytest
+ 
+ [tool:pytest]
+ testpaths = tests
+-addopts = --cov=todoman --cov-report=term-missing
+ 
+ [egg_info]
+ tag_build = 



Home | Main Index | Thread Index | Old Index