git: 1bca5297b3d0 - main - astro/py-metpy: Add missing file

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:34:55 UTC
The branch main has been updated by sunpoet:

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

commit 1bca5297b3d08bfd22199ed43b989571e9266cf9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:18:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:18:40 +0000

    astro/py-metpy: Add missing file
    
    - Bump PORTREVISION for package change
---
 astro/py-metpy/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/astro/py-metpy/Makefile b/astro/py-metpy/Makefile
index cdc1026d25b5..27ae77581866 100644
--- a/astro/py-metpy/Makefile
+++ b/astro/py-metpy/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	metpy
 PORTVERSION=	1.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	astro python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -31,10 +31,15 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+PLIST_FILES=	${PYTHON_SITELIBDIR}/metpy/static-data-manifest.txt
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 30900
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.3.0:devel/py-importlib-resources@${PY_FLAVOR}
 .endif
 
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/src/metpy/static-data-manifest.txt ${STAGEDIR}${PYTHON_SITELIBDIR}/metpy/static-data-manifest.txt
+
 .include <bsd.port.post.mk>