BSD Ports

textproc/py-ini2toml 0.15p1 OpenBSD

convert .ini/.cfg files to TOML equivalents

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
textproc, lang/python

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
OpenBSDtextproc/py-ini2toml0.15p1
FreeBSDtextproc/py-ini2toml0.16
NetBSDtextproc/py-ini2toml0.15nb1
DragonFlytextproc/py-ini2toml0.15
HardenedBSDtextproc/py-ini2toml0.16
GhostBSDtextproc/py-ini2toml0.15

Install

Binary package:

pkg_add py3-ini2toml

From the ports tree:

cd /usr/ports/textproc/py-ini2toml && make install

Dependencies

Build dependencies 6
Run dependencies 2

No port depends on this one.