From nobody Fri Jan 19 14:53:46 2024 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 4TGjL33D5wz56fpP; Fri, 19 Jan 2024 14:53:47 +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 4TGjL31RLKz4yyS; Fri, 19 Jan 2024 14:53:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705676027; 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=q4js8UAqPOaC6UgTUWZaZMFqSV0tGwjLF7plZVG0HEg=; b=XHnrGsQJHXCc5nc6wQdSQdj+zirJqLwrtndA395uEmvz7BhZdd3D58HkdkeWs/WJ3K6XI8 T0RFJ9TtyPi8zN74GjpjhkaC/BeXO7mHdzxS1bC5jppGdcJcbdpbXFniDRAILT3mO+nWUn u/4fwtQ32nk9QcL/N8iAZYV5Xq1XP3iWM5gItPwgdV5RiulRVxuKhSaoP9KiLNvvjwnCMP cI3foVIXrsHxoY99jVarByMJ/8mxZ/V4DDRgZSBO/Ru0w5DIM4tty6OUf0NsNKRwRIWfff SH5+XKydi3fifLZS05a/BzI4HV5IFJrRkxen5u7hfbLo8C6GPjgln7bQQJBWlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705676027; 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=q4js8UAqPOaC6UgTUWZaZMFqSV0tGwjLF7plZVG0HEg=; b=pLQtgi5wjN3l/32opQ19s6wjmyrNgsyvo9X5cXKWTKbGgnw8pIV4UwqIyypYDSQo1wR91p paIVj7M5n77Tv+YeB8A2bu4cMvOxEBHML9FJB2IxUXlWe2mBE3OpshE3p2hkEg0d0N5xR+ OIrsgWTJVpp6kFMXQuoTnN+FfajXowDx+F9DMJfsYbKE5iKtL4gkkE6xZqM8dQbnefs0/f l4TvwWlO7BQZjMZpor0p+Db2AonlpDQ1BouuJq+T2rUsfEmwo2fLbc0hKDX9I6q3uRGcO1 dv6lwO7cirwKX/a4qrgrwk3LtJ+LwlMYkLJiQKJcTGz8T6L8eThfBhn5B+sz/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705676027; a=rsa-sha256; cv=none; b=rAB4icmpeYaz1OyJFz8MVeln/mLGBPcIpyMjp4LMip9I7J0JrNCRtx7rlb4PHKJru748r5 d2Zb9V1kYcXKCeT+mzUM/QkqcYbxtqn9hqH5jlwQIsRhBE/nI6FNSnHcGaTHTyjzV/JCjn QEyFiwQmH1pXt/20brngMW7deHSMqFyteZxXB8OrbBTmlcamwunP3lYBaXaGYyLb2mnBw5 BPZOckTOqvmW/U/2zY5NSiIAB5KKZro6Eu/2JGuWWkhMIGlCKtZjZzK8N4L2ZhraZi/qcV tGNpXgXmfJ5dSqGz5qGQV61u9LNnca5W1qSSdPcgBcbDoHxWASs6h+n08sYgcA== 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 4TGjL30VJFzw4V; Fri, 19 Jan 2024 14:53:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40JErkRn055686; Fri, 19 Jan 2024 14:53:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40JErkrr055683; Fri, 19 Jan 2024 14:53:46 GMT (envelope-from git) Date: Fri, 19 Jan 2024 14:53:46 GMT Message-Id: <202401191453.40JErkrr055683@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 3f1c1f734dfc - main - devel/py-pytest-drop-dup-tests: Pytest plugin to drop duplicated tests during collection. 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: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3f1c1f734dfc4eb07a5e67216792115606a19634 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f1c1f734dfc4eb07a5e67216792115606a19634 commit 3f1c1f734dfc4eb07a5e67216792115606a19634 Author: Alastair Hogge AuthorDate: 2024-01-19 14:46:31 +0000 Commit: Gleb Popov CommitDate: 2024-01-19 14:52:25 +0000 devel/py-pytest-drop-dup-tests: Pytest plugin to drop duplicated tests during collection. Differential Revision: https://reviews.freebsd.org/D43484 --- devel/Makefile | 1 + devel/py-pytest-drop-dup-tests/Makefile | 22 ++++++++++++++++++++++ devel/py-pytest-drop-dup-tests/distinfo | 3 +++ devel/py-pytest-drop-dup-tests/pkg-descr | 5 +++++ 4 files changed, 31 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 5ed6a5ffcd63..3c24621696ab 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5377,6 +5377,7 @@ SUBDIR += py-pytest-cpp SUBDIR += py-pytest-datadir SUBDIR += py-pytest-django + SUBDIR += py-pytest-drop-dup-tests SUBDIR += py-pytest-enabler SUBDIR += py-pytest-env SUBDIR += py-pytest-factoryboy diff --git a/devel/py-pytest-drop-dup-tests/Makefile b/devel/py-pytest-drop-dup-tests/Makefile new file mode 100644 index 000000000000..d187fa87e4d4 --- /dev/null +++ b/devel/py-pytest-drop-dup-tests/Makefile @@ -0,0 +1,22 @@ +PORTNAME= pytest-drop-dup-tests +DISTVERSION= 0.3.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= agh@riseup.net +COMMENT= Pytest plugin to drop duplicated tests during collection +WWW= https://github.com/nicoddemus/pytest-drop-dup-tests + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} + +USES= cpe python +USE_PYTHON= autoplist concurrent pep517 pytest + +.include diff --git a/devel/py-pytest-drop-dup-tests/distinfo b/devel/py-pytest-drop-dup-tests/distinfo new file mode 100644 index 000000000000..cd72fac69647 --- /dev/null +++ b/devel/py-pytest-drop-dup-tests/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1705534918 +SHA256 (pytest-drop-dup-tests-0.3.0.tar.gz) = 6ef9b3dd19171136b1b5e970a3d80593ccbc51e3684b1b72f1054a16656bc563 +SIZE (pytest-drop-dup-tests-0.3.0.tar.gz) = 5322 diff --git a/devel/py-pytest-drop-dup-tests/pkg-descr b/devel/py-pytest-drop-dup-tests/pkg-descr new file mode 100644 index 000000000000..4e7e4b2bb42f --- /dev/null +++ b/devel/py-pytest-drop-dup-tests/pkg-descr @@ -0,0 +1,5 @@ +Pytest plugin to drop duplicated tests during collection. Pytest by default +will collect all tests from directories or files given configured by the +Project, or passed on the command line. The plugin aims to reduce test work by +executing tests/unit first, followed by the remaining tests under tests, +however, without duplicates.