pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/khal
Module Name: pkgsrc
Committed By: wiz
Date: Wed Aug 3 20:13:19 UTC 2016
Modified Files:
pkgsrc/time/khal: Makefile
Log Message:
Fix self-test target.
Some tests fail, see
https://github.com/pimutils/khal/issues/466
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/time/khal/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/time/khal/Makefile
diff -u pkgsrc/time/khal/Makefile:1.10 pkgsrc/time/khal/Makefile:1.11
--- pkgsrc/time/khal/Makefile:1.10 Thu Jul 28 14:00:17 2016
+++ pkgsrc/time/khal/Makefile Wed Aug 3 20:13:19 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/07/28 14:00:17 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2016/08/03 20:13:19 wiz Exp $
DISTNAME= khal-0.8.2
CATEGORIES= time net
@@ -22,8 +22,9 @@ DEPENDS+= ${PYPKGPREFIX}-vdirsyncer>=0.
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
-# test dependency, not packaged yet
-# freezegun
+# 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
@@ -36,6 +37,9 @@ REPLACE_PYTHON+= khal/*.py
post-install:
${INSTALL_DATA} ${WRKSRC}/khal.conf.sample ${DESTDIR}${PREFIX}/share/doc/khal
+do-test:
+ cd ${WRKSRC} && py.test-${PYVERSSUFFIX} tests
+
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
Home |
Main Index |
Thread Index |
Old Index