pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/khard



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Apr  7 07:00:20 UTC 2021

Modified Files:
        pkgsrc/misc/khard: Makefile

Log Message:
khard: needs setuptools_scm to build; invoke sphinx directly


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/misc/khard/Makefile

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

Modified files:

Index: pkgsrc/misc/khard/Makefile
diff -u pkgsrc/misc/khard/Makefile:1.27 pkgsrc/misc/khard/Makefile:1.28
--- pkgsrc/misc/khard/Makefile:1.27     Fri Dec  4 20:45:30 2020
+++ pkgsrc/misc/khard/Makefile  Wed Apr  7 07:00:20 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2020/12/04 20:45:30 nia Exp $
+# $NetBSD: Makefile,v 1.28 2021/04/07 07:00:20 adam Exp $
 
 DISTNAME=      khard-0.17.0
 PKGREVISION=   1
@@ -10,6 +10,7 @@ HOMEPAGE=     https://github.com/scheibler/k
 COMMENT=       CLI contacts application built around CardDAV
 LICENSE=       gnu-gpl-v3
 
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-atomicwrites-[0-9]*:../../devel/py-atomicwrites
 DEPENDS+=      ${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
 DEPENDS+=      ${PYPKGPREFIX}-ruamel-yaml-[0-9]*:../../devel/py-ruamel-yaml
@@ -23,10 +24,9 @@ PYTHON_VERSIONS_INCOMPATIBLE=        27 # does 
 
 INSTALLATION_DIRS=     share/examples/khard ${PKGMANDIR}/man1
 REPLACE_PYTHON+=       */*.py
-USE_TOOLS+=            gmake
 
 pre-build:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -C doc SPHINXBUILD=sphinx-build-${PYVERSSUFFIX} SPHINXAPIDOC=sphinx-apidoc-${PYVERSSUFFIX} man
+       cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} sphinx-build-${PYVERSSUFFIX} -M man source build
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/doc/source/examples/khard.conf.example ${DESTDIR}${PREFIX}/share/examples/khard



Home | Main Index | Thread Index | Old Index