aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 17:11:52 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 18:11:51 +0000
commit9e294e3c808a5ca331d9bee55f5d4f588c84a8ba (patch)
tree8632a137edab3c073fe9907247c7f58b8b1c2989
parentae1ff96b04ec1ddcb41155386e2c688d4f8be93f (diff)
downloadports-9e294e3c808a5ca331d9bee55f5d4f588c84a8ba.tar.gz
ports-9e294e3c808a5ca331d9bee55f5d4f588c84a8ba.zip
textproc/py-tomli: Add py-tomli 1.0.4
Tomli is a Python library for parsing TOML. Tomli is fully compatible with TOML v1.0.0. WWW: https://github.com/hukkin/tomli
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-tomli/Makefile20
-rw-r--r--textproc/py-tomli/distinfo3
-rw-r--r--textproc/py-tomli/pkg-descr4
4 files changed, 28 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f5bd81e1096a..8a40efcec192 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1466,6 +1466,7 @@
SUBDIR += py-tinycss
SUBDIR += py-tinycss2
SUBDIR += py-toml
+ SUBDIR += py-tomli
SUBDIR += py-tomlkit
SUBDIR += py-toronado
SUBDIR += py-towncrier
diff --git a/textproc/py-tomli/Makefile b/textproc/py-tomli/Makefile
new file mode 100644
index 000000000000..cadf1018a89a
--- /dev/null
+++ b/textproc/py-tomli/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= tomli
+PORTVERSION= 1.0.4
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Lil' TOML parser
+
+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/distinfo b/textproc/py-tomli/distinfo
new file mode 100644
index 000000000000..035594857117
--- /dev/null
+++ b/textproc/py-tomli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626714600
+SHA256 (tomli-1.0.4.tar.gz) = be670d0d8d7570fd0ea0113bd7bb1ba3ac6706b4de062cc4c952769355c9c268
+SIZE (tomli-1.0.4.tar.gz) = 11684
diff --git a/textproc/py-tomli/pkg-descr b/textproc/py-tomli/pkg-descr
new file mode 100644
index 000000000000..2b19dcefcb30
--- /dev/null
+++ b/textproc/py-tomli/pkg-descr
@@ -0,0 +1,4 @@
+Tomli is a Python library for parsing TOML. Tomli is fully compatible with TOML
+v1.0.0.
+
+WWW: https://github.com/hukkin/tomli