BSD Ports

textproc/py-ini2toml 0.15 DragonFly

Automatically conversion of .ini/.cfg files to TOML equivalents

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MPL20
Categories
python, textproc
Package size
101.2 KiB, 567.1 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

SystemPortVersion
DragonFlytextproc/py-ini2toml0.15
FreeBSDtextproc/py-ini2toml0.16
OpenBSDtextproc/py-ini2toml0.15p1
NetBSDtextproc/py-ini2toml0.15nb1
HardenedBSDtextproc/py-ini2toml0.16
GhostBSDtextproc/py-ini2toml0.15

Install

Binary package:

pkg install py311-ini2toml

From DPorts:

cd /usr/dports/textproc/py-ini2toml && make install clean

Dependencies

Run dependencies 5

No port depends on this one.