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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.2_1 | 2.0.2_1 | 2.0.2 | 2.0.2_1 | 2.0.2_1 |
| FreeBSD:14:quarterly | 2.0.2_1 | 2.0.2_1 | n/a | 2.0.2_1 | 2.0.2_1 |
| FreeBSD:15:latest | 2.0.2_1 | 2.0.2_1 | n/a | 2.0.2_1 | 2.0.2_1 |
| FreeBSD:15:quarterly | 2.0.2_1 | 2.0.2_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.2_1 | 2.0.2_1 | 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 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
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
| File | Size | SHA256 |
|---|---|---|
| first-2.0.2.tar.gz | 6964 | ff285b08c55f8c97ce4ea7012743af2495c9f1291785f163722bd36f6af6d3bf |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.