textproc/py-anymarkup-core: add port: Core library for anymarkup

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.

WWW: https://github.com/bkabrda/anymarkup-core

PR:		281219
Reported by:	Einar Bjarni Halldórsson <einar@isnic.is> (new maintainer)
This commit is contained in:
Einar Bjarni Halldórsson
2025-06-07 11:58:01 +09:00
committed by Hiroki Tagato
parent b897278fcc
commit 2b5f0a3519
4 changed files with 35 additions and 0 deletions
+1
View File
@@ -1313,6 +1313,7 @@
SUBDIR += py-ansicolors
SUBDIR += py-ansiwrap
SUBDIR += py-anyascii
SUBDIR += py-anymarkup-core
SUBDIR += py-arabic-reshaper
SUBDIR += py-asciinema
SUBDIR += py-asonic
+21
View File
@@ -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>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1725312326
SHA256 (anymarkup-core-0.8.1.tar.gz) = 603351ba6b38270f518389dc9c3f3bf0738f186ad6ec51aeb6f403bc497fb308
SIZE (anymarkup-core-0.8.1.tar.gz) = 11571
+10
View File
@@ -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.