Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
F
FreeBSD ports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
FreeBSD
FreeBSD ports
Commits
c223fbe1
Commit
c223fbe1
authored
9 months ago
by
Älven
Committed by
Gleb Popov
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
devel/py-noseofyeti: Update to 2.4.9
PR: 279329
parent
81eb1a73
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
devel/py-noseofyeti/Makefile
+4
-5
4 additions, 5 deletions
devel/py-noseofyeti/Makefile
devel/py-noseofyeti/distinfo
+3
-3
3 additions, 3 deletions
devel/py-noseofyeti/distinfo
devel/py-noseofyeti/pkg-descr
+9
-8
9 additions, 8 deletions
devel/py-noseofyeti/pkg-descr
with
16 additions
and
16 deletions
devel/py-noseofyeti/Makefile
+
4
−
5
View file @
c223fbe1
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'
...
...
This diff is collapsed.
Click to expand it.
devel/py-noseofyeti/distinfo
+
3
−
3
View file @
c223fbe1
TIMESTAMP = 171
0051985
SHA256 (delfick-nose-of-yeti-release-2.4.
8
_GH0.tar.gz) =
f58afa46db5a830ec6a4cea4f3991e116b2453209283ca542db80e4adbcdcc
08
SIZE (delfick-nose-of-yeti-release-2.4.
8
_GH0.tar.gz) = 453
10
TIMESTAMP = 171
6743966
SHA256 (delfick-nose-of-yeti-release-2.4.
9
_GH0.tar.gz) =
687f9bd446bf4c027fac7e7ec0f02c26312b7d976802f30cefebb23840243d
08
SIZE (delfick-nose-of-yeti-release-2.4.
9
_GH0.tar.gz) = 453
38
This diff is collapsed.
Click to expand it.
devel/py-noseofyeti/pkg-descr
+
9
−
8
View file @
c223fbe1
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment