0.10.5 ====== * FIX support for tzlocal >= 4.0 * FIX ability to show an event's calendar in ikhal * FIX an error logging for certain broken icalendar events that made ikhal crash after editing those events * NEW Add widget to interactive event editor that allows adding attendees as comma separated list of email addresses * FIX event creation for events after the second next DST transition * NEW Add support for Python 3.10 * CHANGE `search`, `at`, and `list` don't print "No events" anymore if no matching events are found * NEW Add option to use `multiple` color only when not all calendar colors can be displayed. * CHANGE we are not shipping a zsh completion file anymore but provide documentation on how to generate completion files for bash, zsh, and fish (see the install section of the documentation)
55 lines
2.3 KiB
Makefile
55 lines
2.3 KiB
Makefile
# $NetBSD: Makefile,v 1.37 2022/07/12 06:01:26 adam Exp $
|
|
|
|
DISTNAME= khal-0.10.5
|
|
CATEGORIES= time net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=k/khal/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/geier/khal
|
|
COMMENT= CLI calendar application built around CalDAV
|
|
LICENSE= mit
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
|
DEPENDS+= ${PYPKGPREFIX}-atomicwrites>=0.1.7:../../devel/py-atomicwrites
|
|
DEPENDS+= ${PYPKGPREFIX}-click>=3.2:../../devel/py-click
|
|
DEPENDS+= ${PYPKGPREFIX}-click-log>=0.2.0:../../devel/py-click-log
|
|
DEPENDS+= ${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
|
|
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
|
|
DEPENDS+= ${PYPKGPREFIX}-icalendar>=4.0.3:../../time/py-icalendar
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
|
|
DEPENDS+= ${PYPKGPREFIX}-tzlocal>=1.0:../../time/py-tzlocal
|
|
DEPENDS+= ${PYPKGPREFIX}-urwid>=1.3.0:../../devel/py-urwid
|
|
DEPENDS+= ${PYPKGPREFIX}-xdg>=0.17:../../devel/py-xdg
|
|
# not needed, but recommended, so let's just depend on it
|
|
DEPENDS+= ${PYPKGPREFIX}-setproctitle-[0-9]*:../../sysutils/py-setproctitle
|
|
# for the man page
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-newsfeed-[0-9]*:../../textproc/py-sphinxcontrib-newsfeed
|
|
# 0.9.10: one test failure https://github.com/pimutils/khal/issues/825
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-vdirsyncer-[0-9]*:../../time/py-vdirsyncer
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 # not supported as of 0.8.0
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
INSTALLATION_DIRS= share/doc/khal ${PKGMANDIR}/man1
|
|
REPLACE_PYTHON+= khal/*/*.py
|
|
REPLACE_PYTHON+= khal/*.py
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} PYTHONPATH=${WRKSRC} \
|
|
sphinx-build-${PYVERSSUFFIX} -b man -d build/doctrees source build/man
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/khal.conf.sample ${DESTDIR}${PREFIX}/share/doc/khal
|
|
${INSTALL_MAN} ${WRKSRC}/doc/build/man/khal.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|