BSD Ports

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

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.160.160.110.150.16
FreeBSD:14:quarterly0.160.16n/a0.150.16
FreeBSD:15:latest0.160.16n/a0.150.15
FreeBSD:15:quarterly0.160.16n/an/an/a
FreeBSD:16:latest0.160.16n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 2

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

OptionDefaultDescription
ALLoffAll optional dependencies
FULLonCreate TOML document with TOML-equivalent comment
LITEoffCreate TOML document without comment
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
abravalheri-ini2toml-v0.16_GH0.tar.gz98051512764bfd348f6dbfd26e5edcb5223c504fbd689510e8b02b64246b996604c95

Commit history 1

DateCommitCreditsLog message
e707b1fb3b Po-Chuan Hsieh textproc/py-ini2toml: Update to 0.16
- Change MASTER_SITES from PYPI to GitHub temporarily - Add ALL option Changes: https://github.com/abravalheri/ini2toml/releases https://ini2toml.readthedocs.io/en/latest/changelog.html