BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-conditional2.2
DragonFlydevel/py-conditional1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.22.21.31.3_12.2
FreeBSD:14:quarterly2.22.2n/a1.3_12.2
FreeBSD:15:latest2.22.2n/a1.3_11.3_1
FreeBSD:15:quarterly2.22.2n/an/an/a
FreeBSD:16:latest2.22.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Test 2

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
FileSizeSHA256
conditional-2.2.tar.gz8121e8c3b1a534d7deb36284b3dccc5074f9b2543608b666011cac85c5aac88b5601
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
09c6207196 Steven Kreuzer devel/py-conditional: Update 1.3 => 2.2
- Switch to pep517 build (upstream moved to setuptools) - Drop the zip USES (upstream now ships an sdist tarball) - Add NO_ARCH - Modernize do-test to use pytest Changelog: https://github.com/stefanholek/conditional/releases/tag/2.2