devel/py-pytest-examples 0.0.18 MidnightBSD
Py.test plugin for testing examples in docstrings and markdown files
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
8af06753b2- License
- mit
- Categories
- devel, python
Description
Pytest plugin for testing Python code examples in docstrings and markdown files.
pytest-examples can: * lint code examples using ruff and black * run code examples * run code examples and check print statements are inlined correctly in the code
It can also update code examples in place to format them and insert or update print statements.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-pytest-examples | 0.0.18 |
| FreeBSD | devel/py-pytest-examples | 0.0.18 |
| HardenedBSD | devel/py-pytest-examples | 0.0.18 |
| GhostBSD | devel/py-pytest-examples | 0.0.18 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}pytest-examples
From mports:
cd /usr/mports/devel/py-pytest-examples && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-examples>0:devel/py-pytest-examples
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
Runtime 3
${PYTHON_PKGNAMEPREFIX}black>=23: devel/py-black${PYTHON_PKGNAMEPREFIX}pytest>=7: devel/py-pytest${PYTHON_PKGNAMEPREFIX}ruff>=0.5.0: devel/py-ruff
Test 3
${PYTHON_PKGNAMEPREFIX}coverage>=0: devel/py-coverage${PYTHON_PKGNAMEPREFIX}pytest-pretty>0: devel/py-pytest-pretty${PYTHON_PKGNAMEPREFIX}ruff>=0.5.0: devel/py-ruff
Build dependencies 1
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytest_examples-0.0.18.tar.gz | 21237 | 9a464f007f805b113677a15e2f8942ebb92d7d3eb5312e9a405d018478ec9801 |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
8af06753b2 |
Lucas Holt | databases/rubygem-flipper-active_record-rails70: update to 1.3.6 Match the flipper-gitlab provider series so fake-qa can satisfy the gemspec flipper dependency.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |