From nobody Mon Feb 12 23:07:39 2024 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 4TYg8q5F1rz598XJ; Mon, 12 Feb 2024 23:07:39 +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 4TYg8q4gyHz4VYr; Mon, 12 Feb 2024 23:07:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707779259; 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=QrNdMrHQ9jmP+JDbZ96e3dZyHNhIxfOuO7sNNhlsFUc=; b=ThE/K28OA5NDwhbIu65XVgkCmIrnGsw72HEthAOx1taq2fFzLqHho+XJNkCH3pTt2UBSRL tNXgG/zEyOWjlK/M9EC8Xh/iuRpH8zNPXnuH67IeaYEQcpL0lyHrYxIDUQpNs5gGPJnqwn zLZan1yVEOn1EL0cZ7gUWhRkCYRHCN78BkLzdKd42AAZC5mOkpJwzTC/YI/bVeV4PUR1Kh jkStFWGjRNR18ckfPIlwmJ/4KgvVT/8T/bzgrch7XaOH9zzYFojsGU7O548AIva2Ie2Afn NBD/WK+Z69XH5/H6nbyfKdUCYpcg5XVJ7pf6+tboyU2yMJ7/A3STPyPEMMRfUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707779259; a=rsa-sha256; cv=none; b=yhP1IoMf6iypmPal7S8PJYZmSX3EDPM1kBr8t2NQY7rlyOMiAKT55RW6AvcTfthkIlCFsy F5d2X4rflXlhm+0IspZLaGYoxcGmAsWFI1/DyxBUerEWGwrb2nEyLrBx0DX6nAIYOLumJB w1mfT1ZWr70ClbAbxkpXVjeONAI79RQ6eopMlW3qHN9/dbV+gLB+cLvyGdU5BP/tj/GLzu /3VIveMTQYURpkl5Iuh1XmZdOiXLUtzZlEMFsHE3XPIDoFmPG6Sds7gTG4MatDTOLRZd1/ rb889KBHxauxi65AoH653MdlurwlaPhFEiGRkhGEC3Zv2VX/Qn6rlCjnmlzz3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707779259; 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=QrNdMrHQ9jmP+JDbZ96e3dZyHNhIxfOuO7sNNhlsFUc=; b=E7rEFORRzjBa3F9l8sMHbB03BfK1DDIcF9Fz/Xs87FvfTRZxb6LVZluF9+TD/UoLseQvzC tcKER+jj/fpoAfsL3QJYAGppqwUUl2UD3LXpJALgJEaC1LwMexmzsnWnHgNQnrfUC/79E0 mByXuEpeOmyg7NFAbScl8NnxUQ0TYO5eiAkFuxfiRmzq793P1J1uvgkZztWjB89OeZNmR4 UTU5ie9aeMVJAHxiAcJI04M3UUk+JwLNfwivGiqhliIDTQGoa/Ixl0eZMGLV3WYeogZMb3 M08MjuEVeb0k/yjFIWyL+wnx4iSpnYOh/1E3mh46j8OiUUkLdHCFFwyLpqXocg== 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 4TYg8q3l83zrBp; Mon, 12 Feb 2024 23:07:39 +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 41CN7dhr053182; Mon, 12 Feb 2024 23:07:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41CN7dbh053179; Mon, 12 Feb 2024 23:07:39 GMT (envelope-from git) Date: Mon, 12 Feb 2024 23:07:39 GMT Message-Id: <202402122307.41CN7dbh053179@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: e4dafddcdb49 - main - devel/py-expecttest: New port:Implementation of expect tests 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: e4dafddcdb495751bc4184f10f54b6120b80703c Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e4dafddcdb495751bc4184f10f54b6120b80703c commit e4dafddcdb495751bc4184f10f54b6120b80703c Author: Yuri Victorovich AuthorDate: 2024-02-12 14:27:04 +0000 Commit: Yuri Victorovich CommitDate: 2024-02-12 23:07:34 +0000 devel/py-expecttest: New port:Implementation of expect tests --- devel/Makefile | 1 + devel/py-expecttest/Makefile | 22 ++++++++++++++++++++++ devel/py-expecttest/distinfo | 3 +++ devel/py-expecttest/pkg-descr | 6 ++++++ 4 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index ef3a30fd6239..314c71d0d873 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4651,6 +4651,7 @@ SUBDIR += py-exceptiongroup SUBDIR += py-executing SUBDIR += py-expandvars + SUBDIR += py-expecttest SUBDIR += py-expiringdict SUBDIR += py-extras SUBDIR += py-extremes diff --git a/devel/py-expecttest/Makefile b/devel/py-expecttest/Makefile new file mode 100644 index 000000000000..344468acf801 --- /dev/null +++ b/devel/py-expecttest/Makefile @@ -0,0 +1,22 @@ +PORTNAME= expecttest +DISTVERSION= 0.2.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Implementation of expect tests +WWW= https://github.com/ezyang/expecttest + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include diff --git a/devel/py-expecttest/distinfo b/devel/py-expecttest/distinfo new file mode 100644 index 000000000000..a26628cb058f --- /dev/null +++ b/devel/py-expecttest/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707768829 +SHA256 (expecttest-0.2.1.tar.gz) = e52b1cf8a6f84506e6962a0bbdd248ea442124d826e849f263ec1c322ebb73f5 +SIZE (expecttest-0.2.1.tar.gz) = 6873 diff --git a/devel/py-expecttest/pkg-descr b/devel/py-expecttest/pkg-descr new file mode 100644 index 000000000000..8843252d9cf2 --- /dev/null +++ b/devel/py-expecttest/pkg-descr @@ -0,0 +1,6 @@ +The expecttest library implements expect tests (also known as "golden" tests). +Expect tests are a method of writing tests where instead of hard-coding the +expected output of a test, you run the test to get the output, and the test +framework automatically populates the expected output. If the output of the +test changes, you can rerun the test with the environment variable +EXPECTTEST_ACCEPT=1 to automatically update the expected output.