From nobody Tue Apr 26 13:49:14 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 EFB281AB26FC; Tue, 26 Apr 2022 13:49:16 +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 4Knjsl3Jqgz3C83; Tue, 26 Apr 2022 13:49:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650980956; 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=6nJ+1wNzlqbVkd3VyaqWIgXwafx+v2jN+XdSRyvVdLg=; b=eC2ohhMqGEztPJ3FLRHf1timEYJJ1nVPtk8zNDcjEWRGa+DNLuVi9HNaouqVsg0mDhX/tL Qb03D67eRbrz2Ig0eM2dkNF8yMBLPR+gDeVIlF29HqqrlIoUG3Abg9dYT7tL3ytR0NC6tw SgCcNru7+WqamazLFN168xIhWSwlC8M7lmhJ/85elmXFoUwIaIFNLrUPcuOmpNXdJiD/Qm 8LAAUitB3/blP9ZCqGyRqdkllPpxAxjRJXmHaWcHEmBdCvH/g4zu/ld6S79yuPKSUm+yg3 x44hoKxK2H4ueCYKuuWcvWakJOZTYcJKNYgyQgVznAhtTTH5geXaaqgT2W7izA== 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 187B610689; Tue, 26 Apr 2022 13:49:14 +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 23QDnEGo027504; Tue, 26 Apr 2022 13:49:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23QDnE7j027503; Tue, 26 Apr 2022 13:49:14 GMT (envelope-from git) Date: Tue, 26 Apr 2022 13:49:14 GMT Message-Id: <202204261349.23QDnE7j027503@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: 0e7dd0d03d3d - main - science/py-segyio: switch to USES=pytest and fix tests 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: 0e7dd0d03d3d32561b47f16c727c381d04a756e1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650980956; 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=6nJ+1wNzlqbVkd3VyaqWIgXwafx+v2jN+XdSRyvVdLg=; b=Gk+1tqy0KoEVg+dddyT8Xw4xn/xMRHQhzEveN2TiHZw2/G42EOtIhHn+to6oJA0DLcwhR4 vb52W332uH7zXo4ZEqUDzHcjsh20FKs3rtFeRuIGB4igllQFxhzYClVLOsqVUFNGwgDH1x GYw9OEAuQMliq0l06F1H3C3PKbG34pmPYcxJdu5I2ESxbbd/ngNs9JjraxU3/XtEpngKC2 Jj+k1D4vgOnz8ss1ZeOza2TqvIIeNnAbL5ahhwbF2gnwCoRvPKlMY19Vo24HmcbMEFO83Q FgNpXi4J5fz4MtfY6JqUUwnoVN6H3Q7HQp6szk/CwGh1PmcV2wgn9H/XuGZ0eA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650980956; a=rsa-sha256; cv=none; b=eZjOk7wcGdcdIP77Cj493vPY9kzoK0kfCJ0A5HcHT0/nbuxqLf0WNiI5j0lrgkxiKcg1gu uhhbuq+nS7R0pBmXrp0ZvhZgevjgSEqnRUAH2+AIgE0xdVwoo62xQUBxIOBxTYdeqJA/Ja PhN8V0elo5Hi3zsaB383gO6Lx0NUze+fH+uZUZFlQXBwHlwl4YiSKtBuXTzS6PcNDxL1an mMrRx3hlqz6bDlTgBiV3tSNnJja/D0FLNr6KOsWDKWiLLnHISBtF4I6+laAIv0lRmfQ8DN lXn0IBXAg0uGBbpTgB51YarcSAPC52Bku2hElmZMTvpVExqi8UNdT/sVo4ufZw== 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=0e7dd0d03d3d32561b47f16c727c381d04a756e1 commit 0e7dd0d03d3d32561b47f16c727c381d04a756e1 Author: Dmitry Marakasov AuthorDate: 2022-04-26 12:53:36 +0000 Commit: Dmitry Marakasov CommitDate: 2022-04-26 13:46:03 +0000 science/py-segyio: switch to USES=pytest and fix tests Reported by: reprise Approved by: portmgr blanket --- science/py-segyio/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/science/py-segyio/Makefile b/science/py-segyio/Makefile index 22ff57c30ff5..2d6e76ed4a61 100644 --- a/science/py-segyio/Makefile +++ b/science/py-segyio/Makefile @@ -18,7 +18,7 @@ BUILD_DEPENDS= cmake:devel/cmake \ LIB_DEPENDS= libsegyio.so:science/segyio RUN_DEPENDS= ${PYNUMPY} -USES= compiler:c++11-lang python:3.6+ +USES= compiler:c++11-lang python:3.6+ pytest USE_PYTHON= distutils autoplist USE_GITHUB= yes @@ -31,9 +31,7 @@ post-install: ${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} -do-test: # tests fail: https://github.com/equinor/segyio/issues/511 - @cd ${WRKSRC} && \ - ${PYTHON_CMD} ${PYSETUP} build_ext --inplace && \ - ${PYTHON_CMD} ${PYSETUP} test +pre-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext --inplace .include