git: a9f9245a7b9f - main - x11-toolkits/py-qt5-chart: Fix pkg-plist

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sat, 29 Jun 2024 05:04:53 UTC
The branch main has been updated by jhale:

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

commit a9f9245a7b9f2ee2d379d50e74f9a9a78b22c58e
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-06-29 04:52:25 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-06-29 05:02:07 +0000

    x11-toolkits/py-qt5-chart: Fix pkg-plist
    
    Add ${PY_SETUPTOOLS} to BUILD_DEPENDS for when it is removed as a
    global RUN_DEPENDS. [1]
    
    PR:             270510 [1]
---
 x11-toolkits/py-qt5-chart/Makefile  | 5 ++++-
 x11-toolkits/py-qt5-chart/pkg-plist | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/py-qt5-chart/Makefile b/x11-toolkits/py-qt5-chart/Makefile
index f50af30766a9..c265fe48167a 100644
--- a/x11-toolkits/py-qt5-chart/Makefile
+++ b/x11-toolkits/py-qt5-chart/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	chart
 PORTVERSION=	${PYQTCHART_VERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-toolkits devel python
 MASTER_SITES=	${MASTER_SITES_PYQTCHART}
 PKGNAMEPREFIX=	${PYQT_PY_RELNAME}-
@@ -14,6 +14,7 @@ WWW=		https://riverbankcomputing.com/software/pyqtchart
 
 LICENSE=	${PYQT5_LICENSE}
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS}
 LIB_DEPENDS=	libqscintilla2_qt5.so:devel/qscintilla2-qt5
 
 USES=		gl python pyqt:5 qt:5
@@ -22,4 +23,6 @@ USE_PYQT=	sip:build pyqt5
 USE_PYTHON=	concurrent flavors py3kplist
 USE_QT=		charts core declarative gui qmake:build widgets
 
+PLIST_SUB=      PYQT_CHART_VERSION=${DISTVERSION}
+
 .include <bsd.port.mk>
diff --git a/x11-toolkits/py-qt5-chart/pkg-plist b/x11-toolkits/py-qt5-chart/pkg-plist
index 0db6f333eaef..a2a4168c2e40 100644
--- a/x11-toolkits/py-qt5-chart/pkg-plist
+++ b/x11-toolkits/py-qt5-chart/pkg-plist
@@ -53,3 +53,6 @@
 %%PYQT_SIPDIR%%/QtChart/qxyseries.sip
 %%PYTHON_SITELIBDIR%%/PyQt5/QtChart.abi%%PYTHON_MAJOR_VER%%.so
 %%PYTHON_SITELIBDIR%%/PyQt5/bindings/QtChart/QtChart.toml
+%%PYTHON_SITELIBDIR%%/PyQtChart-%%PYQT_CHART_VERSION%%.dist-info/INSTALLER
+%%PYTHON_SITELIBDIR%%/PyQtChart-%%PYQT_CHART_VERSION%%.dist-info/METADATA
+%%PYTHON_SITELIBDIR%%/PyQtChart-%%PYQT_CHART_VERSION%%.dist-info/RECORD