Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 10:34:55 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1bca5297b3d0 - main - astro/py-metpy: Add missing file
Message-ID:  <202307091034.369AYt4l056722@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307091034.369AYt4l056722>