git: 85ecacb49d13 - main - devel/py-pytest-runner: Fix version (from 0.0.0 to the real version, 6.0.0)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Oct 2022 19:50:27 UTC
The branch main has been updated by sunpoet:

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

commit 85ecacb49d13e33e108d993bae784ef7141815cd
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 19:48:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 19:48:20 +0000

    devel/py-pytest-runner: Fix version (from 0.0.0 to the real version, 6.0.0)
    
    - Add missing BUILD_DEPENDS
    - Bump PORTREVISION for package change
    
    Before:
    % pkg info -lF py39-pytest-runner-6.0.0.pkg
    py39-pytest-runner-6.0.0:
            /usr/local/share/licenses/py39-pytest-runner-6.0.0/catalog.mk
            /usr/local/share/licenses/py39-pytest-runner-6.0.0/LICENSE
            /usr/local/share/licenses/py39-pytest-runner-6.0.0/MIT
            /usr/local/lib/python3.9/site-packages/ptr/__init__.py
            /usr/local/lib/python3.9/site-packages/ptr/__pycache__/__init__.cpython-39.opt-1.pyc
            /usr/local/lib/python3.9/site-packages/ptr/__pycache__/__init__.cpython-39.pyc
            /usr/local/lib/python3.9/site-packages/pytest_runner-0.0.0-py3.9.egg-info/PKG-INFO
            /usr/local/lib/python3.9/site-packages/pytest_runner-0.0.0-py3.9.egg-info/SOURCES.txt
            /usr/local/lib/python3.9/site-packages/pytest_runner-0.0.0-py3.9.egg-info/dependency_links.txt
            /usr/local/lib/python3.9/site-packages/pytest_runner-0.0.0-py3.9.egg-info/entry_points.txt
            /usr/local/lib/python3.9/site-packages/pytest_runner-0.0.0-py3.9.egg-info/requires.txt
            /usr/local/lib/python3.9/site-packages/pytest_runner-0.0.0-py3.9.egg-info/top_level.txt
    
    After:
    % pkg info -lF py39-pytest-runner-6.0.0_1.pkg
    py39-pytest-runner-6.0.0_1:
            /usr/local/share/licenses/py39-pytest-runner-6.0.0_1/catalog.mk
            /usr/local/share/licenses/py39-pytest-runner-6.0.0_1/LICENSE
            /usr/local/share/licenses/py39-pytest-runner-6.0.0_1/MIT
            /usr/local/lib/python3.9/site-packages/ptr/__init__.py
            /usr/local/lib/python3.9/site-packages/ptr/__pycache__/__init__.cpython-39.opt-1.pyc
            /usr/local/lib/python3.9/site-packages/ptr/__pycache__/__init__.cpython-39.pyc
            /usr/local/lib/python3.9/site-packages/pytest_runner-6.0.0-py3.9.egg-info/PKG-INFO
            /usr/local/lib/python3.9/site-packages/pytest_runner-6.0.0-py3.9.egg-info/SOURCES.txt
            /usr/local/lib/python3.9/site-packages/pytest_runner-6.0.0-py3.9.egg-info/dependency_links.txt
            /usr/local/lib/python3.9/site-packages/pytest_runner-6.0.0-py3.9.egg-info/entry_points.txt
            /usr/local/lib/python3.9/site-packages/pytest_runner-6.0.0-py3.9.egg-info/requires.txt
            /usr/local/lib/python3.9/site-packages/pytest_runner-6.0.0-py3.9.egg-info/top_level.txt
    
    Approved by:    portmgr (blanket)
    With hat:       python
---
 devel/py-pytest-runner/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/devel/py-pytest-runner/Makefile b/devel/py-pytest-runner/Makefile
index e33e30996160..2cb4a74d439a 100644
--- a/devel/py-pytest-runner/Makefile
+++ b/devel/py-pytest-runner/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pytest-runner
 PORTVERSION=	6.0.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +13,8 @@ LICENSE=	MIT
 
 DEPRECATED=	pytest-runner depends on deprecated features of setuptools
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR}
+
 USES=		python:3.6+
 USE_PYTHON=	autoplist distutils pytest