From nobody Mon Aug 22 06:01:52 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 4MB1w11HwFz4ZvqN; Mon, 22 Aug 2022 06:01:53 +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 4MB1w10Sndz3JBv; Mon, 22 Aug 2022 06:01:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661148113; 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=j2Aj1XlX9WjQMm5a0NUMBfadQo2ZJNbBsiltLlcQj0g=; b=V/T/CoUgeAt+EDWj/MVa6mgJiPgDsibV5zbXAj4YFaDeP776v/5AwW/Ws9+lmFjE5m5fg/ nnJ1unbglh6czPsh6e4EHqWK6MRsILdA5mXGgfvNtSd/AlOo5SW5iJ7as5eoicC5t1HP8S Sh5UOY469eHB4YWafzc//TqynpJkt9MDiexE8sZT8Lu31jfBzWnH013uilnVthXl+1Z840 GX20KL4830v+l/vlAPkUSfHZkA5XsFo+bDzHZD4dWvU5opM+wVZ4yGmMSOD+EsWitvcbJ4 +n2jSu3asQSKpE4E8bx5dc53Zb6+7kMK3ThfoJDmflJtK3/WE5F0wUGZu02i0g== 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 4MB1w06hFnzfsZ; Mon, 22 Aug 2022 06:01:52 +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 27M61qA4078618; Mon, 22 Aug 2022 06:01:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27M61qxg078617; Mon, 22 Aug 2022 06:01:52 GMT (envelope-from git) Date: Mon, 22 Aug 2022 06:01:52 GMT Message-Id: <202208220601.27M61qxg078617@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: 3f3f7a26800c - main - devel/py-pytest-mpl: New port: Pytest plugin to facilitate image comparison for Matplotlib figures 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: 3f3f7a26800cf77f964ba9e96f9800dc050305aa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661148113; 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=j2Aj1XlX9WjQMm5a0NUMBfadQo2ZJNbBsiltLlcQj0g=; b=aKBt3YJqOvFqDPqZIpYAyK/Dv7kAtphFPe52k77JShWUXqFlqcHi4/wNfs6461IXa8RkmZ x07UBLp0Z2ChfDJxhJY2Qah+KrI7RdZwH+YSvG8fDl8DNoWl+JoOT10SUkHojWul/popAE likZRzRxaaRLYOQUZ5Nzo8CsrTmqLzXTTUp+YNtIJprslVM9p8Q03PKZIqvFX8EQTXlJuV Bz+RfM3/nD17TYYiR0mJrZpFWoRFp1E8x2IJPRV6h0eGqMQ8zDGKd0UL3NeWmstq87uNuA dfDWmwc2w2TpANoTjRAWjvDHurNFF8wAMvuRRjwdPsODXOhI1EWXViPr9KXVtw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661148113; a=rsa-sha256; cv=none; b=D2Cya8SA/ivVnJw9f/wq/2L99G97e6mmr9STPqvxEEZ6euOHIz/gWSGJNfq0guDfgRfHFL 9VpnliWiZjO7fspjtQdVbtNi6b0tSU3q7yOynWQrrql8rPFs4QxaCZnumtDO54nTrZyhTW aVB5J8SiqlWrpokiCKMWzCqs+Xn/07zpPzn8d3rrQAKITEZGrI2PHNpkh3jJn34rFbkzOH DTTJX4WYHWBI4AFQ7jsp8v/Ult/WaJW45CSBbozQHATdcxIk4vzCaJjGInM59ejfxcpIq6 Lh5ZHzFjFLUfyJjKjGWRazYGtMdxSBYLn/uW4+g6Nf8HluskSxWVeIGzrjFu8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f3f7a26800cf77f964ba9e96f9800dc050305aa commit 3f3f7a26800cf77f964ba9e96f9800dc050305aa Author: Yuri Victorovich AuthorDate: 2022-08-22 06:00:56 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-22 06:01:48 +0000 devel/py-pytest-mpl: New port: Pytest plugin to facilitate image comparison for Matplotlib figures --- devel/Makefile | 1 + devel/py-pytest-mpl/Makefile | 26 ++++++++++++++++++++++++++ devel/py-pytest-mpl/distinfo | 3 +++ devel/py-pytest-mpl/pkg-descr | 4 ++++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index e7049c5222d2..ffda1059c384 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5106,6 +5106,7 @@ SUBDIR += py-pytest-markdown SUBDIR += py-pytest-metadata SUBDIR += py-pytest-mock + SUBDIR += py-pytest-mpl SUBDIR += py-pytest-mutagen SUBDIR += py-pytest-mypy SUBDIR += py-pytest-nunit diff --git a/devel/py-pytest-mpl/Makefile b/devel/py-pytest-mpl/Makefile new file mode 100644 index 000000000000..35caf8d80241 --- /dev/null +++ b/devel/py-pytest-mpl/Makefile @@ -0,0 +1,26 @@ +PORTNAME= pytest-mpl +DISTVERSION= 0.16.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pytest plugin to facilitate image comparison for Matplotlib figures + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= distutils autoplist pytest # 4 tests fail, see https://github.com/matplotlib/pytest-mpl/issues/179 + +NO_ARCH= yes + +.include diff --git a/devel/py-pytest-mpl/distinfo b/devel/py-pytest-mpl/distinfo new file mode 100644 index 000000000000..4e5aecb57d59 --- /dev/null +++ b/devel/py-pytest-mpl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661129725 +SHA256 (pytest-mpl-0.16.1.tar.gz) = 2d571681124e8ff5f4e2b9c0d047d37d0499d6b6d8f2f49a1b50cdd993104469 +SIZE (pytest-mpl-0.16.1.tar.gz) = 663585 diff --git a/devel/py-pytest-mpl/pkg-descr b/devel/py-pytest-mpl/pkg-descr new file mode 100644 index 000000000000..62d429274e51 --- /dev/null +++ b/devel/py-pytest-mpl/pkg-descr @@ -0,0 +1,4 @@ +pytest-mpl is a plugin to facilitate image comparison for Matplotlib figures +in pytest. + +WWW: https://github.com/matplotlib/pytest-mpl