From nobody Thu Aug 22 10:08:16 2024 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 4WqJmw6qVTz5Sb6f; Thu, 22 Aug 2024 10:08: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WqJmw64S0z4KRP; Thu, 22 Aug 2024 10:08:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724321296; 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=ug/QOMm2yn9feh0cl0NDz+FgPWCmgvdiFlGzYiWaoQ8=; b=FW/Kt8neAdKx+lUfGDPP0yyHtT2i6YSxPa4NfF8CAt244+rK0sqzb9AhcujJON1gW047vy PgHWejE3GML+0hJtF66nOtebreYLX8WjvjExoQEOYj16ERLbzvb9WOpumw2yTiFHyDvYdz kWyJbkec3Y3qukKvq8vsUENRjyP6g62z1TrQwZHMZAYgkFB0H16SG7kPsRMFUrqYfmuYhU 4seJ1JqoGIeoDvISIE4+wRZU4dhRHXOAYRo8Sx+mkIFRhk7fLJyVenCKsVaUAnxM8jhzUi akDBVyQpiOiC4vQC8cEXkoOS3j7tlF5nm+WoaZ8BQ3IgVQiOX89grRU561bByA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724321296; a=rsa-sha256; cv=none; b=dWzDZs8sm+vR3ms6uCZnk9OCSDWdWu1Ne1apj2//2DBE3wC3NwuoYwj4Jg8yEDkw+iJUzO 50rZBRazyZJwW9TRM8qrt/JC6UDC3k9hs9X+0M6sP3gov89IAxgKFit9O12QkPgxUDqSGi PEGXXZQz/uhoji7iwKRXWvBLi/+ipJdbT2bUtZ1WFscxAkXB+fqS2xpcOWP+Ltn39DiUGI MoAEk/I/aZV8rOe35rZqafeu/gzIaoJvqSyzCAyC9bGvBlYQH1TkCPKt87dV28RE9XNw1m RqTWgzEJ/LBMACauizx2/ZdcjJLbF6hgHAie2vMJq3/Iy46aeFegeVvxBBXYyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724321296; 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=ug/QOMm2yn9feh0cl0NDz+FgPWCmgvdiFlGzYiWaoQ8=; b=A8dcCP7lEu9RSpa4iUmKnqxGEIif/Th2S8feA58dxEX6ZLDd+OxpyYGPesQXgLLsarBPBI lligTPQCu/UqmAzG3Fat+1lfdo0IKSbLjXI8HC+RlN76Cx0q2kZqJWcDTOvJ6XmTgO38Si Q/J6PII0CNvvhelbsqOAbsRebDZuZWaLDWeCdBew8PRLPjnZrpBIr78xhyjT78eRJoL8+D 89fAD34STLMeeACmgr3G4eigCUPNLpHlBH14wBVvE7hd2Obiu/296N4jthJ08iDYX/xE0z cG+fxCP7oVG9ZZ632rcxKe/kxOyCR4iBTpfNKmCWHVgPsZQSVOY/G1CpQuYFqw== 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 4WqJmw5gqFzNLV; Thu, 22 Aug 2024 10:08:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47MA8GXB070446; Thu, 22 Aug 2024 10:08:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47MA8GjU070443; Thu, 22 Aug 2024 10:08:16 GMT (envelope-from git) Date: Thu, 22 Aug 2024 10:08:16 GMT Message-Id: <202408221008.47MA8GjU070443@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: 743f7631d773 - main - devel/py-pytest-dependency: New port: Pytest plugin to manage dependencies of 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: 743f7631d7735fdd8aa75979bd611ec1c6f70307 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=743f7631d7735fdd8aa75979bd611ec1c6f70307 commit 743f7631d7735fdd8aa75979bd611ec1c6f70307 Author: Yuri Victorovich AuthorDate: 2024-08-22 10:06:58 +0000 Commit: Yuri Victorovich CommitDate: 2024-08-22 10:08:14 +0000 devel/py-pytest-dependency: New port: Pytest plugin to manage dependencies of tests --- devel/Makefile | 1 + devel/py-pytest-dependency/Makefile | 23 +++++++++++++++++++++++ devel/py-pytest-dependency/distinfo | 3 +++ devel/py-pytest-dependency/pkg-descr | 4 ++++ 4 files changed, 31 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index fd23aff137af..f773bdd98487 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5549,6 +5549,7 @@ SUBDIR += py-pytest-cov SUBDIR += py-pytest-cpp SUBDIR += py-pytest-datadir + SUBDIR += py-pytest-dependency SUBDIR += py-pytest-django SUBDIR += py-pytest-doctestplus SUBDIR += py-pytest-drop-dup-tests diff --git a/devel/py-pytest-dependency/Makefile b/devel/py-pytest-dependency/Makefile new file mode 100644 index 000000000000..d0d19c906a6a --- /dev/null +++ b/devel/py-pytest-dependency/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pytest-dependency +DISTVERSION= 0.6.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pytest plugin to manage dependencies of tests +WWW= https://github.com/RKrahl/pytest-dependency + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.7.0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include diff --git a/devel/py-pytest-dependency/distinfo b/devel/py-pytest-dependency/distinfo new file mode 100644 index 000000000000..e0c4e3901a55 --- /dev/null +++ b/devel/py-pytest-dependency/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724320686 +SHA256 (pytest-dependency-0.6.0.tar.gz) = 934b0e6a39d95995062c193f7eaeed8a8ffa06ff1bcef4b62b0dc74a708bacc1 +SIZE (pytest-dependency-0.6.0.tar.gz) = 19499 diff --git a/devel/py-pytest-dependency/pkg-descr b/devel/py-pytest-dependency/pkg-descr new file mode 100644 index 000000000000..c42170c0f2e7 --- /dev/null +++ b/devel/py-pytest-dependency/pkg-descr @@ -0,0 +1,4 @@ +This module is a plugin for the popular Python testing framework pytest. +It manages dependencies of tests: you may mark some tests as dependent from +other tests. These tests will then be skipped if any of the dependencies +did fail or has been skipped.