git: 9278328b0d88 - main - textproc/py-pybtex: Add py-pybtex 0.24.0

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Aug 8 14:58:13 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9278328b0d88ada1efc3fcb7808d8b1d0ff561c0

commit 9278328b0d88ada1efc3fcb7808d8b1d0ff561c0
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-08-08 14:32:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-08-08 14:53:54 +0000

    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/
---
 textproc/Makefile            |  1 +
 textproc/py-pybtex/Makefile  | 24 ++++++++++++++++++++++++
 textproc/py-pybtex/distinfo  |  3 +++
 textproc/py-pybtex/pkg-descr |  8 ++++++++
 4 files changed, 36 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 7eedfbdab0e2..0ea9651a2b5b 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1371,6 +1371,7 @@
     SUBDIR += py-pyPEG2
     SUBDIR += py-pyahocorasick
     SUBDIR += py-pyaml
+    SUBDIR += py-pybtex
     SUBDIR += py-pycountry
     SUBDIR += py-pyexcel
     SUBDIR += py-pyexcel-ezodf
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 at FreeBSD.org>
+
+PORTNAME=	pybtex
+PORTVERSION=	0.24.0
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at 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/


More information about the dev-commits-ports-main mailing list