Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
py-testscenarios PyUnit extension for dependency injection
0.7.0 devel Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.7.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-04-04 18:50:51
Last Update: 2026-09-29 19:24:52
Commit Hash: a2a7d94
Also Listed In: python
License: APACHE20 BSD3CLAUSE
WWW:
https://github.com/testing-cabal/testscenarios
Description: #
Testscenarios provides clean dependency injection for python unittest style tests. This can be used for interface testing (testing many implementations via a single test suite) or for classic dependency injection (provide tests with dependencies externally to the test code itself, allowing easy testing in different situations).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}testscenarios>0:devel/py-testscenarios@${PY_FLAVOR}
To install the port: #
cd /usr/ports/devel/py-testscenarios/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-testscenarios
  • pkg install py312-testscenarios
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-testscenarios listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-testscenarios
Package flavors (<flavor>: <package>) #
  • py312: py312-testscenarios
distinfo: #
TIMESTAMP = 1790435842 SHA256 (testscenarios-0.7.0.tar.gz) = da185ee316d877021beb6395f2d80ced22a99c2876c42d54994e3bad3c3daf4d SIZE (testscenarios-0.7.0.tar.gz) = 19184

Packages (timestamps in pop-ups are UTC): #
py39-testscenarios
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest--0.5.0--
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py311-testscenarios
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---0.5.0_1-
FreeBSD:14:quarterly---0.5.0_1-
FreeBSD:15:latest--n/a0.5.0_1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py312-testscenarios
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.7.00.7.0--0.7.0
FreeBSD:14:quarterly0.7.00.7.0--0.7.0
FreeBSD:15:latest0.7.00.7.0n/a-n/a
FreeBSD:15:quarterly0.7.00.7.0n/a-n/a
FreeBSD:16:latest0.7.00.7.0n/a-n/a
 
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-hatch-vcs>=0 : devel/py-hatch-vcs@py312
  2. py312-hatchling>=0 : devel/py-hatchling@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
This port is required by: #
for Run #
  1. devel/py-oslo.db

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/py-oslo.db6*
  2. Collapse this list of deleted ports.
for Test #
  1. devel/py-bandit
  2. devel/py-pytest-translations

Configuration Options: #
No options to configure
Options name: #
devel_py-testscenarios
USES: #
python
FreshPorts was unable to extract/find any pkg message #
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/t/testscenarios/
  2. https://pypi.org/packages/source/t/testscenarios/
Collapse this list.

Number of commits found: 13 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.7.0
29 Sep 2026 19:24:52
commit hash: a2a7d944265143c9934741a0ba82c5e6805d039ccommit hash: a2a7d944265143c9934741a0ba82c5e6805d039ccommit hash: a2a7d944265143c9934741a0ba82c5e6805d039ccommit hash: a2a7d944265143c9934741a0ba82c5e6805d039c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-testscenarios: Update to 0.7.0

Changes:	https://github.com/testing-cabal/testscenarios/blob/master/NEWS
0.5.0_1
13 May 2024 14:00:32
commit hash: 5eebece563f0e17337928a176d4dc0fcd591b3bbcommit hash: 5eebece563f0e17337928a176d4dc0fcd591b3bbcommit hash: 5eebece563f0e17337928a176d4dc0fcd591b3bbcommit hash: 5eebece563f0e17337928a176d4dc0fcd591b3bb files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-testscenarios: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
0.5.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.5.0
05 Apr 2023 17:30:35
commit hash: d9f7cdf4b63155881cab95054e937ec4b30f44b4commit hash: d9f7cdf4b63155881cab95054e937ec4b30f44b4commit hash: d9f7cdf4b63155881cab95054e937ec4b30f44b4commit hash: d9f7cdf4b63155881cab95054e937ec4b30f44b4 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-testscenarios: Update WWW
0.5.0
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.5.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.5.0
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.5.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.5.0
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
0.5.0
20 Jun 2018 17:05:44
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
0.5.0
25 Apr 2018 16:42:38
Revision:468282Original commit files touched by this commit
amdmi3 search for other commits by this committer
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
0.5.0
04 Apr 2018 18:50:14
Revision:466453Original commit files touched by this commit
sunpoet search for other commits by this committer
Add py-testscenarios 0.5.0

Testscenarios provides clean dependency injection for python unittest style
tests. This can be used for interface testing (testing many implementations via
a single test suite) or for classic dependency injection (provide tests with
dependencies externally to the test code itself, allowing easy testing in
different situations).

WWW: https://pypi.python.org/pypi/testscenarios

Number of commits found: 13