git: 7fc2caf6a47c - main - devel/py-pytest-checkdocs: Update to 2.8.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Oct 2022 17:13:54 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7fc2caf6a47c214ec727d352eebb04de48a3a0d3

commit 7fc2caf6a47c214ec727d352eebb04de48a3a0d3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 17:05:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 17:10:35 +0000

    devel/py-pytest-checkdocs: Update to 2.8.1
    
    Changes:        https://github.com/jaraco/pytest-checkdocs/blob/main/CHANGES.rst
---
 devel/py-pytest-checkdocs/Makefile       | 15 +++++++++------
 devel/py-pytest-checkdocs/distinfo       |  6 +++---
 devel/py-pytest-checkdocs/files/setup.py |  3 +++
 3 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/devel/py-pytest-checkdocs/Makefile b/devel/py-pytest-checkdocs/Makefile
index 27dddec24499..6e1ded9298de 100644
--- a/devel/py-pytest-checkdocs/Makefile
+++ b/devel/py-pytest-checkdocs/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pytest-checkdocs
-PORTVERSION=	2.7.1
+PORTVERSION=	2.8.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,14 +12,14 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docutils>=0.15,1:textproc/py-docutils@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4:devel/py-importlib-metadata@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pep517>=0:devel/py-pep517@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}docutils>=0.15,1:textproc/py-docutils@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4:devel/py-importlib-metadata@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-black>=0.3.7:devel/py-pytest-black@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-enabler>=1.0.1:devel/py-pytest-enabler@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-enabler>=1.3.0:devel/py-pytest-enabler@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-mypy>=0:devel/py-pytest-mypy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-mypy>=0.9.1:devel/py-pytest-mypy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}types-docutils>=0:devel/py-types-docutils@${PY_FLAVOR}
 
 USES=		python:3.6+
@@ -27,4 +27,7 @@ USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 
+post-patch:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
 .include <bsd.port.mk>
diff --git a/devel/py-pytest-checkdocs/distinfo b/devel/py-pytest-checkdocs/distinfo
index 3f15619bb370..542a5d9a8205 100644
--- a/devel/py-pytest-checkdocs/distinfo
+++ b/devel/py-pytest-checkdocs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629364674
-SHA256 (pytest-checkdocs-2.7.1.tar.gz) = 2b33b85eddfe5846a69bea4a759303e2d5a3be11d03bc7149f5ba1ef47e6c1ae
-SIZE (pytest-checkdocs-2.7.1.tar.gz) = 7333
+TIMESTAMP = 1664767946
+SHA256 (pytest-checkdocs-2.8.1.tar.gz) = 9fdf57c96213d3cdddd86b09b4a4fc31ce295821091cf1f37d92ecbcfbbe5276
+SIZE (pytest-checkdocs-2.8.1.tar.gz) = 7932
diff --git a/devel/py-pytest-checkdocs/files/setup.py b/devel/py-pytest-checkdocs/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/devel/py-pytest-checkdocs/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()