1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add py-tomlkit 0.5.8

TOML Kit is a 0.5.0-compliant TOML library.

It includes a parser that preserves all comments, indentations, whitespace and
internal element ordering, and makes them accessible and editable via an
intuitive API.

You can also create new TOML documents from scratch using the provided helpers.

WWW: https://github.com/sdispater/tomlkit
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-12-29 17:31:32 +00:00
parent 755f4147b4
commit c3361c0fae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521370
4 changed files with 43 additions and 0 deletions

View File

@ -1394,6 +1394,7 @@
SUBDIR += py-tinycss
SUBDIR += py-tinycss2
SUBDIR += py-toml
SUBDIR += py-tomlkit
SUBDIR += py-toronado
SUBDIR += py-towncrier
SUBDIR += py-trans

View File

@ -0,0 +1,30 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= tomlkit
PORTVERSION= 0.5.8
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Style-preserving TOML library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PY_ENUM34} \
${PY_TYPING}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}functools32>=3.2.3<4.0.0:devel/py-functools32@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1577626025
SHA256 (tomlkit-0.5.8.tar.gz) = 32c10cc16ded7e4101c79f269910658cc2a0be5913f1252121c3cd603051c269
SIZE (tomlkit-0.5.8.tar.gz) = 66567

View File

@ -0,0 +1,9 @@
TOML Kit is a 0.5.0-compliant TOML library.
It includes a parser that preserves all comments, indentations, whitespace and
internal element ordering, and makes them accessible and editable via an
intuitive API.
You can also create new TOML documents from scratch using the provided helpers.
WWW: https://github.com/sdispater/tomlkit