From nobody Sat Aug 27 10:30:42 2022 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 4MFCdt6pyfz4b4Y8; Sat, 27 Aug 2022 10:30:42 +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 4MFCdt5ZJpz3wdm; Sat, 27 Aug 2022 10:30:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596242; 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=+UNaI/5+Fs3+n0riFR2wagJNf+2hr+rk1JCtGL+NJN0=; b=SGoXJDia4N1gikI5GuY/DwQ3P0BP7piVCWFQeKwidZgkLahU9yHWrlyoSC9a/WfihGBXf9 FEVgWNzvZH8KPTaHPH+iH3JQcVTBFufVx+0QRED2D4me94dsXrXSgO7SjDubHx2eM8C7+R ssKk5jaL1r3jJ2+21VZU6UnZ0o7Ke6z9gmyPbs26k19Tj30SsAmYX7LmicvGciqy7xr4R9 rLjQ540tUawtARZxOph4yzmoDjlRAeecKIqK0sugfcoxqC4mTtHSQZrWL9QYhWeREuu0PS B9BTaVuNzAw4AaHZKPaZKIob5M1tkB33BOsjopcZkF6gJsa4/hpJrf0Iv3PVoQ== 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 4MFCdt4Shlzjlp; Sat, 27 Aug 2022 10:30:42 +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 27RAUg65047114; Sat, 27 Aug 2022 10:30:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27RAUgBV047113; Sat, 27 Aug 2022 10:30:42 GMT (envelope-from git) Date: Sat, 27 Aug 2022 10:30:42 GMT Message-Id: <202208271030.27RAUgBV047113@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: b7e212657dca - main - devel/py-pytest-profiling: Add py-pytest-profiling 1.7.0 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: b7e212657dca2afc5ab6232923ac7a60aa842e69 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596242; 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=+UNaI/5+Fs3+n0riFR2wagJNf+2hr+rk1JCtGL+NJN0=; b=nL5BUcdOdCwwZDOIhxc8qkjsr1pyh73ADIoGQTi1xvKf0wRyl/1O1muc4uRo5s22yud0x+ 7IajoPv+RvIfOEeSGPwDx1TFHbPRahxXN6r+rfYon0WS8ZoKgBEBeCbZ07eyQgnggntz3Q fC0aWm9r1vHPfjFxkpG+HHHVdWn1+koPTl3hnO8Z+eLEnGZfj9gicqumNmZOChRo4/if2x ptsCfgd0TScoKpTNBaMJmoUrIe7meujstxY7fZQgMmSPW0BXx8EbX5oS5ZlBr4apha8Ebx 5curjgIa1YI81mmIe0n0351MvUoysSq57OzFlYL/4QRnrt71lpVjXjURzM++XA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661596242; a=rsa-sha256; cv=none; b=ubQmYlQ/Wf6fbvPwpIsPuTPtMB34zB4bPnikUWd5q1nW/8YTcPqzlORuUcE2Ll02lKsnBI LSTogS1KPdSUrD7wGJR1TCFAMVPnPWmyCCRy0ZA52B7m3LBLrKydKrE41rlYmfEapa50Qk /UNgM0WfFlJ7XlUlIJfsrEOp+QTM9dczqEZBwqidJlpv+hWyCtf/6JLgIW/SX29i2gTYZt VtD76j9XsdbqCeAESLBKli9bbqLZASJBkUkTi4b3ComIdCz/OOSpHAOx4EJtnB4hhASsw9 DldqfHmqjc1MOYGau8NTH3w9aaUnL7sPlUqt61S0/Ge7Ons3RlrSIT5I6FMdjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b7e212657dca2afc5ab6232923ac7a60aa842e69 commit b7e212657dca2afc5ab6232923ac7a60aa842e69 Author: Po-Chuan Hsieh AuthorDate: 2022-08-27 10:10:26 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-27 10:10:26 +0000 devel/py-pytest-profiling: Add py-pytest-profiling 1.7.0 Profiling plugin for pytest, with tabular and heat graph output. Tests are profiled with cProfile and analysed with pstats; heat graphs are generated using gprof2dot and dot. WWW: https://github.com/man-group/pytest-plugins/tree/master/pytest-profiling --- devel/Makefile | 1 + devel/py-pytest-profiling/Makefile | 23 +++++++++++++++++++++++ devel/py-pytest-profiling/distinfo | 3 +++ devel/py-pytest-profiling/pkg-descr | 6 ++++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 15116d65e815..07b33620493a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5118,6 +5118,7 @@ SUBDIR += py-pytest-nunit SUBDIR += py-pytest-pep8 SUBDIR += py-pytest-plus + SUBDIR += py-pytest-profiling SUBDIR += py-pytest-pycodestyle SUBDIR += py-pytest-randomly SUBDIR += py-pytest-regressions diff --git a/devel/py-pytest-profiling/Makefile b/devel/py-pytest-profiling/Makefile new file mode 100644 index 000000000000..afd568851fb1 --- /dev/null +++ b/devel/py-pytest-profiling/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pytest-profiling +PORTVERSION= 1.7.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Profiling plugin for py.test + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-git>=0:devel/py-setuptools-git@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gprof2dot>=0:graphics/py-gprof2dot@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-pytest-profiling/distinfo b/devel/py-pytest-profiling/distinfo new file mode 100644 index 000000000000..48e8619a9dc7 --- /dev/null +++ b/devel/py-pytest-profiling/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660576684 +SHA256 (pytest-profiling-1.7.0.tar.gz) = 93938f147662225d2b8bd5af89587b979652426a8a6ffd7e73ec4a23e24b7f29 +SIZE (pytest-profiling-1.7.0.tar.gz) = 30985 diff --git a/devel/py-pytest-profiling/pkg-descr b/devel/py-pytest-profiling/pkg-descr new file mode 100644 index 000000000000..6b5170e51c71 --- /dev/null +++ b/devel/py-pytest-profiling/pkg-descr @@ -0,0 +1,6 @@ +Profiling plugin for pytest, with tabular and heat graph output. + +Tests are profiled with cProfile and analysed with pstats; heat graphs are +generated using gprof2dot and dot. + +WWW: https://github.com/man-group/pytest-plugins/tree/master/pytest-profiling