git: 00ba12d36998 - main - textproc/py-tomli_w: Add py-tomli_w 0.3.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 19:20:19 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00ba12d36998edb20bb06861fe835fcdf32dbe51

commit 00ba12d36998edb20bb06861fe835fcdf32dbe51
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-13 19:10:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-13 19:10:23 +0000

    textproc/py-tomli_w: Add py-tomli_w 0.3.0
    
    Tomli-W is a Python library for writing TOML. It is a write-only counterpart to
    Tomli, which is a read-only TOML parser. Tomli-W is fully compatible with TOML
    v1.0.0.
    
    WWW: https://github.com/hukkin/tomli-w
---
 textproc/Makefile             |  1 +
 textproc/py-tomli_w/Makefile  | 20 ++++++++++++++++++++
 textproc/py-tomli_w/distinfo  |  3 +++
 textproc/py-tomli_w/pkg-descr |  5 +++++
 4 files changed, 29 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 38e926616b46..91e1825b467b 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1486,6 +1486,7 @@
     SUBDIR += py-tinycss2
     SUBDIR += py-toml
     SUBDIR += py-tomli
+    SUBDIR += py-tomli_w
     SUBDIR += py-tomlkit
     SUBDIR += py-toronado
     SUBDIR += py-towncrier
diff --git a/textproc/py-tomli_w/Makefile b/textproc/py-tomli_w/Makefile
new file mode 100644
index 000000000000..3d1eb21090db
--- /dev/null
+++ b/textproc/py-tomli_w/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	tomli_w
+PORTVERSION=	0.3.0
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Lil' TOML writer
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-tomli_w/distinfo b/textproc/py-tomli_w/distinfo
new file mode 100644
index 000000000000..ad78f1d47504
--- /dev/null
+++ b/textproc/py-tomli_w/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634111638
+SHA256 (tomli_w-0.3.0.tar.gz) = 207c5f05803aec5a9a578c6aca5c1bbbba9783ad88461f3e180eb8c3c3c48a4b
+SIZE (tomli_w-0.3.0.tar.gz) = 5466
diff --git a/textproc/py-tomli_w/pkg-descr b/textproc/py-tomli_w/pkg-descr
new file mode 100644
index 000000000000..7e556bfa01e2
--- /dev/null
+++ b/textproc/py-tomli_w/pkg-descr
@@ -0,0 +1,5 @@
+Tomli-W is a Python library for writing TOML. It is a write-only counterpart to
+Tomli, which is a read-only TOML parser. Tomli-W is fully compatible with TOML
+v1.0.0.
+
+WWW: https://github.com/hukkin/tomli-w