pkgsrc/misc/todoman/Makefile
wiz 83d8c65800 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.
2017-04-04 11:45:24 +00:00

44 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2017/04/04 11:45:24 wiz Exp $
DISTNAME= todoman-3.0.1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_PYPI:=t/todoman/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pimutils/todoman
COMMENT= Simple CalDav-based todo manager
LICENSE= mit
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}-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
# TEST_DEPENDS
BUILD_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
BUILD_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
BUILD_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
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
#MAKE_ENV+= LC_ALL=en_US.UTF-8