git: f27b59b8435a - main - devel/py-pytest-enabler: Update to 1.3.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 29 Jun 2022 16:35:54 UTC
The branch main has been updated by sunpoet:

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

commit f27b59b8435af1c4d9407822f1cfa812e09e25b4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-29 16:28:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-29 16:32:42 +0000

    devel/py-pytest-enabler: Update to 1.3.0
    
    Changes:        https://github.com/jaraco/pytest-enabler/blob/main/CHANGES.rst
---
 devel/py-pytest-enabler/Makefile       | 8 ++++++--
 devel/py-pytest-enabler/distinfo       | 6 +++---
 devel/py-pytest-enabler/files/setup.py | 3 +++
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/devel/py-pytest-enabler/Makefile b/devel/py-pytest-enabler/Makefile
index 542f66106804..1d55e4c2fdd1 100644
--- a/devel/py-pytest-enabler/Makefile
+++ b/devel/py-pytest-enabler/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	pytest-enabler
-PORTVERSION=	1.2.1
+PORTVERSION=	1.3.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,7 @@ COMMENT=	Enable installed pytest plugins
 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}jaraco.context>=0:devel/py-jaraco.context@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jaraco.functools>=0:devel/py-jaraco.functools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR}
@@ -19,7 +20,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-black>=0.3.7:devel/py-pytest-black@$
 		${PYTHON_PKGNAMEPREFIX}pytest-checkdocs>=2.4:devel/py-pytest-checkdocs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${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-toml>=0:devel/py-types-toml@${PY_FLAVOR}
 
 USES=		python:3.7+
@@ -27,4 +28,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-enabler/distinfo b/devel/py-pytest-enabler/distinfo
index 5a701e6766ba..525257557d02 100644
--- a/devel/py-pytest-enabler/distinfo
+++ b/devel/py-pytest-enabler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637072986
-SHA256 (pytest-enabler-1.2.1.tar.gz) = e3e8f711322c99d59fe1817043e607f280a28f297dcfa80e2ef63e9141ad7e08
-SIZE (pytest-enabler-1.2.1.tar.gz) = 7102
+TIMESTAMP = 1656092940
+SHA256 (pytest-enabler-1.3.0.tar.gz) = b2e6e1350dd6f9a9beb66aa95de10c70ef9d13797e774c28ad98fd6ea299211f
+SIZE (pytest-enabler-1.3.0.tar.gz) = 7591
diff --git a/devel/py-pytest-enabler/files/setup.py b/devel/py-pytest-enabler/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/devel/py-pytest-enabler/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()