git: 27addf6e6105 - main - textproc/py-sphinxcontrib-nwdiag: new port had been added (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 13:37:19 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=27addf6e61053258910cbe5020dc5c44e3b4974c

commit 27addf6e61053258910cbe5020dc5c44e3b4974c
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-09-25 13:35:44 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-09-25 13:35:44 +0000

    textproc/py-sphinxcontrib-nwdiag: new port had been added (+)
    
    Sphinx extension for embedding network-related diagrams via nwdiag.
    
    WWW: https://github.com/blockdiag/sphinxcontrib-nwdiag
---
 textproc/Makefile                          |  1 +
 textproc/py-sphinxcontrib-nwdiag/Makefile  | 23 +++++++++++++++++++++++
 textproc/py-sphinxcontrib-nwdiag/distinfo  |  3 +++
 textproc/py-sphinxcontrib-nwdiag/pkg-descr |  7 +++++++
 4 files changed, 34 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index bcc2954f29b8..011d864ff034 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1627,6 +1627,7 @@
     SUBDIR += py-sphinxcontrib-log-cabinet
     SUBDIR += py-sphinxcontrib-napoleon
     SUBDIR += py-sphinxcontrib-newsfeed
+    SUBDIR += py-sphinxcontrib-nwdiag
     SUBDIR += py-sphinxcontrib-programoutput
     SUBDIR += py-sphinxcontrib-qthelp
     SUBDIR += py-sphinxcontrib-serializinghtml
diff --git a/textproc/py-sphinxcontrib-nwdiag/Makefile b/textproc/py-sphinxcontrib-nwdiag/Makefile
new file mode 100644
index 000000000000..98a01a27e188
--- /dev/null
+++ b/textproc/py-sphinxcontrib-nwdiag/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	sphinxcontrib-nwdiag
+PORTVERSION=	2.0.0
+CATEGORIES=	textproc
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	sphinxcontrib-nwdiag-${PORTVERSION}
+
+MAINTAINER=	python@FreeBSD.org
+COMMENT=	Sphinx extension for embedding network-related diagrams
+WWW=		https://github.com/blockdiag/sphinxcontrib-nwdiag
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nwdiag>=1.0.3:graphics/py-nwdiag@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx>=2.0:textproc/py-sphinx@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinxcontrib-nwdiag/distinfo b/textproc/py-sphinxcontrib-nwdiag/distinfo
new file mode 100644
index 000000000000..e33542b2ea93
--- /dev/null
+++ b/textproc/py-sphinxcontrib-nwdiag/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681182317
+SHA256 (sphinxcontrib-nwdiag-2.0.0.tar.gz) = 6ee95ad43bad46fe8dc1f65185c8997cb1d16665eee36a7eaaf6de13137ff859
+SIZE (sphinxcontrib-nwdiag-2.0.0.tar.gz) = 7938
diff --git a/textproc/py-sphinxcontrib-nwdiag/pkg-descr b/textproc/py-sphinxcontrib-nwdiag/pkg-descr
new file mode 100644
index 000000000000..9c8f52a4716b
--- /dev/null
+++ b/textproc/py-sphinxcontrib-nwdiag/pkg-descr
@@ -0,0 +1,7 @@
+Sphinx extension for embedding network-related diagrams using nwdiag.
+
+For now, nwdiag supports the following diagrams:
+
+  - Logical network diagram
+  - Rack structure diagram
+  - Packet structure diagram