devel/py-banal 1.1.2 FreeBSD
Commons of banal micro-functions for Python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
b2c5f5dcd9- License
- MIT
- Categories
- devel, python
- Package size
- 12.3 KiB, 41.1 KiB installed
Description
Commons of Python micro-functions. This is basically an out-sourced, shared utils module.
Rules:
- Cannot depend on anything except the standard library
Functions:
- is_sequence: check if something is list-ish
- is_mapping: check if an object is dict-ish
- ensure_list: make sure an argument is a list, or make it into a single-element list
- clean_dict: remove null values from a dict, recursively
- decode_path: decode a path name to be unicode
- hash_data: generate a SHA1 from a dict of reasonable objects
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-banal | 1.1.2 |
| DragonFly | devel/py-banal | 1.0.6_1 |
| HardenedBSD | devel/py-banal | 1.1.2 |
| GhostBSD | devel/py-banal | 1.1.2 |
Install
Binary package:
pkg install py312-banal
From the ports tree:
cd /usr/ports/devel/py-banal/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-banal>0:devel/py-banal
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 | 1.1.2 | 1.1.2 | 1.0.1 | 1.0.6_1 | 1.1.2 |
| FreeBSD:14:quarterly | 1.1.2 | 1.1.2 | n/a | 1.0.6_1 | 1.1.2 |
| FreeBSD:15:latest | 1.1.2 | 1.1.2 | n/a | 1.0.6_1 | 1.0.6_1 |
| FreeBSD:15:quarterly | 1.1.2 | 1.1.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.2 | 1.1.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}hatchling>0: devel/py-hatchling
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pudo-banal-1.1.2_GH0.tar.gz | 9255 | 4fa13afa462b7c601163fd5fa970c51ee24ebc8291c3fbc0598bdf2c2ed18a68 |