textproc/py-ini2toml: Add py-ini2toml 0.10
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). WWW: https://github.com/abravalheri/ini2toml
This commit is contained in:
parent
d0df37ea60
commit
89e3812632
4 changed files with 36 additions and 0 deletions
|
@ -1327,6 +1327,7 @@
|
|||
SUBDIR += py-html2text2018
|
||||
SUBDIR += py-humanfriendly
|
||||
SUBDIR += py-hunspell
|
||||
SUBDIR += py-ini2toml
|
||||
SUBDIR += py-isbnlib
|
||||
SUBDIR += py-isbntools
|
||||
SUBDIR += py-iso-639
|
||||
|
|
22
textproc/py-ini2toml/Makefile
Normal file
22
textproc/py-ini2toml/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= ini2toml
|
||||
PORTVERSION= 0.10
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Automatically conversion of .ini/.cfg files to TOML equivalents
|
||||
|
||||
LICENSE= MPL20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.7:devel/py-packaging@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/py-ini2toml/distinfo
Normal file
3
textproc/py-ini2toml/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1648219977
|
||||
SHA256 (ini2toml-0.10.tar.gz) = b34983939b396b5ee01e5591c1b7c1ee62d263178ae95e04a99ab7c3c82918f6
|
||||
SIZE (ini2toml-0.10.tar.gz) = 99836
|
10
textproc/py-ini2toml/pkg-descr
Normal file
10
textproc/py-ini2toml/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
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).
|
||||
|
||||
WWW: https://github.com/abravalheri/ini2toml
|
Loading…
Reference in a new issue