git: 5010ffc75ceb - main - devel/py-apispec-webframeworks: New port: Web framework plugins for apispec

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 06 Jan 2024 01:55:24 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5010ffc75ceb8d55a0d4a4770790a27a8a28df33

commit 5010ffc75ceb8d55a0d4a4770790a27a8a28df33
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-05 14:31:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-06 01:55:21 +0000

    devel/py-apispec-webframeworks: New port: Web framework plugins for apispec
---
 devel/Makefile                           |  1 +
 devel/py-apispec-webframeworks/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-apispec-webframeworks/distinfo  |  3 +++
 devel/py-apispec-webframeworks/pkg-descr |  9 +++++++++
 4 files changed, 39 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 2b5f45834bd5..e5d94b2e7385 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4234,6 +4234,7 @@
     SUBDIR += py-apache_conf_parser
     SUBDIR += py-apipkg
     SUBDIR += py-apispec
+    SUBDIR += py-apispec-webframeworks
     SUBDIR += py-appdirs
     SUBDIR += py-applicationinsights
     SUBDIR += py-apptools
diff --git a/devel/py-apispec-webframeworks/Makefile b/devel/py-apispec-webframeworks/Makefile
new file mode 100644
index 000000000000..370607d7489f
--- /dev/null
+++ b/devel/py-apispec-webframeworks/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	apispec-webframeworks
+DISTVERSION=	0.5.2
+CATEGORIES=	devel python
+#MASTER_SITES=	PYPI # no tests
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Web framework plugins for apispec
+WWW=		https://github.com/marshmallow-code/apispec-webframeworks
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}apispec>0:devel/py-apispec@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist concurrent pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	marshmallow-code
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-apispec-webframeworks/distinfo b/devel/py-apispec-webframeworks/distinfo
new file mode 100644
index 000000000000..293651e539f1
--- /dev/null
+++ b/devel/py-apispec-webframeworks/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1704483864
+SHA256 (marshmallow-code-apispec-webframeworks-0.5.2_GH0.tar.gz) = fb38a9dc33fa073679bd52f0e9a0165563d32fa040589c1e13a40a532ab228d1
+SIZE (marshmallow-code-apispec-webframeworks-0.5.2_GH0.tar.gz) = 9791
diff --git a/devel/py-apispec-webframeworks/pkg-descr b/devel/py-apispec-webframeworks/pkg-descr
new file mode 100644
index 000000000000..e401720a3bc3
--- /dev/null
+++ b/devel/py-apispec-webframeworks/pkg-descr
@@ -0,0 +1,9 @@
+apispec plugins for integrating with various web frameworks.
+
+These plugins used to be in apispec.ext but have since been moved to their own
+package.
+
+Included plugins:
+* apispec_webframeworks.bottle
+* apispec_webframeworks.flask
+* apispec_webframeworks.tornado