pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/todoman



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr  4 11:45:24 UTC 2017

Modified Files:
        pkgsrc/misc/todoman: Makefile PLIST distinfo
Added Files:
        pkgsrc/misc/todoman/patches: patch-setup.cfg

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/misc/todoman/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/todoman/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/misc/todoman/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/todoman/patches/patch-setup.cfg

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/todoman/Makefile
diff -u pkgsrc/misc/todoman/Makefile:1.7 pkgsrc/misc/todoman/Makefile:1.8
--- pkgsrc/misc/todoman/Makefile:1.7    Fri Mar 24 16:57:36 2017
+++ pkgsrc/misc/todoman/Makefile        Tue Apr  4 11:45:24 2017
@@ -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 @@ HOMEPAGE=     https://github.com/pimutils/to
 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-[0-9
 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

Index: pkgsrc/misc/todoman/PLIST
diff -u pkgsrc/misc/todoman/PLIST:1.3 pkgsrc/misc/todoman/PLIST:1.4
--- pkgsrc/misc/todoman/PLIST:1.3       Sun Feb  5 19:33:58 2017
+++ pkgsrc/misc/todoman/PLIST   Tue Apr  4 11:45:24 2017
@@ -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.py
 ${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

Index: pkgsrc/misc/todoman/distinfo
diff -u pkgsrc/misc/todoman/distinfo:1.5 pkgsrc/misc/todoman/distinfo:1.6
--- pkgsrc/misc/todoman/distinfo:1.5    Mon Feb 27 10:24:11 2017
+++ pkgsrc/misc/todoman/distinfo        Tue Apr  4 11:45:24 2017
@@ -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

Added files:

Index: pkgsrc/misc/todoman/patches/patch-setup.cfg
diff -u /dev/null pkgsrc/misc/todoman/patches/patch-setup.cfg:1.1
--- /dev/null   Tue Apr  4 11:45:25 2017
+++ pkgsrc/misc/todoman/patches/patch-setup.cfg Tue Apr  4 11:45:24 2017
@@ -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