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