Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2018 01:22:59 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480150 - head/math/py-secp256k1
Message-ID:  <201809200122.w8K1MxCV038253@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809200122.w8K1MxCV038253>