From nobody Tue Apr 26 17:28:17 2022 X-Original-To: dev-commits-ports-main@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 C2B5F1AB1417; Tue, 26 Apr 2022 17:28:17 +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 4KnpkT2s4jz3CTS; Tue, 26 Apr 2022 17:28:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650994097; 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=AhhKeNhcTIK87WK0RJ5DzYPd4xTLmu9zsGX+bR8KWCg=; b=F6bdqtaPSEWcAtR6sGC+YvqYB0k6U2Q24cNcs2JFn0Q+gRbvOAHtg832RXjxZ0xNttTVcR kSH1jL9RH73tF/R2spyk2GfdQE5M9F/P+dJ049D19tahVRiLLEVD5Rc63G9TlrnykWv+KH WhvSDZPPo78bnNWyN4zo0wDtC+fZlQ7TEi3sxCyls+EDRRAE8Tep66NQeHr4WH+ErfmYEF XVlqjqE6OX4QZS5clk/rRP8azk4nsEY2FkDnjlHj5PPnribX0QevA8hhu6+P994DsGkiSN FyxPXZN4xU1C1wM6m76hHA87moXCUlyCXbLdIDPU5wzO+2K4A/C/fUkA8hXsMg== 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 25799138B2; Tue, 26 Apr 2022 17:28:17 +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 23QHSHdI033735; Tue, 26 Apr 2022 17:28:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23QHSHvq033734; Tue, 26 Apr 2022 17:28:17 GMT (envelope-from git) Date: Tue, 26 Apr 2022 17:28:17 GMT Message-Id: <202204261728.23QHSHvq033734@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 5a42e24e21f9 - main - science/py-chempy: switch to USES=pytest, fix tests and document failing ones List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5a42e24e21f9ca92e27f933e14ec7da0704d88f2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650994097; 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=AhhKeNhcTIK87WK0RJ5DzYPd4xTLmu9zsGX+bR8KWCg=; b=eycoLMsBc655uBFXuR54pPd6Jn2v8oEtwEwIHFEw28pZD6Hq7AxLygfzbopckBC0d8690w SMSQp1nC4e3Bi41wbHxNmKUjkGnK6WRNNCfcMnqMrne24k2bmbutdJ7XfMeS54uX5wB8eo mOmaVYrK3WqCHdhH7r1sb2CbEY6J+ELTsGYTJUMTBsiFxqVHDgqKqHQTb3NWO3f6m86o53 NzDf2wnLoxfehIKFxi0W7XG/dL0F2fOel74R8V9+uq3+l1mgQ6FU8F7eRsgg8fT1CRse8d 399CfVjJPvQLKLb/ZajKK6bM56urVkNtuoOszHnb+nDd1By7xbwQFouKVdqHMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650994097; a=rsa-sha256; cv=none; b=DRxGnjth1DLNDdMVWeteU/uHK+YlIjqNCiytb6+nRRAhIx7WSl4O9xLcs4jZB8nmJg5qaw NRn5N77HXUA1AqTQpmT/vUzxRbE35m50ojp5h0MtBW6LBbg5sEeAvDMFikezi2lYbth5Ex Z3yKWzn0+xZ4d7ubXiosWlRpgHjlLdGcJSTlsnYk3n6fBXXu/FtE9a2AUGM3AVdo9XggcQ si8aaYvGsDd62Z9DraqZfacv0p2sd3Wys1CPp+OJrqCSbvt4SOtTzfpIqVoA+wim8It2Cu ZGZ0DBeQQzRuZn9EAxzDQoW13ZVxIdfxIfXSzHB/R/FHLkeRkGOLwTAH3guduA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a42e24e21f9ca92e27f933e14ec7da0704d88f2 commit 5a42e24e21f9ca92e27f933e14ec7da0704d88f2 Author: Dmitry Marakasov AuthorDate: 2022-04-26 15:35:10 +0000 Commit: Dmitry Marakasov CommitDate: 2022-04-26 17:26:11 +0000 science/py-chempy: switch to USES=pytest, fix tests and document failing ones Reported by: reprise Approved by: portmgr blanket --- science/py-chempy/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/science/py-chempy/Makefile b/science/py-chempy/Makefile index 622e88b9b0bf..553835f7fb1d 100644 --- a/science/py-chempy/Makefile +++ b/science/py-chempy/Makefile @@ -24,15 +24,22 @@ PY_DEPENDS= \ ${PYNUMPY} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-flakes>0:devel/py-pytest-flakes@${PY_FLAVOR} -USES= python:3.7+ +USES= python:3.7+ pytest USE_PYTHON= distutils autoplist NO_ARCH= yes +# https://github.com/bjodah/chempy/issues/198 +PYTEST_BROKEN_TESTS= test_get_native__a_substance_no_composition \ + test_balance_stoichiometry__underdetermined \ + test_balance_stoichiometry__very_underdetermined \ + test_balance_stoichiometry__underdetermined__canoncial \ + test_balance_stoichiometry__substances__underdetermined \ + test_balance_stoichiometry__duplicates + CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pymol # https://github.com/schrodinger/pymol-open-source/issues/100 OPTIONS_DEFINE= EXTRAS @@ -46,7 +53,4 @@ EXTRAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVO ${PYTHON_PKGNAMEPREFIX}pygslodeiv2>=0.9.1:math/py-pygslodeiv2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyodeint>=0.10.1:math/py-pyodeint@${PY_FLAVOR} -do-test: # 7 tests are known to fail: https://github.com/bjodah/chempy/issues/198 - @cd ${WRKSRC} && pytest -rs --pyargs chempy - .include