git: 25625d556e8f - main - textproc/py-sphinxcontrib-bibtex: Add py-sphinxcontrib-bibtex 2.3.0
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 8 14:58:15 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=25625d556e8f760ea75a8980523e9f8678bc51b7
commit 25625d556e8f760ea75a8980523e9f8678bc51b7
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-08-08 14:32:31 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-08-08 14:53:55 +0000
textproc/py-sphinxcontrib-bibtex: Add py-sphinxcontrib-bibtex 2.3.0
The bibtex extension allows BibTeX citations to be inserted into documentation
generated by Sphinx, via a bibliography directive, along with :cite:p: and
:cite:t: roles. These work similarly to LaTeX's thebibliography environment and
the \citet and \citep commands.
WWW: https://github.com/mcmtroffaes/sphinxcontrib-bibtex
---
textproc/Makefile | 1 +
textproc/py-sphinxcontrib-bibtex/Makefile | 31 ++++++++++++++++++++++++++++++
textproc/py-sphinxcontrib-bibtex/distinfo | 3 +++
textproc/py-sphinxcontrib-bibtex/pkg-descr | 6 ++++++
4 files changed, 41 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 4ebb211c6690..270fafda4a72 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1446,6 +1446,7 @@
SUBDIR += py-sphinxcontrib-adadomain
SUBDIR += py-sphinxcontrib-applehelp
SUBDIR += py-sphinxcontrib-autoprogram
+ SUBDIR += py-sphinxcontrib-bibtex
SUBDIR += py-sphinxcontrib-bitbucket
SUBDIR += py-sphinxcontrib-devhelp
SUBDIR += py-sphinxcontrib-fulltoc
diff --git a/textproc/py-sphinxcontrib-bibtex/Makefile b/textproc/py-sphinxcontrib-bibtex/Makefile
new file mode 100644
index 000000000000..4d8faeeda376
--- /dev/null
+++ b/textproc/py-sphinxcontrib-bibtex/Makefile
@@ -0,0 +1,31 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= sphinxcontrib-bibtex
+PORTVERSION= 2.3.0
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Sphinx extension for BibTeX style citations
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0.8:textproc/py-docutils@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pybtex>=0.20:textproc/py-pybtex@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pybtex-docutils>=1.0.0:textproc/py-pybtex-docutils@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sphinx>=2.1,1:textproc/py-sphinx@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30700
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/py-sphinxcontrib-bibtex/distinfo b/textproc/py-sphinxcontrib-bibtex/distinfo
new file mode 100644
index 000000000000..28de050c1076
--- /dev/null
+++ b/textproc/py-sphinxcontrib-bibtex/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1628103022
+SHA256 (sphinxcontrib-bibtex-2.3.0.tar.gz) = 1aae1005935ae8e6499750b4ef1c8251a14ba16e025d0c0154fe2b6bf45defc0
+SIZE (sphinxcontrib-bibtex-2.3.0.tar.gz) = 100159
diff --git a/textproc/py-sphinxcontrib-bibtex/pkg-descr b/textproc/py-sphinxcontrib-bibtex/pkg-descr
new file mode 100644
index 000000000000..95b28c4bebe5
--- /dev/null
+++ b/textproc/py-sphinxcontrib-bibtex/pkg-descr
@@ -0,0 +1,6 @@
+The bibtex extension allows BibTeX citations to be inserted into documentation
+generated by Sphinx, via a bibliography directive, along with :cite:p: and
+:cite:t: roles. These work similarly to LaTeX's thebibliography environment and
+the \citet and \citep commands.
+
+WWW: https://github.com/mcmtroffaes/sphinxcontrib-bibtex
More information about the dev-commits-ports-all
mailing list