pkgsrc-WIP-changes archive

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

fix "make test" for wip/py-hkdf (has no tests) using do-nothing "do-tests:" target



Module Name:	pkgsrc-wip
Committed By:	Matthias Ferdinand <mf+ml.pkgsrc-users%netzwerkagentursaarland.de@localhost>
Pushed By:	o4v-mf-pkgsrc
Date:		Sun Jun 27 22:56:20 2021 +0200
Changeset:	62e35bea138651c9420d4ed427274e7563a01865

Modified Files:
	py-hkdf/Makefile

Log Message:
fix "make test" for wip/py-hkdf (has no tests) using do-nothing "do-tests:" target

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=62e35bea138651c9420d4ed427274e7563a01865

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

diffstat:
 py-hkdf/Makefile | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diffs:
diff --git a/py-hkdf/Makefile b/py-hkdf/Makefile
index 2624aaf628..d474485ac0 100644
--- a/py-hkdf/Makefile
+++ b/py-hkdf/Makefile
@@ -10,14 +10,9 @@ HOMEPAGE=	https://github.com/casebeer/python-hkdf
 COMMENT=	HMAC-based Extract-and-Expand Key Derivation Function (HKDF; RFC 5869)
 LICENSE=	2-clause-bsd
 
-# if devel/py-nose  is not installed, it fails with
-#    don't know how to make generate-wrappers
-TEST_DEPENDS+=    ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-
-# DEPENDS correctly auto-installs, but it gives an unnecessary dependency 
-# while not testing
-#DEPENDS+=    ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+# This package does not have any tests.
+do-test:
+	${DO_NADA}
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index