From nobody Sat Jul 16 23:47:15 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LllJM4zGyz4Wfv1; Sat, 16 Jul 2022 23:47:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LllJM4YGWz3Wf0; Sat, 16 Jul 2022 23:47:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658015235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QZxeJB8pQ9rLdagUi7dGe9F1HQb2VH9X5zGF0/yJ170=; b=H+ZuEU0PMfVtlkXl2AhNik4FvdDuMSjISoQD3ay4qE/5TjLehbPz6kdPAvK4yZuwh1cg4Z 0fbizTRrsgFlSWDViF4FoYV5/4aPAqgL9QiVjF8RMCWfmPvsYtUYOyMtWgN6ieifNZ+sd5 wbakIM7bPq9tXccnRMqnYEGWdTK58phE8BFGe7+34d4JmXwXARdjtMHSRiFkqrLvVKi0rx VeDCWuJmDTHDAWlIgZycECIXZHp4YShVRGsv1W3sx3PI88+T0q+7g3pt7UHxMXVlaqELcN BUR37sW6GfzaPkizueiIFoa6mJNag+sdn0WTVXrhR4p3dhF8YqbZmwIrZg8O8w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LllJM3c3Rzg4f; Sat, 16 Jul 2022 23:47:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26GNlFll069278; Sat, 16 Jul 2022 23:47:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26GNlFUf069277; Sat, 16 Jul 2022 23:47:15 GMT (envelope-from git) Date: Sat, 16 Jul 2022 23:47:15 GMT Message-Id: <202207162347.26GNlFUf069277@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 8d41276e20f5 - main - science/yoda: Fix tests List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8d41276e20f55d9f059378bca799881574b1bc50 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658015235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QZxeJB8pQ9rLdagUi7dGe9F1HQb2VH9X5zGF0/yJ170=; b=iR7sjjLsyxZKIEgV9955Hs+fiZV/zLK/nmJepd92KS/o/gR76DLTYaPXOyLRmPn1ebCf83 9O/F4vWE+buLLi+pTGx6J9DnqeCSvCg2L8dSzCrKu7RdQWFcxWJc7WFRVUxPOerBNouI85 7cOQoCKCp4Y2jZiSAbQ5xC8lU3jkRYP5T5TAp3+Mf4hZIAT/z8Jiui6Ku2IuVmWu9pGaCU JKgGGmBne3wfUmm0i6QcpwFqoF4hv5uXeUT06ZMIR3QgtRA2zUX4K+V3vZFAcq6u/pck+K D/lNJUCyFBKsCqF3wpgki2Z32AZyMDsB2om9o5+lWZAE32kx8U6je7sieZ4NeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658015235; a=rsa-sha256; cv=none; b=Snmuf7bHJMC4di6CTpwxowpcTAwe5ZLbEPCRyeretVCpbrT9cXOgqrMJTH6yPtPljmnnb0 uexB+mO2WgiezIzbWVFlkPJ+a0JQVn9CKYGG36B+Vg7i6kQJZ3a34xlP8PgA+J37xdUtiZ UmOD1n/hbmts4gsRo8e3NlIxzcFLHGmhqrJ4qlaK3tBQzTG1RJB9f0B0Fvfi7qkh8c4IUN WZq9KK/q6oI3MP/lo9zblw53WM5YNWBfZUy0ofKYmVjgSQEzvXDzX3Xd2UO/geqqsa/0si DYsj+Ery5eDOErGwBnKCLTV5R/xVMYl6pgYZxehtxQXgAY9vxVLHOXaIpSoZYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=8d41276e20f55d9f059378bca799881574b1bc50 commit 8d41276e20f55d9f059378bca799881574b1bc50 Author: Yuri Victorovich AuthorDate: 2022-07-16 20:49:24 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-16 23:47:13 +0000 science/yoda: Fix tests Add test dependencies and correct test environment. --- science/yoda/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/science/yoda/Makefile b/science/yoda/Makefile index 87d8cdfe8fd5..b10f75d136f2 100644 --- a/science/yoda/Makefile +++ b/science/yoda/Makefile @@ -11,7 +11,9 @@ COMMENT= Particle physics package with classes for data analysis, histogramming LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -TEST_DEPENDS= bash:shells/bash +TEST_DEPENDS= bash:shells/bash \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} USES= compiler:c++11-lang gmake libtool python:test shebangfix GNU_CONFIGURE= yes @@ -27,12 +29,14 @@ OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes -PYTHON_USES= python shebangfix +PYTHON_USES= python PYTHON_USE= PYTHON=cython PYTHON_CONFIGURE_ENABLE= pyext PYTHON_MAKE_ENV= PYTHON_VERSION=${PYTHON_VER} PYTHON=${PYTHON_CMD} PYTHON_VARS= SHEBANG_FILES="bin/${PORTNAME}* bin/aida2yoda bin/aida2flat bin/flat2yoda" +TEST_ENV= ${MAKE_ENV} PATH=${STAGEDIR}${PREFIX}/bin:${PATH} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libYODA.so