Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2021 14:58:14 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 25625d556e8f - main - textproc/py-sphinxcontrib-bibtex: Add py-sphinxcontrib-bibtex 2.3.0
Message-ID:  <202108081458.178EwEjV023824@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25625d556e8f760ea75a8980523e9f8678bc51b7

commit 25625d556e8f760ea75a8980523e9f8678bc51b7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-08-08 14:32:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@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@FreeBSD.org>
+
+PORTNAME=	sphinxcontrib-bibtex
+PORTVERSION=	2.3.0
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108081458.178EwEjV023824>