summaryrefslogtreecommitdiff
path: root/textproc/py-anymarkup-core
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-anymarkup-core')
-rw-r--r--textproc/py-anymarkup-core/Makefile21
-rw-r--r--textproc/py-anymarkup-core/distinfo3
-rw-r--r--textproc/py-anymarkup-core/pkg-descr10
3 files changed, 34 insertions, 0 deletions
diff --git a/textproc/py-anymarkup-core/Makefile b/textproc/py-anymarkup-core/Makefile
new file mode 100644
index 000000000000..5793b3e3285d
--- /dev/null
+++ b/textproc/py-anymarkup-core/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= anymarkup-core
+PORTVERSION= 0.8.1
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= einar@isnic.is
+COMMENT= Core library for anymarkup
+WWW= https://github.com/bkabrda/anymarkup-core
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-anymarkup-core/distinfo b/textproc/py-anymarkup-core/distinfo
new file mode 100644
index 000000000000..c9b4defca030
--- /dev/null
+++ b/textproc/py-anymarkup-core/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725312326
+SHA256 (anymarkup-core-0.8.1.tar.gz) = 603351ba6b38270f518389dc9c3f3bf0738f186ad6ec51aeb6f403bc497fb308
+SIZE (anymarkup-core-0.8.1.tar.gz) = 11571
diff --git a/textproc/py-anymarkup-core/pkg-descr b/textproc/py-anymarkup-core/pkg-descr
new file mode 100644
index 000000000000..2c61a90b3939
--- /dev/null
+++ b/textproc/py-anymarkup-core/pkg-descr
@@ -0,0 +1,10 @@
+This is the core library that implements functionality of
+https://github.com/bkabrda/anymarkup. You can install this if you only want to
+use a subset of anymarkup parsers. For example, you can do this:
+
+$ pip install anymarkup-core PyYAML $ python -c "import anymarkup_core;
+print(anymarkup_core.parse('foo: bar'))"
+
+... and you don't need xmltodict installed, for example. You can use anymarkup-
+core in the same way you use anymarkup, except you have to import from
+anymarkup_core, obviously.