From nobody Fri Jun 30 07:17:55 2023 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 4Qsmql3rcQz4knp2; Fri, 30 Jun 2023 07:17:55 +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 4Qsmql2zBVz3j9T; Fri, 30 Jun 2023 07:17:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688109475; 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=BNqdDmapqtYbFCXqXXzWn4fpXNg4P/xbDP/8j042YiI=; b=saDqBZo1JLn5gVNGP2E4vtmnFGAjB9gifhzVcxhJjmSUmw6FHUVWO5rcwtumz96nd2mm+y otZhfQg3jR1F0BjMlqahtPDqjkmXtgmw0urlsoRJkvIdJWMg2n7gtYUdWieYzeamwqzKTG fYiizI6QlltFKYRAuTBkyuhgrVlD66x0wyxxDoIbZGlpWiaDoKOIKZDhB33c2xHaduaT5B +wYGUFmWND7BfQzWkALR1qHZJ1mPt65idyNTT8IFmFWj/s2VvghSMZx8C+lg1HDsXgNhqB uvsUUU3qOmgwog9zH8II5+c84VPYXp24cPCQrrJ7zmc08oI8PuvN4D4ulY0o+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688109475; 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=BNqdDmapqtYbFCXqXXzWn4fpXNg4P/xbDP/8j042YiI=; b=NDjjv77ktrP9kX9up6PwQJ120W9kY8bqgofJ9o2ptG9rURjRLQt3pm47wO2Qg11AcW8vzP kQ0w35vEFAPpXhOCvRP51jEo/UQ3BZf7J6DWaZwHABfdEtAm/8bRxBm3W6KirY77UZsKWa AT+xlh0beQaKS7hTUjPNJ6odd8jC/xAI0e/V/2D6qzwDYOgXy6qJHUSO57akZdf1XTcLlR DgovH2whxm5NQV/DOAlE+5BNNKYQOTwKSKcoUV0ZJjJ93idB1WwvmVBH0I7J4WWw0OhRG4 2hJ6qv3O9BfsUaOtTeH+2smNAdQnk1zSlk5xHKFwjyRezd98BioiulUkwcqZ6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688109475; a=rsa-sha256; cv=none; b=BItZSO7XI4zx5sYzyAfmBUauF0ekAT4nvujqCZOvkWZe1Lm+4ZgVR1rrOrdRBC8ybRbiwU g/dAUjGA8e69zxofHcN80IritprHEyZo/rrV++0sL5mXQTncBUFiHr5xdcoIHNtw+xqumX dFpXCBHjB0UO/kfGa5QjaygXokumJu/+iEk54xnX7mDE7zhyL0moy0ZSs+uF4x6XEKcIPj gCBmyVmT1RydztFsKEh2Ey41Dwx07zp06VxXWlV0N0lpM6P3Dza7fruV8USWoPNYDpXuoD RgWSw3u8MG5s0pYLJ/2iNT0nb14mWujcKfnleS3GnjFeG8wBeFrGWIijbTO1mg== 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 4Qsmql23R2zq5V; Fri, 30 Jun 2023 07:17:55 +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 35U7HtOT064345; Fri, 30 Jun 2023 07:17:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35U7Hte8064344; Fri, 30 Jun 2023 07:17:55 GMT (envelope-from git) Date: Fri, 30 Jun 2023 07:17:55 GMT Message-Id: <202306300717.35U7Hte8064344@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: 4acceff265ba - main - devel/py-nose3: Add py-nose3 1.3.8 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4acceff265bad172974982252a5fbf23a36f52ab Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4acceff265bad172974982252a5fbf23a36f52ab commit 4acceff265bad172974982252a5fbf23a36f52ab Author: Po-Chuan Hsieh AuthorDate: 2023-06-30 06:59:36 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-06-30 06:59:36 +0000 devel/py-nose3: Add py-nose3 1.3.8 nose3 is a drop-in fork of nose v1 that is compatible with Python 2.7 and Python 3.3-3.10 without using lib2to3 or other compatibility layer. It does not yet support Python 3.11. nose extends the test loading and running features of unittest, making it easier to write, find and run tests. By default, nose will run tests in files or directories under the current working directory whose names include "test" or "Test" at a word boundary (like "test_this" or "functional_test" or "TestClass" but not "libtest"). Test output is similar to that of unittest, but also includes captured stdout output from failing tests, for easy print-style debugging. These features, and many more, are customizable through the use of plugins. Plugins included with nose provide support for doctest, code coverage and profiling, flexible attribute-based test selection, output capture and more. More information about writing plugins may be found on in the nose API documentation. --- devel/Makefile | 1 + devel/py-nose3/Makefile | 24 ++++++++++++++++++++++++ devel/py-nose3/distinfo | 3 +++ devel/py-nose3/files/patch-setup.py | 19 +++++++++++++++++++ devel/py-nose3/pkg-descr | 18 ++++++++++++++++++ 5 files changed, 65 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 737c5dcf8b08..5818c7788411 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5005,6 +5005,7 @@ SUBDIR += py-nose-cov SUBDIR += py-nose-timer SUBDIR += py-nose2 + SUBDIR += py-nose3 SUBDIR += py-noseofyeti SUBDIR += py-nosexcover SUBDIR += py-notebook-shim diff --git a/devel/py-nose3/Makefile b/devel/py-nose3/Makefile new file mode 100644 index 000000000000..5f2d9605b43a --- /dev/null +++ b/devel/py-nose3/Makefile @@ -0,0 +1,24 @@ +PORTNAME= nose3 +PORTVERSION= 1.3.8 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= nose extends unittest to make testing easier +WWW= https://github.com/jayvdb/nose3 + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/lgpl.txt + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}-nose + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m nose -v + +.include diff --git a/devel/py-nose3/distinfo b/devel/py-nose3/distinfo new file mode 100644 index 000000000000..70adba1f65e2 --- /dev/null +++ b/devel/py-nose3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1686496668 +SHA256 (nose3-1.3.8.tar.gz) = 762aae22cadb898b00b9d4f4bbb9f8e87f8e0dde6c49a88cd0c554f4e5925b76 +SIZE (nose3-1.3.8.tar.gz) = 924720 diff --git a/devel/py-nose3/files/patch-setup.py b/devel/py-nose3/files/patch-setup.py new file mode 100644 index 000000000000..50ab9d2bac55 --- /dev/null +++ b/devel/py-nose3/files/patch-setup.py @@ -0,0 +1,19 @@ +--- setup.py.orig 2022-11-27 03:47:11 UTC ++++ setup.py +@@ -27,7 +27,6 @@ try: + entry_points = { + 'console_scripts': [ + 'nosetests = nose:run_exit', +- 'nosetests%s = nose:run_exit' % py_vers_tag, + ], + 'distutils.commands': [ + 'nosetests = nose.commands:nosetests', +@@ -104,7 +103,7 @@ setup( + license = 'GNU LGPL', + keywords = 'test unittest doctest automatic discovery', + url = 'https://github.com/jayvdb/nose3', +- data_files = [('man/man1', ['nosetests.1'])], ++ data_files = [('share/man/man1', ['nosetests.1'])], + package_data = {'': ['*.txt', + 'examples/*.py', + 'examples/*/*.py']}, diff --git a/devel/py-nose3/pkg-descr b/devel/py-nose3/pkg-descr new file mode 100644 index 000000000000..2d20a4255619 --- /dev/null +++ b/devel/py-nose3/pkg-descr @@ -0,0 +1,18 @@ +nose3 is a drop-in fork of nose v1 that is compatible with Python 2.7 and Python +3.3-3.10 without using lib2to3 or other compatibility layer. It does not yet +support Python 3.11. + +nose extends the test loading and running features of unittest, making it easier +to write, find and run tests. + +By default, nose will run tests in files or directories under the current +working directory whose names include "test" or "Test" at a word boundary (like +"test_this" or "functional_test" or "TestClass" but not "libtest"). Test output +is similar to that of unittest, but also includes captured stdout output from +failing tests, for easy print-style debugging. + +These features, and many more, are customizable through the use of plugins. +Plugins included with nose provide support for doctest, code coverage and +profiling, flexible attribute-based test selection, output capture and more. +More information about writing plugins may be found on in the nose API +documentation.