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
| System | Port | Version |
|---|---|---|
| OpenBSD | textproc/py-ini2toml | 0.15p1 |
| FreeBSD | textproc/py-ini2toml | 0.16 |
| NetBSD | textproc/py-ini2toml | 0.15nb1 |
| DragonFly | textproc/py-ini2toml | 0.15 |
| HardenedBSD | textproc/py-ini2toml | 0.16 |
| GhostBSD | textproc/py-ini2toml | 0.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.