Port details |
- py-pytest-console-scripts Pytest plugin for testing console scripts
- 1.4.1_1 devel
=2 1.4.1_1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2022-11-19 08:18:18
- Last Update: 2024-05-13 13:59:44
- Commit Hash: af37d0c
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/kvas-it/pytest-console-scripts
- Description:
- Pytest-console-scripts is a pytest plugin for running python scripts from within
tests. It's quite similar to subprocess.run(), but it also has an in-process
mode, where the scripts are executed by the interpreter that's running pytest
(using some amount of sandboxing).
In-process mode significantly reduces the run time of the test suites that run
many external scripts. This is speeds up development. In the CI environment
subprocess mode can be used to make sure the scripts also work (and behave the
same) when run by a fresh interpreter.
¦ ¦ ¦ ¦ 
- 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.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pytest-console-scripts>0:devel/py-pytest-console-scripts@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pytest-console-scripts/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pytest-console-scripts
- pkg install py39-pytest-console-scripts
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 py39-pytest-console-scripts listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pytest-console-scripts
- Package flavors (<flavor>: <package>)
- py39: py39-pytest-console-scripts
- distinfo:
- TIMESTAMP = 1685792294
SHA256 (pytest-console-scripts-1.4.1.tar.gz) = 5a826ed84cc0afa202eb9e44381d7d762f7bdda8e0c23f9f79a7f1f44cf4a895
SIZE (pytest-console-scripts-1.4.1.tar.gz) = 20994
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-setuptools-scm>=0 : devel/py-setuptools-scm@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-pytest>=4.0.0,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- py39-importlib-metadata>=3.6 : devel/py-importlib-metadata@py39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-pytest-console-scripts
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 7
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.4.1_1 13 May 2024 13:59:44
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pytest-console-scripts: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
1.4.1 29 Feb 2024 07:18:32
    |
Charlie Li (vishwin)  |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
1.4.1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
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> |
1.4.1 05 Jun 2023 18:47:16
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pytest-console-scripts: Update to 1.4.1
Changes: https://github.com/kvas-it/pytest-console-scripts/releases |
1.4.0 27 May 2023 23:44:02
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pytest-console-scripts: Update to 1.4.0
Changes: https://github.com/kvas-it/pytest-console-scripts/releases |
1.3.1 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.3.1 19 Nov 2022 08:09:55
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pytest-console-scripts: Add py-pytest-console-scripts 1.3.1
Pytest-console-scripts is a pytest plugin for running python scripts from within
tests. It's quite similar to subprocess.run(), but it also has an in-process
mode, where the scripts are executed by the interpreter that's running pytest
(using some amount of sandboxing).
In-process mode significantly reduces the run time of the test suites that run
many external scripts. This is speeds up development. In the CI environment
subprocess mode can be used to make sure the scripts also work (and behave the
same) when run by a fresh interpreter. |
Number of commits found: 7
|