FreeBSD Ports

devel/py-first 2.0.2_1

Return the first true value of an iterable

Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
6.4 KiB, 15.1 KiB installed

Description

first is an MIT licensed Python package with a simple function that returns the first true value from an iterable, or None if there is none. If you need more power, you can also supply a key function that is used to judge the truth value of the element or a default value if None doesn't fit your use case.

Install

As a binary package — by origin, or by package name:

pkg install devel/py-first
pkg install py312-first

From the ports tree:

cd /usr/ports/devel/py-first/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-first>0:devel/py-first

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.0.2_12.0.2_12.0.22.0.2_12.0.2_1
FreeBSD:14:quarterly2.0.2_12.0.2_1n/a2.0.2_12.0.2_1
FreeBSD:15:latest2.0.2_12.0.2_1n/a2.0.2_12.0.2_1
FreeBSD:15:quarterly2.0.2_12.0.2_1n/an/an/a
FreeBSD:16:latest2.0.2_12.0.2_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

All build dependencies 16
All run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
first-2.0.2.tar.gz6964ff285b08c55f8c97ce4ea7012743af2495c9f1291785f163722bd36f6af6d3bf
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.