summaryrefslogtreecommitdiff
path: root/textproc/py-anymarkup
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-anymarkup')
-rw-r--r--textproc/py-anymarkup/Makefile27
-rw-r--r--textproc/py-anymarkup/distinfo3
-rw-r--r--textproc/py-anymarkup/pkg-descr2
3 files changed, 32 insertions, 0 deletions
diff --git a/textproc/py-anymarkup/Makefile b/textproc/py-anymarkup/Makefile
new file mode 100644
index 000000000000..a0f39e08d796
--- /dev/null
+++ b/textproc/py-anymarkup/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= anymarkup
+PORTVERSION= 0.8.1
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= einar@isnic.is
+COMMENT= Parse/serialize any markup format
+WWW= https://github.com/bkabrda/anymarkup
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anymarkup-core>=0.8.0:textproc/py-anymarkup-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}json5>0:devel/py-json5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xmltodict>0:devel/py-xmltodict@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-anymarkup/distinfo b/textproc/py-anymarkup/distinfo
new file mode 100644
index 000000000000..f54c6b478b38
--- /dev/null
+++ b/textproc/py-anymarkup/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725294110
+SHA256 (anymarkup-0.8.1.tar.gz) = d125c795bd47c5f7dd5ec6aedd0691f7aa7b9ed619fde87eb56ddff17ee3e844
+SIZE (anymarkup-0.8.1.tar.gz) = 7720
diff --git a/textproc/py-anymarkup/pkg-descr b/textproc/py-anymarkup/pkg-descr
new file mode 100644
index 000000000000..d07346e64429
--- /dev/null
+++ b/textproc/py-anymarkup/pkg-descr
@@ -0,0 +1,2 @@
+Parse or serialize any markup. Currently supports ini, json, json5, toml, xml
+and yaml.