Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2021 17:32:47 GMT
From:      =?utf-8?Q?Fernando Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1946f8224cbf - main - textproc/py-sphinxext-opengraph: new port
Message-ID:  <202108231732.17NHWl09025525@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=1946f8224cbf10898d3fc0599e6e2ac6c2537c16

commit 1946f8224cbf10898d3fc0599e6e2ac6c2537c16
Author:     Alexis Praga <alexis.praga@free.fr>
AuthorDate: 2021-08-23 16:30:22 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2021-08-23 17:27:57 +0000

    textproc/py-sphinxext-opengraph: new port
    
    Sphinx extension to generate OpenGraph metadata
    
    The Open Graph protocol enables any web page to become a rich object
    in a social graph
    
    This port is a dependency of the new version of x11/kitty (PR 257438)
    
    PR:     257436
    Reported by:    alexis.praga@free.fr
    Reviewed by:    koobs@
---
 textproc/Makefile                         |  1 +
 textproc/py-sphinxext-opengraph/Makefile  | 28 ++++++++++++++++++++++++++++
 textproc/py-sphinxext-opengraph/distinfo  |  3 +++
 textproc/py-sphinxext-opengraph/pkg-descr |  6 ++++++
 4 files changed, 38 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 1eb722da4167..90fed780b102 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1462,6 +1462,7 @@
     SUBDIR += py-sphinxcontrib-qthelp
     SUBDIR += py-sphinxcontrib-serializinghtml
     SUBDIR += py-sphinxcontrib-websupport
+    SUBDIR += py-sphinxext-opengraph
     SUBDIR += py-spylls
     SUBDIR += py-stemming
     SUBDIR += py-tabletext
diff --git a/textproc/py-sphinxext-opengraph/Makefile b/textproc/py-sphinxext-opengraph/Makefile
new file mode 100644
index 000000000000..eebd3e1b9686
--- /dev/null
+++ b/textproc/py-sphinxext-opengraph/Makefile
@@ -0,0 +1,28 @@
+# Created by: Alexis Praga <alexis.praga@free.fr>
+
+PORTNAME=	sphinxext-opengraph
+PORTVERSION=	0.4.2
+DISTVERSIONPREFIX=	v
+CATEGORIES=	textproc python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	alexis.praga@free.fr
+COMMENT=	Sphinx extension to generate OpenGraph metadata
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=2.0:textproc/py-sphinx@${PY_FLAVOR}
+
+USES=		python:3.6+
+# LICENSE and tests are not packaged yet, using github as a fallback
+USE_GITHUB=	yes
+GH_ACCOUNT=	wpilibsuite
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+do-test:
+	cd ${WRKSRC}/ && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinxext-opengraph/distinfo b/textproc/py-sphinxext-opengraph/distinfo
new file mode 100644
index 000000000000..7700775e1cf0
--- /dev/null
+++ b/textproc/py-sphinxext-opengraph/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1627569745
+SHA256 (wpilibsuite-sphinxext-opengraph-v0.4.2_GH0.tar.gz) = d91d51c932d47e8c2ce657be5934a660daadb19eb9b6240172550f9810e0b404
+SIZE (wpilibsuite-sphinxext-opengraph-v0.4.2_GH0.tar.gz) = 13251
diff --git a/textproc/py-sphinxext-opengraph/pkg-descr b/textproc/py-sphinxext-opengraph/pkg-descr
new file mode 100644
index 000000000000..5d82ad3a29ff
--- /dev/null
+++ b/textproc/py-sphinxext-opengraph/pkg-descr
@@ -0,0 +1,6 @@
+This Sphinx extension allows you to generate OpenGraph metadata.
+
+The Open Graph protocol enables any web page to become a rich object
+in a social graph (see https://ogp.me/).
+
+WWW: https://github.com/wpilibsuite/sphinxext-opengraph



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