git: 4466b95d595d - main - devel/py-iniconfig: Fix version

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 10:34:20 UTC
The branch main has been updated by sunpoet:

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

commit 4466b95d595dddc26a2d5ccf9001a06488a4f9fd
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:26:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:26:51 +0000

    devel/py-iniconfig: Fix version
    
    - Bump PORTREVISION for package change
    
    from setup.py:
            use_scm_version=True,
    
    from pyproject.toml:
    requires = ["setuptools>=41.2.0", "wheel", "setuptools_scm>3"]
    
    Before:
    %%PYTHON_SITELIBDIR%%/iniconfig-0.0.0-py%%PYTHON_VER%%.egg-info/PKG-INFO
    %%PYTHON_SITELIBDIR%%/iniconfig-0.0.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt
    %%PYTHON_SITELIBDIR%%/iniconfig-0.0.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt
    %%PYTHON_SITELIBDIR%%/iniconfig-0.0.0-py%%PYTHON_VER%%.egg-info/not-zip-safe
    %%PYTHON_SITELIBDIR%%/iniconfig-0.0.0-py%%PYTHON_VER%%.egg-info/top_level.txt
    
    After:
    %%PYTHON_SITELIBDIR%%/iniconfig-1.1.1-py%%PYTHON_VER%%.egg-info/PKG-INFO
    %%PYTHON_SITELIBDIR%%/iniconfig-1.1.1-py%%PYTHON_VER%%.egg-info/SOURCES.txt
    %%PYTHON_SITELIBDIR%%/iniconfig-1.1.1-py%%PYTHON_VER%%.egg-info/dependency_links.txt
    %%PYTHON_SITELIBDIR%%/iniconfig-1.1.1-py%%PYTHON_VER%%.egg-info/not-zip-safe
    %%PYTHON_SITELIBDIR%%/iniconfig-1.1.1-py%%PYTHON_VER%%.egg-info/top_level.txt
    
    Approved by:    portmgr (blanket)
    With hat:       python
---
 devel/py-iniconfig/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/devel/py-iniconfig/Makefile b/devel/py-iniconfig/Makefile
index 0451400d31ad..7ace21f4c2ab 100644
--- a/devel/py-iniconfig/Makefile
+++ b/devel/py-iniconfig/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	iniconfig
 DISTVERSION=	1.1.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,6 +11,8 @@ COMMENT=	Simple parsing of ini files in Python
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3:devel/py-setuptools_scm@${PY_FLAVOR}
+
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils