summaryrefslogtreecommitdiff
path: root/textproc/py-pybtex
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-08-08 22:32:23 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-08-08 22:53:54 +0800
commit9278328b0d88ada1efc3fcb7808d8b1d0ff561c0 (patch)
tree4fc651a4ad76edfa6e89f459ebe99246266d8609 /textproc/py-pybtex
parenttextproc/py-nbsphinx: Add py-nbsphinx 0.8.6 (diff)
textproc/py-pybtex: Add py-pybtex 0.24.0
Pybtex is a BibTeX-compatible bibliography processor written in Python. You can simply type pybtex instead of bibtex. Pybtex aims to be 100% compatible with BibTeX. It accepts the same command line options, fully supports BibTeX's .bst styles and produces byte-identical output. WWW: https://pybtex.org/ WWW: https://bitbucket.org/pybtex-devs/pybtex/
Diffstat (limited to 'textproc/py-pybtex')
-rw-r--r--textproc/py-pybtex/Makefile24
-rw-r--r--textproc/py-pybtex/distinfo3
-rw-r--r--textproc/py-pybtex/pkg-descr8
3 files changed, 35 insertions, 0 deletions
diff --git a/textproc/py-pybtex/Makefile b/textproc/py-pybtex/Makefile
new file mode 100644
index 000000000000..9629b39dd3df
--- /dev/null
+++ b/textproc/py-pybtex/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= pybtex
+PORTVERSION= 0.24.0
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= BibTeX-compatible bibliography processor in Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}latexcodec>=1.0.4:textproc/py-latexcodec@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}yaml>=3.01:devel/py-yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-pybtex/distinfo b/textproc/py-pybtex/distinfo
new file mode 100644
index 000000000000..749206dd23a3
--- /dev/null
+++ b/textproc/py-pybtex/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1628103018
+SHA256 (pybtex-0.24.0.tar.gz) = 818eae35b61733e5c007c3fcd2cfb75ed1bc8b4173c1f70b56cc4c0802d34755
+SIZE (pybtex-0.24.0.tar.gz) = 402879
diff --git a/textproc/py-pybtex/pkg-descr b/textproc/py-pybtex/pkg-descr
new file mode 100644
index 000000000000..2d954e576d4f
--- /dev/null
+++ b/textproc/py-pybtex/pkg-descr
@@ -0,0 +1,8 @@
+Pybtex is a BibTeX-compatible bibliography processor written in Python. You can
+simply type pybtex instead of bibtex.
+
+Pybtex aims to be 100% compatible with BibTeX. It accepts the same command line
+options, fully supports BibTeX's .bst styles and produces byte-identical output.
+
+WWW: https://pybtex.org/
+WWW: https://bitbucket.org/pybtex-devs/pybtex/