From nobody Wed Oct 06 16:12:58 2021 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 183B212BE6C4; Wed, 6 Oct 2021 16:12:59 +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 4HPfcp3mz7z3w0Z; Wed, 6 Oct 2021 16:12:58 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 472822340C; Wed, 6 Oct 2021 16:12:58 +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 196GCwPE061161; Wed, 6 Oct 2021 16:12:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 196GCwxG061160; Wed, 6 Oct 2021 16:12:58 GMT (envelope-from git) Date: Wed, 6 Oct 2021 16:12:58 GMT Message-Id: <202110061612.196GCwxG061160@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: 9028a1e8f568 - main - math/py-permutation: Update 0.3.0 -> 0.3.1 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9028a1e8f5681ecae31930ad4deb99ad4b267a8c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9028a1e8f5681ecae31930ad4deb99ad4b267a8c commit 9028a1e8f5681ecae31930ad4deb99ad4b267a8c Author: Yuri Victorovich AuthorDate: 2021-10-06 15:59:42 +0000 Commit: Yuri Victorovich CommitDate: 2021-10-06 16:11:49 +0000 math/py-permutation: Update 0.3.0 -> 0.3.1 Reported by: portscout --- math/py-permutation/Makefile | 13 ++++++++++++- math/py-permutation/distinfo | 6 +++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/math/py-permutation/Makefile b/math/py-permutation/Makefile index 806988b50e65..26407ec4668f 100644 --- a/math/py-permutation/Makefile +++ b/math/py-permutation/Makefile @@ -1,5 +1,5 @@ PORTNAME= permutation -DISTVERSION= 0.3.0 +DISTVERSION= 0.3.1 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,6 +10,9 @@ COMMENT= Permutations of finitely many positive integers LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + USES= python:3.6+ USE_PYTHON= distutils autoplist @@ -21,4 +24,12 @@ pre-configure: # permutation is officially built with "build" (https://github.co ${ECHO} "setup()" \ ) > ${WRKSRC}/setup.py +do-test: install # instructions from tox.ini + @cd ${WRKSRC} && \ + coverage erase && \ + coverage run -m pytest --doctest-modules --pyargs permutation && \ + coverage run -m pytest test README.rst docs/index.rst && \ + coverage combine && \ + coverage report + .include diff --git a/math/py-permutation/distinfo b/math/py-permutation/distinfo index dcd041a24fd8..b2504a4808b1 100644 --- a/math/py-permutation/distinfo +++ b/math/py-permutation/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1608707865 -SHA256 (permutation-0.3.0.tar.gz) = 61cff29def92d72cd828d6866a6a01d03e4a4191d798a73e9ce08c0907b01ba9 -SIZE (permutation-0.3.0.tar.gz) = 16951 +TIMESTAMP = 1633535476 +SHA256 (permutation-0.3.1.tar.gz) = fb0f87097546d4ad222169601a5c2663485ed8cac2b244e7c81c27604c1a62b7 +SIZE (permutation-0.3.1.tar.gz) = 16930