From nobody Mon Apr 8 20:17:57 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 4VD0l960clz5HgPG; Mon, 8 Apr 2024 20:17:57 +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 4VD0l94DnZz4whb; Mon, 8 Apr 2024 20:17:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712607477; 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=dJxwHe1s2Ft8USSLpyk+q+YTm8k3L4uPs0qS8tIFckk=; b=ngDf4FkClseOtw4suQQT1VBhWDEvddvMX+/wxPpKZ+odhx49I1iUNcxkpeOHGQ2byQxmcT 5uKaHoUc5Vwki+n+koeIyrdo4pqdMjVZOL5QiEV96weU/9feIT2EXxL64nmQEq92kPcx4b +3bUagh4fOsjonBwuVqjQPJq4BCYBLBHISmyWvk/WdggN7dWrTOF37OdfMG8QITX/AHNa7 mo5IKkrk1Ii1us08Bkcaf+jOZy6ptIeoYMqw0CXhWKQdrkbbzdwxdmwc8fcrhu55H9W4wn OkSw+vVOVuui/DlXJlawF3DyJicO3RQ1U4n+THT8jRpjQ9k4ctd70c+11XGWtw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712607477; a=rsa-sha256; cv=none; b=XnLg7Nx5sBuxR0YY3PVEz/X9AHkpjgWcYjEdRyE0TnR4MtdXHyJjSa5Eqbou/lb515o3o4 msvsRcvNyIRecTUBwgm63eUskanmiY7CdQ9FzNQkFzdJlXWwk7c8XgonHmvhKZaELc5EHj sLesHIKXsYXbHcXx+ZIFGTWot3vZNlHTGxCYl9Wwi13BQjt8yRy7pwBZmkglBo9NPu5jAQ nhSC0DlcmOPcW9EEO7IsHgVzvsncTbbEqBxDdQcwmziiL7+8hQAEZIbMvMGOGTXERUEyjs LxTU0LyC81ZZon8ctpBth+Kfz+qmCJp2c36LE/U/rxK5HGSFOMwqyE9n8lxOmQ== 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=1712607477; 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=dJxwHe1s2Ft8USSLpyk+q+YTm8k3L4uPs0qS8tIFckk=; b=gDq/SFY+NFEoQaw+w7sMvGw0g4ddDZnoNRGDVBs3J/mPVJLgVaYO9nTfqPYITqeBI5zCYn Lcx1U8z7kC5rWY8h8l2ksvZE2s+cIQ9pZRRGcTsfOSXDQXT3wFuCHOUx6ArzX+24r6wn2v X5jFk86sMh7izaeOb/fn8LnOsnb1nrFUvoWDml3iU1qmz3OxwQsTL/Y+Mxexa+CGdlxuy9 pk8oTN/bg0XOQZyFwCxP8HKw3p2b8kBb6zJhlhb5srOb9kGRT9BU66rrXaX2bSL5YN1KQN DOxAh3KiaYnLH09M5+FZ9YcukVOIbz/ys09E9sgsReMIx/o56muQKsK0ndfykQ== 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 4VD0l93rNNzPxt; Mon, 8 Apr 2024 20:17:57 +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 438KHvPb015932; Mon, 8 Apr 2024 20:17:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 438KHv9x015930; Mon, 8 Apr 2024 20:17:57 GMT (envelope-from git) Date: Mon, 8 Apr 2024 20:17:57 GMT Message-Id: <202404082017.438KHv9x015930@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 287df32c2fe9 - main - devel/py-stestr: Add py-stestr 4.1.0 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 287df32c2fe9cc3c2b410412328ba52c8cb51763 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=287df32c2fe9cc3c2b410412328ba52c8cb51763 commit 287df32c2fe9cc3c2b410412328ba52c8cb51763 Author: Po-Chuan Hsieh AuthorDate: 2024-04-08 20:07:37 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-04-08 20:16:40 +0000 devel/py-stestr: Add py-stestr 4.1.0 stestr is parallel Python test runner designed to execute unittest test suites using multiple processes to split up execution of a test suite. It also will store a history of all test runs to help in debugging failures and optimizing the scheduler to improve speed. To accomplish this goal it uses the subunit protocol to facilitate streaming and storing results from multiple workers. stestr originally started as a fork of the testrepository project. But, instead of being an interface for any test runner that used subunit, like testrepository, stestr concentrated on being a dedicated test runner for python projects. While stestr was originally forked from testrepository it is not backwards compatible with testrepository. At a high level the basic concepts of operation are shared between the two projects but the actual usage is not exactly the same. --- devel/Makefile | 1 + devel/py-stestr/Makefile | 33 ++++++++++++++++++++++++++++ devel/py-stestr/distinfo | 3 +++ devel/py-stestr/files/patch-requirements.txt | 11 ++++++++++ devel/py-stestr/pkg-descr | 13 +++++++++++ 5 files changed, 61 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 44f55b8e947f..0f152388d5ce 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5715,6 +5715,7 @@ SUBDIR += py-stdlib-list SUBDIR += py-stdlibs SUBDIR += py-stdnum + SUBDIR += py-stestr SUBDIR += py-stevedore SUBDIR += py-stone SUBDIR += py-stopit diff --git a/devel/py-stestr/Makefile b/devel/py-stestr/Makefile new file mode 100644 index 000000000000..6a2495683cbb --- /dev/null +++ b/devel/py-stestr/Makefile @@ -0,0 +1,33 @@ +PORTNAME= stestr +PORTVERSION= 4.1.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Parallel Python test runner built around subunit +WWW= https://stestr.readthedocs.io/en/latest/ \ + https://github.com/mtreinish/stestr + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cliff>=2.8.0:devel/py-cliff@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}extras>=1.0.0:devel/py-extras@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fixtures>=3.0.0:devel/py-fixtures@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-subunit>=1.3.0:devel/py-python-subunit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}testtools>=2.2.0:devel/py-testtools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.6:textproc/py-tomlkit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}voluptuous>=0.8.9:devel/py-voluptuous@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=3.10.0:devel/py-yaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-stestr/distinfo b/devel/py-stestr/distinfo new file mode 100644 index 000000000000..fdb23dede19a --- /dev/null +++ b/devel/py-stestr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1712580500 +SHA256 (stestr-4.1.0.tar.gz) = 5f61c369eece63c292d13599e12aa158af7685990643f24dd6fa7fabfe34e98a +SIZE (stestr-4.1.0.tar.gz) = 113187 diff --git a/devel/py-stestr/files/patch-requirements.txt b/devel/py-stestr/files/patch-requirements.txt new file mode 100644 index 000000000000..04452df31f17 --- /dev/null +++ b/devel/py-stestr/files/patch-requirements.txt @@ -0,0 +1,11 @@ +--- requirements.txt.orig 2023-09-18 12:36:07 UTC ++++ requirements.txt +@@ -3,7 +3,7 @@ cliff>=2.8.0 # Apache-2.0 + # process, which may cause wedges in the gate later. + pbr!=2.1.0,>=2.0.0,!=4.0.0,!=4.0.1,!=4.0.2,!=4.0.3 # Apache-2.0 + cliff>=2.8.0 # Apache-2.0 +-python-subunit>=1.4.0 # Apache-2.0/BSD ++python-subunit>=1.3.0 # Apache-2.0/BSD + fixtures>=3.0.0 # Apache-2.0/BSD + testtools>=2.2.0 # MIT + PyYAML>=3.10.0 # MIT diff --git a/devel/py-stestr/pkg-descr b/devel/py-stestr/pkg-descr new file mode 100644 index 000000000000..4aeb234b83e4 --- /dev/null +++ b/devel/py-stestr/pkg-descr @@ -0,0 +1,13 @@ +stestr is parallel Python test runner designed to execute unittest test suites +using multiple processes to split up execution of a test suite. It also will +store a history of all test runs to help in debugging failures and optimizing +the scheduler to improve speed. To accomplish this goal it uses the subunit +protocol to facilitate streaming and storing results from multiple workers. + +stestr originally started as a fork of the testrepository project. But, instead +of being an interface for any test runner that used subunit, like +testrepository, stestr concentrated on being a dedicated test runner for python +projects. While stestr was originally forked from testrepository it is not +backwards compatible with testrepository. At a high level the basic concepts of +operation are shared between the two projects but the actual usage is not +exactly the same.