BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-banal1.1.2
DragonFlydevel/py-banal1.0.6_1
HardenedBSDdevel/py-banal1.1.2
GhostBSDdevel/py-banal1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.21.1.21.0.11.0.6_11.1.2
FreeBSD:14:quarterly1.1.21.1.2n/a1.0.6_11.1.2
FreeBSD:15:latest1.1.21.1.2n/a1.0.6_11.0.6_1
FreeBSD:15:quarterly1.1.21.1.2n/an/an/a
FreeBSD:16:latest1.1.21.1.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

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

Build dependencies 19
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pudo-banal-1.1.2_GH0.tar.gz92554fa13afa462b7c601163fd5fa970c51ee24ebc8291c3fbc0598bdf2c2ed18a68

Commit history 1

DateCommitCreditsLog message
b2c5f5dcd9 Kai Knoblich devel/py-banal: Update to 1.1.2
* Switch to the PEP517 build framework. * Use GitHub for a while because no sdist tarballs are available at PyPI. Changelog since 1.0.6: