Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-expecttest: New port:Implementation of expect tests
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1707768829 | ||
SHA256 (expecttest-0.2.1.tar.gz) = e52b1cf8a6f84506e6962a0bbdd248ea442124d826e849f263ec1c322ebb73f5 | ||
SIZE (expecttest-0.2.1.tar.gz) = 6873 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |