diff options
author | wiz <wiz@pkgsrc.org> | 2017-04-04 11:45:24 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-04-04 11:45:24 +0000 |
commit | c9212fb961d5e9bd5d9f0e829e9b25783ac065e9 (patch) | |
tree | 906546483daedd6aa049a1c0d50b6e5c48e01084 /misc/todoman | |
parent | 86d59030ddb0e606c8b56a3f23468596231de5e8 (diff) | |
download | pkgsrc-c9212fb961d5e9bd5d9f0e829e9b25783ac065e9.tar.gz |
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 (limited to 'misc/todoman')
-rw-r--r-- | misc/todoman/Makefile | 17 | ||||
-rw-r--r-- | misc/todoman/PLIST | 11 | ||||
-rw-r--r-- | misc/todoman/distinfo | 11 | ||||
-rw-r--r-- | misc/todoman/patches/patch-setup.cfg | 14 |
4 files changed, 40 insertions, 13 deletions
diff --git a/misc/todoman/Makefile b/misc/todoman/Makefile index 82efa087764..5ee2668a09a 100644 --- a/misc/todoman/Makefile +++ b/misc/todoman/Makefile @@ -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/todoman 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]*:../../devel/py-test 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 --git a/misc/todoman/PLIST b/misc/todoman/PLIST index fae4aa5f4c4..e4c1a3b3587 100644 --- a/misc/todoman/PLIST +++ b/misc/todoman/PLIST @@ -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 diff --git a/misc/todoman/distinfo b/misc/todoman/distinfo index fb53ea5fd8c..8fd4a4e31ee 100644 --- a/misc/todoman/distinfo +++ b/misc/todoman/distinfo @@ -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 --git a/misc/todoman/patches/patch-setup.cfg b/misc/todoman/patches/patch-setup.cfg new file mode 100644 index 00000000000..b0aa8e389a1 --- /dev/null +++ b/misc/todoman/patches/patch-setup.cfg @@ -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 = |