svn commit: r480150 - head/math/py-secp256k1

Yuri Victorovich yuri at FreeBSD.org
Thu Sep 20 01:23:00 UTC 2018


Author: yuri
Date: Thu Sep 20 01:22:59 2018
New Revision: 480150
URL: https://svnweb.freebsd.org/changeset/ports/480150

Log:
  math/py-secp256k1: Add the missing do-test target
  
  Approved by:	portmgr blanket

Modified:
  head/math/py-secp256k1/Makefile

Modified: head/math/py-secp256k1/Makefile
==============================================================================
--- head/math/py-secp256k1/Makefile	Thu Sep 20 00:57:43 2018	(r480149)
+++ head/math/py-secp256k1/Makefile	Thu Sep 20 01:22:59 2018	(r480150)
@@ -13,10 +13,13 @@ COMMENT=	FFI bindings to libsecp256k1
 LICENSE=	MIT
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=2.11.1:devel/py-pytest-runner@${PY_FLAVOR}
 LIB_DEPENDS=	libsecp256k1.so:math/secp256k1
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=2.11.1:devel/py-pytest-runner@${PY_FLAVOR}
 
 USES=		localbase python pkgconfig
 USE_PYTHON=	autoplist distutils
+
+do-test: # some tests fail: https://github.com/ludbb/secp256k1-py/issues/31
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m test
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list