textproc/py-ini2toml 0.16 FreeBSD
Automatically conversion of .ini/.cfg files to TOML equivalents
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
e707b1fb3b- License
- MPL20
- Categories
- textproc, python
- Package size
- 104.9 KiB, 502.5 KiB installed
Description
The original purpose of this project is to help migrating setup.cfg files to PEP 621, but by extension it can also be used to convert any compatible .ini/.cfg file to TOML.
Please notice, the provided .ini/.cfg files should follow the same syntax supported by Python's ConfigParser library (here referred to as INI syntax) and more specifically abide by ConfigUpdater restrictions (e.g., no interpolation or repeated fields).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-ini2toml | 0.16 |
| OpenBSD | textproc/py-ini2toml | 0.15p1 |
| NetBSD | textproc/py-ini2toml | 0.15nb1 |
| DragonFly | textproc/py-ini2toml | 0.15 |
Install
Binary package:
pkg install py312-ini2toml
From the ports tree:
cd /usr/ports/textproc/py-ini2toml/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-ini2toml>0:textproc/py-ini2toml
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 | 0.16 | 0.16 | 0.11 | 0.15 | 0.16 |
| FreeBSD:14:quarterly | 0.16 | 0.16 | n/a | 0.15 | 0.16 |
| FreeBSD:15:latest | 0.16 | 0.16 | n/a | 0.15 | 0.15 |
| FreeBSD:15:quarterly | 0.16 | 0.16 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.16 | 0.16 | 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 3
${PYTHON_PKGNAMEPREFIX}setuptools>=61.2: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=5: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}packaging>=20.7: devel/py-packaging${PYTHON_PKGNAMEPREFIX}setuptools>=60: devel/py-setuptools
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 14
No port depends on this one.
Configuration
Options name: textproc_ini2toml
| Option | Default | Description |
|---|---|---|
| ALL | off | All optional dependencies |
| FULL | on | Create TOML document with TOML-equivalent comment |
| LITE | off | Create TOML document without comment |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| abravalheri-ini2toml-v0.16_GH0.tar.gz | 98051 | 512764bfd348f6dbfd26e5edcb5223c504fbd689510e8b02b64246b996604c95 |