devel/py-conditional 2.2 FreeBSD
Conditionally enter a context manager
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
09c6207196- License
- BSD2CLAUSE
- Categories
- devel, python
- Package size
- 6.5 KiB, 13.2 KiB installed
Description
The conditional context manager comes handy when you always want to execute a with-block but only conditionally want to apply its context manager.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-conditional | 2.2 |
| DragonFly | devel/py-conditional | 1.3_1 |
Install
Binary package:
pkg install py312-conditional
From the ports tree:
cd /usr/ports/devel/py-conditional/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-conditional>0:devel/py-conditional
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.2 | 2.2 | 1.3 | 1.3_1 | 2.2 |
| FreeBSD:14:quarterly | 2.2 | 2.2 | n/a | 1.3_1 | 2.2 |
| FreeBSD:15:latest | 2.2 | 2.2 | n/a | 1.3_1 | 1.3_1 |
| FreeBSD:15:quarterly | 2.2 | 2.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.2 | 2.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Test 2
${PYTHON_PKGNAMEPREFIX}flexmock>=0.10.5: devel/py-flexmock${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| conditional-2.2.tar.gz | 8121 | e8c3b1a534d7deb36284b3dccc5074f9b2543608b666011cac85c5aac88b5601 |
Master sites 1
- PYPI