git: 5ffeb848e5cb - main - devel/py-pytest-metadata: update to 3.0.0

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Mon, 29 May 2023 08:45:50 UTC
The branch main has been updated by matthew:

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

commit 5ffeb848e5cb3b65ecac09b1417a91df299af24d
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-05-29 08:43:38 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-05-29 08:45:46 +0000

    devel/py-pytest-metadata: update to 3.0.0
    
    Fixup tests -- use tempory directroy under ${WRKDIR}, force tests to
    be run using the copy of the module in the staging directlry.
    
    Changes:        https://github.com/pytest-dev/pytest-metadata/blob/3.0.0/CHANGES.rst
    Reported by:    portscout, repology
---
 devel/py-pytest-metadata/Makefile | 8 +++++---
 devel/py-pytest-metadata/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/devel/py-pytest-metadata/Makefile b/devel/py-pytest-metadata/Makefile
index 82fa36736c4e..7a202a50cf08 100644
--- a/devel/py-pytest-metadata/Makefile
+++ b/devel/py-pytest-metadata/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pytest-metadata
-PORTVERSION=	2.0.4
-PORTREVISION=	1
+PORTVERSION=	3.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +11,8 @@ WWW=		https://github.com/pytest-dev/pytest-metadata
 
 LICENSE=	MPL20
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.13:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.0:devel/py-pytest@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>=22.1.0:devel/py-black@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flake8>=4.0.1:devel/py-flake8@${PY_FLAVOR} \
@@ -22,6 +22,8 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>=22.1.0:devel/py-black@${PY_FLAVOR} \
 USES=		python:3.7+
 USE_PYTHON=	autoplist pep517 pytest
 
+TEST_ENV=	TMPDIR=${WRKDIR}/ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/devel/py-pytest-metadata/distinfo b/devel/py-pytest-metadata/distinfo
index 72a5e10f7e0b..061b8d2934bc 100644
--- a/devel/py-pytest-metadata/distinfo
+++ b/devel/py-pytest-metadata/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1678803170
-SHA256 (pytest_metadata-2.0.4.tar.gz) = fcc653f65fe3035b478820b5284fbf0f52803622ee3f60a2faed7a7d3ba1f41e
-SIZE (pytest_metadata-2.0.4.tar.gz) = 10485
+TIMESTAMP = 1685259177
+SHA256 (pytest_metadata-3.0.0.tar.gz) = 769a9c65d2884bd583bc626b0ace77ad15dbe02dd91a9106d47fd46d9c2569ca
+SIZE (pytest_metadata-3.0.0.tar.gz) = 9710