From owner-svn-ports-all@freebsd.org Fri Sep 21 16:43:55 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B38D2109E53A; Fri, 21 Sep 2018 16:43:55 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68D38864C0; Fri, 21 Sep 2018 16:43:55 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 639707A68; Fri, 21 Sep 2018 16:43:55 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8LGhtBq060234; Fri, 21 Sep 2018 16:43:55 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8LGht3B060233; Fri, 21 Sep 2018 16:43:55 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201809211643.w8LGht3B060233@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 21 Sep 2018 16:43:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480285 - head/math/py-pyodesys X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/math/py-pyodesys X-SVN-Commit-Revision: 480285 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2018 16:43:55 -0000 Author: yuri Date: Fri Sep 21 16:43:54 2018 New Revision: 480285 URL: https://svnweb.freebsd.org/changeset/ports/480285 Log: math/py-pyodesys: Add tests; Add EXTRAS option for extra-dependencies Modified: head/math/py-pyodesys/Makefile Modified: head/math/py-pyodesys/Makefile ============================================================================== --- head/math/py-pyodesys/Makefile Fri Sep 21 16:24:28 2018 (r480284) +++ head/math/py-pyodesys/Makefile Fri Sep 21 16:43:54 2018 (r480285) @@ -2,6 +2,7 @@ PORTNAME= pyodesys DISTVERSION= 0.12.3 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,9 +19,23 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.19.1:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sym>=0.3.4:math/py-sym@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sympy>=1.1.1:math/py-sympy@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes + +OPTIONS_DEFINE= EXTRAS +OPTIONS_DEFAULT= EXTRAS + +EXTRAS_DESC= Install optional dependencies for additional functionality +EXTRAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycodeexport>=0.1.2:devel/py-pycodeexport@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycompilation>=0.4.3:devel/py-pycompilation@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygslodeiv2>=0.9.1:math/py-pygslodeiv2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyodeint>=0.10.1:math/py-pyodeint@${PY_FLAVOR} + +do-test: # Tests fail because extra-dependencies are erroneously required: https://github.com/bjodah/pyodesys/issues/97 + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest --pyargs ${PORTNAME} .include