From nobody Sat Dec 31 10:22:08 2022 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 4NkdTr4NLtz2lJlv; Sat, 31 Dec 2022 10:22:08 +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 4NkdTr3tDCz42XN; Sat, 31 Dec 2022 10:22:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672482128; 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=odfYP61uCnH2I2RPJA9D21ug70c5YksiDXrOmrxK9+E=; b=F5Bv4MJPeVt7VKUsGrBnznRXVlJm5qqI68eL8fhqC0IbOe5gY3jeV5ZqYaxyXdFgWVb0hr 4XEJ6zmiflJaFalv0Er6L/45TNAGGPYBHlx6ATn8Y+YC8jH62oBw9wTs9orMhWfHsWUEgN g4LoQ0hKeNSwrVGscqHUU6KSJuEq45pxK225G2B8YI3KlxTUL6SP9+f3zIbffERarr1D0m hzCY9Y2zTP5CVS0JEcBUqc/2YXeWg/yM0fZP0etbb+D4i6HLXjtxbkqKtNnaotrEjEZ7zn SfVoooER8rfO0PlsIgj+8/xzuI5tKXptMVfqhtw1PYARM2BUYA/Q/fFzt5wtMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672482128; 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=odfYP61uCnH2I2RPJA9D21ug70c5YksiDXrOmrxK9+E=; b=WLvclqaNaTiq3tXPUs7KEoe++rwxwVUJ1zMwU+kgYY5DcecdlNWsXniPGtPfrii2VHerJZ dhkxossXJ3BQbVNTpWYagkP2F3vGrQhyOrGrkoqxFB9Gv/kYinT9rd9UELiyp1KCYoPDgP 0RX2D9pE7kmwESp2ombMNwzZ5PyUp2Y4LVqTxWwHor3ZxkXBdbeBcWvUssEaL1KpTKcnVR /VGSj2ak2ueXll2Rga7wg3FjLfC45rSZG9O28dJQ9UVggwEudTonI6K/sC77fgahQdA1wd B/AZmcTKf7vqigbJ3V+lqUe3yC09gG5yU0o6zbrorpf21AHvSpBU68P5OyQarw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672482128; a=rsa-sha256; cv=none; b=k3gc9ksV4ccEDfoOC8bCKgXTMwSq32nlZTTCYN1fIEgFJ3vy5m9gDUHwUAYxP1XObPlpQa eHKEkVPGaP1QCSM2Ox5pHI/fAxBo9gUErqh8aH2pRs7V9UN+r/8Z1KYeFXXSob097qHAlT KEhRwhV9E5eJYXBQma1AMGQ55EZlTWoGIC4UJJuAtjHdOTA32LdR9uTxSzy4bWpUFryiPr Cj0YLOC6CPnlQWZGJoQssnzWZXLN7zegiEGxMnElU7VQpwfw3b2/ah7hyw/dxUuITSOjov 4kCeUut1a6C80P2wIEoL8Y02JpH0EI3EsaALC/XGDhv31wcD6hl0EFvZ3lX5Qw== 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 4NkdTr2lftzlbr; Sat, 31 Dec 2022 10:22:08 +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 2BVAM8va095992; Sat, 31 Dec 2022 10:22:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BVAM8Sq095991; Sat, 31 Dec 2022 10:22:08 GMT (envelope-from git) Date: Sat, 31 Dec 2022 10:22:08 GMT Message-Id: <202212311022.2BVAM8Sq095991@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: f862f9075efb - main - devel/py-mutmut: New port: Mutation testing for Python 3 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f862f9075efbb1f5edd4cac9912deb1b57377a43 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f862f9075efbb1f5edd4cac9912deb1b57377a43 commit f862f9075efbb1f5edd4cac9912deb1b57377a43 Author: Yuri Victorovich AuthorDate: 2022-12-31 10:10:33 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-31 10:22:02 +0000 devel/py-mutmut: New port: Mutation testing for Python 3 --- devel/Makefile | 1 + devel/py-mutmut/Makefile | 28 ++++++++++++++++++++++++++++ devel/py-mutmut/distinfo | 3 +++ devel/py-mutmut/pkg-descr | 11 +++++++++++ 4 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9188f94eebd5..b6e367658062 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4847,6 +4847,7 @@ SUBDIR += py-multitasking SUBDIR += py-munch SUBDIR += py-murmurhash + SUBDIR += py-mutmut SUBDIR += py-mygpoclient SUBDIR += py-mypy SUBDIR += py-mypy-protobuf diff --git a/devel/py-mutmut/Makefile b/devel/py-mutmut/Makefile new file mode 100644 index 000000000000..14e1f3234e96 --- /dev/null +++ b/devel/py-mutmut/Makefile @@ -0,0 +1,28 @@ +PORTNAME= mutmut +DISTVERSION= 2.4.3 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Mutation testing for Python 3 +WWW= https://mutmut.readthedocs.io/en/latest/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}glob2>0:devel/py-glob2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}junit-xml>=1.8:textproc/py-junit-xml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}parso>0:textproc/py-parso@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pony>0:databases/py-pony@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.7+ +USE_PYTHON= distutils concurrent autoplist + +NO_ARCH= yes + +.include diff --git a/devel/py-mutmut/distinfo b/devel/py-mutmut/distinfo new file mode 100644 index 000000000000..22c23edb109d --- /dev/null +++ b/devel/py-mutmut/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672471152 +SHA256 (mutmut-2.4.3.tar.gz) = 676c253ee4c87d4aa32e257827b3f6fdb4343925b29fa17aa3456ed9be5d93d4 +SIZE (mutmut-2.4.3.tar.gz) = 40674 diff --git a/devel/py-mutmut/pkg-descr b/devel/py-mutmut/pkg-descr new file mode 100644 index 000000000000..52941f22340e --- /dev/null +++ b/devel/py-mutmut/pkg-descr @@ -0,0 +1,11 @@ +Mutmut is a mutation testing system for Python, with a strong focus on ease of +use. If you don't know what mutation testing is try starting with this article. + +Some highlight features: +* Found mutants can be applied on disk with a simple command making it very easy + to work with the results +* Remembers work that has been done, so you can work incrementally +* Supports all test runners (because mutmut only needs an exit code from the + test command) +* Can use coverage data to only do mutation testing on covered lines +* Battle tested on real libraries by multiple companies