pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/khal khal: update to 0.9.8nb1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0db009adf7ab
branches: trunk
changeset: 378771:0db009adf7ab
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Apr 14 20:32:06 2018 +0000
description:
khal: update to 0.9.8nb1.
Build and install the man page.
diffstat:
time/khal/Makefile | 20 ++++++++++----------
time/khal/PLIST | 3 ++-
2 files changed, 12 insertions(+), 11 deletions(-)
diffs (63 lines):
diff -r 3bb80b63b06f -r 0db009adf7ab time/khal/Makefile
--- a/time/khal/Makefile Sat Apr 14 20:22:01 2018 +0000
+++ b/time/khal/Makefile Sat Apr 14 20:32:06 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2017/10/05 22:39:05 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2018/04/14 20:32:06 wiz Exp $
DISTNAME= khal-0.9.8
+PKGREVISION= 1
CATEGORIES= time net
MASTER_SITES= ${MASTER_SITE_PYPI:=k/khal/}
@@ -24,27 +25,26 @@
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, needs khal installed though, see
-# https://github.com/pimutils/khal/issues/598
-#USE_TOOLS+= gmake
-#BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-#BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-newsfeed-[0-9]*:../../textproc/py-sphinxcontrib-newsfeed
+# for the man page
+USE_TOOLS+= gmake
+BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-newsfeed-[0-9]*:../../textproc/py-sphinxcontrib-newsfeed
# TEST_DEPENDS
BUILD_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
PYTHON_VERSIONS_INCOMPATIBLE= 27 # not supported as of 0.8.0
-INSTALLATION_DIRS= share/doc/khal
+INSTALLATION_DIRS= share/doc/khal ${PKGMANDIR}/man1
REPLACE_PYTHON+= khal/*/*.py
REPLACE_PYTHON+= khal/*.py
-# man page generation, see above
-#post-build:
-# cd ${WRKSRC}/doc && gmake SPHINXBUILD=sphinx-build${PYVERSSUFFIX} man
+post-build:
+ cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} PYTHONPATH=${WRKSRC} ${GMAKE} man SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
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} && py.test-${PYVERSSUFFIX} tests
diff -r 3bb80b63b06f -r 0db009adf7ab time/khal/PLIST
--- a/time/khal/PLIST Sat Apr 14 20:22:01 2018 +0000
+++ b/time/khal/PLIST Sat Apr 14 20:32:06 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2017/04/04 13:10:58 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2018/04/14 20:32:06 wiz Exp $
bin/ikhal
bin/khal
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -93,4 +93,5 @@
${PYSITELIB}/khal/version.py
${PYSITELIB}/khal/version.pyc
${PYSITELIB}/khal/version.pyo
+man/man1/khal.1
share/doc/khal/khal.conf.sample
Home |
Main Index |
Thread Index |
Old Index