pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/todoman Fix test dependencies and remove then unn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/904039494959
branches:  trunk
changeset: 360650:904039494959
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 04 14:44:14 2017 +0000

description:
Fix test dependencies and remove then unnecessary patch.
No change to binary package.

diffstat:

 misc/todoman/Makefile                |  10 ++++++----
 misc/todoman/distinfo                |   3 +--
 misc/todoman/patches/patch-setup.cfg |  15 ---------------
 3 files changed, 7 insertions(+), 21 deletions(-)

diffs (64 lines):

diff -r 9527f5512245 -r 904039494959 misc/todoman/Makefile
--- a/misc/todoman/Makefile     Tue Apr 04 14:42:23 2017 +0000
+++ b/misc/todoman/Makefile     Tue Apr 04 14:44:14 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2017/04/04 11:45:24 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2017/04/04 14:44:14 wiz Exp $
 
 DISTNAME=      todoman-3.0.1
 CATEGORIES=    misc
@@ -21,12 +21,14 @@
 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}-flake8-[0-9]*:../../devel/py-flake8
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-flake8-import-order-[0-9]*:../../devel/py-flake8-import-order
 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
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 REPLACE_PYTHON+=       bin/todo
@@ -40,5 +42,5 @@
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
-# needed for "make test" with python-3.x
+# needed for "make test"
 #MAKE_ENV+=    LC_ALL=en_US.UTF-8
diff -r 9527f5512245 -r 904039494959 misc/todoman/distinfo
--- a/misc/todoman/distinfo     Tue Apr 04 14:42:23 2017 +0000
+++ b/misc/todoman/distinfo     Tue Apr 04 14:44:14 2017 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.7 2017/04/04 12:21:26 wiz Exp $
+$NetBSD: distinfo,v 1.8 2017/04/04 14:44:14 wiz Exp $
 
 SHA1 (todoman-3.0.1.tar.gz) = bceee304dc6850799f2b197a55ef4d42d851a046
 RMD160 (todoman-3.0.1.tar.gz) = d6bd77af6a98a9975694ca1d643d208a1a443736
 SHA512 (todoman-3.0.1.tar.gz) = fd17b3f3acac05f6ddbe82c4f663b203985a11b7d9d947752140511d4fe84a51e424a36363407647a7e8056601c68a63c5f6697b6be9c4cb587e3f14f823a92e
 Size (todoman-3.0.1.tar.gz) = 48056 bytes
-SHA1 (patch-setup.cfg) = ba14172ba392200128fa3520da54a04dacaed027
diff -r 9527f5512245 -r 904039494959 misc/todoman/patches/patch-setup.cfg
--- a/misc/todoman/patches/patch-setup.cfg      Tue Apr 04 14:42:23 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-setup.cfg,v 1.2 2017/04/04 12:21:26 wiz Exp $
-
-pkgsrc's pytest does not support these options.
-https://github.com/pimutils/todoman/issues/233
-
---- setup.cfg.orig     2017-03-26 21:03:46.000000000 +0000
-+++ setup.cfg
-@@ -3,7 +3,6 @@ test = pytest
- 
- [tool:pytest]
- testpaths = tests
--addopts = --cov=todoman --cov-report=term-missing
- 
- [egg_info]
- tag_build = 



Home | Main Index | Thread Index | Old Index