Skip to content
Snippets Groups Projects
Commit c223fbe1 authored by Älven's avatar Älven Committed by Gleb Popov
Browse files

devel/py-noseofyeti: Update to 2.4.9

PR:		279329
parent 81eb1a73
No related branches found
No related tags found
No related merge requests found
PORTNAME= noseofyeti
DISTVERSIONPREFIX=release-
DISTVERSION= 2.4.8
DISTVERSION= 2.4.9
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= arrowd@FreeBSD.org
COMMENT= Python codec that provides an RSpec style DSL for Python
WWW= https://github.com/delfick/nose-of-yeti
WWW= https://github.com/delfick/nose-of-yeti/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
......@@ -17,13 +17,12 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
USES= python
USE_GITHUB= yes
GH_ACCOUNT= delfick
GH_PROJECT= nose-of-yeti
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
GH_ACCOUNT= delfick
GH_PROJECT= nose-of-yeti
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
-k 'not test_registering_codec_doesnt_lead_to_error'
......
TIMESTAMP = 1710051985
SHA256 (delfick-nose-of-yeti-release-2.4.8_GH0.tar.gz) = f58afa46db5a830ec6a4cea4f3991e116b2453209283ca542db80e4adbcdcc08
SIZE (delfick-nose-of-yeti-release-2.4.8_GH0.tar.gz) = 45310
TIMESTAMP = 1716743966
SHA256 (delfick-nose-of-yeti-release-2.4.9_GH0.tar.gz) = 687f9bd446bf4c027fac7e7ec0f02c26312b7d976802f30cefebb23840243d08
SIZE (delfick-nose-of-yeti-release-2.4.9_GH0.tar.gz) = 45338
noseOfYeti creates a custom Python codec that lets you write your tests using an
RSpec inspired DSL (i.e. `describe` and `it` blocks). It uses the fact that you
can register a codec that is able to modify a Python file before executing it.
Using this we can make it so that when Python imports a file with a particular
encoding as the first line of the file it will be intercepted and potentially
rewritten into something else before the import continues.
noseOfYeti creates a custom Python codec that lets you write your tests
using an RSpec inspired DSL (i.e. `describe` and `it` blocks). It uses the
fact that you can register a codec that is able to modify a Python file
before executing it. Using this we can make it so that when Python imports
a file with a particular encoding as the first line of the file it will be
intercepted and potentially rewritten into something else before the import
continues.
noseOfYeti uses this technique to translate from the DSL it defines, into
Python classes and functions that then will be executed by your test framework
of choice.
Python classes and functions that then will be executed by your test
framework of choice.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment