Port details |
- py-pytest4 Simple powerful testing with Python (legacy version 4)
- 4.6.11_2,1 devel =3 4.6.11_2,1Version of this port present on the latest quarterly branch.
- Maintainer: python@FreeBSD.org
- Port Added: 2022-03-18 17:15:15
- Last Update: 2024-07-06 16:12:06
- Commit Hash: c326771
- People watching this port, also watch:: qtkeychain-qt5, py39-treq, py311-Automat, linux-c7-atk, py39-beautifulsoup
- Also Listed In: python
- License: MIT
- WWW:
- https://docs.pytest.org/en/latest/
- Description:
- The pytest testing tool makes it easy to write small tests, yet scales to
support complex functional testing.
Features:
* Detailed info on failing assert statements
* Auto-discovery of test modules and functions
* Modular fixtures to manage small or parametrized long-lived test resources
* Can run unittest (or trial), nose test suites out of the box
* Rich plugin architecture, with over 315+ external plugins
- ¦ ¦ ¦ ¦
- 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}pytest4>0:devel/py-pytest4@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/devel/py-pytest4/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pytest4
- pkg install py311-pytest4
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 py311-pytest4 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-pytest4
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1620405525
SHA256 (pytest-4.6.11.tar.gz) = 50fa82392f2120cc3ec2ca0a75ee615be4c479e66669789771f1758332be4353
SIZE (pytest-4.6.11.tar.gz) = 952305
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:
-
- py311-setuptools>=40.0 : devel/py-setuptools@py311
- py311-setuptools-scm>=0 : devel/py-setuptools-scm@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- bash : shells/bash
- lsof : sysutils/lsof
- py311-argcomplete>=0 : devel/py-argcomplete@py311
- py311-decorator>=0 : devel/py-decorator@py311
- py311-hypothesis>=3.56 : devel/py-hypothesis@py311
- py311-Jinja2>=0 : devel/py-Jinja2@py311
- py311-mock>=0 : devel/py-mock@py311
- py311-nose>=0 : devel/py-nose@py311
- py311-numpy>=0,1 : math/py-numpy@py311
- py311-pexpect>=0 : misc/py-pexpect@py311
- py311-pytest>=0 : devel/py-pytest@py311
- py311-pytest-xdist>=1.13 : devel/py-pytest-xdist@py311
- py311-requests>=0 : www/py-requests@py311
- py311-twisted>=0 : devel/py-twisted@py311
- py311-unittest2>=0 : devel/py-unittest2@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-atomicwrites>=1.0 : devel/py-atomicwrites@py311
- py311-attrs>=17.4.0 : devel/py-attrs@py311
- py311-more-itertools>=4.0.0 : devel/py-more-itertools@py311
- py311-packaging>=0 : devel/py-packaging@py311
- py311-pluggy0>=0.12<1.0 : devel/py-pluggy0@py311
- py311-py>=1.5.0 : devel/py-py@py311
- py311-six>=1.10.0 : devel/py-six@py311
- py311-wcwidth>=0 : devel/py-wcwidth@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-pytest-pep8
- devel/py-pytest-relaxed
- devel/py-pytest4-cache
- devel/py-pytest4-cov
- devel/py-pytest4-flakes
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_py-pytest4
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
4.6.11_2,1 06 Jul 2024 16:12:06 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pytest4: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
4.6.11_1,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 |
4.6.11_1,1 30 Jun 2023 07:08:07 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pytest4: Remove outdated PYTHON_REL check after lang/python37 removal |
4.6.11_1,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> |
4.6.11_1,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 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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) |
4.6.11_1,1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
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 ) |
4.6.11_1,1 26 Apr 2022 15:01:50 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pytest4: Fix RUN_DEPENDS after cd1f80795973dc010a788cdbf90cece3473e36f4
- Change RUN_DEPENDS from py-pluggy to py-pluggy0 after
- Bump PORTREVISION for dependency change |
4.6.11,1 18 Mar 2022 17:11:37 |
Dmitry Marakasov (amdmi3) |
devel/py-pytest4: preserve 4.x version of devel/py-pytest
- Preserve 4.x version of pytest for the ports which are not
compatible with pytest 6.x. This is a prerequisite for updating
pytest.
PR: 256624
Approved by: maintainer timeout (python@, many months) |